Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

BackendData

class BackendData(backend)[source]

Class for providing joint interface for accessing backend data

Inits the backend and verifies version

Attributes

acquire_alignment

Returns the backend’s time constraint acquire alignment

Deprecated since version 0.8: The property qiskit_experiments.framework.backend_data.BackendData.acquire_alignment is deprecated as of qiskit-experiments 0.8. It will be removed no earlier than 3 months after the release date. Due to the deprecation of Qiskit Pulse, utility functions involving pulse like this one have been deprecated.

coupling_map

Returns the backend’s coupling map

drive_freqs

Returns the backend’s qubit drive frequencies

Deprecated since version 0.8: The property qiskit_experiments.framework.backend_data.BackendData.drive_freqs is deprecated as of qiskit-experiments 0.8. It will be removed no earlier than 3 months after the release date. Due to the deprecation of Qiskit Pulse, utility functions involving pulse like this one have been deprecated.

dt

Returns the backend’s input time resolution

granularity

Returns the backend’s time constraint granularity

max_circuits

Returns the backend’s max experiments value

meas_freqs

Returns the backend’s measurement stimulus frequencies.

Note

The qiskit base classes do not provide this information as a standard backend property, but it is available from some providers in the data returned by the Backend.defaults() method.

Deprecated since version 0.8: The property qiskit_experiments.framework.backend_data.BackendData.meas_freqs is deprecated as of qiskit-experiments 0.8. It will be removed no earlier than 3 months after the release date. Due to the deprecation of Qiskit Pulse, utility functions involving pulse like this one have been deprecated.

min_length

Returns the backend’s time constraint minimum duration

Deprecated since version 0.8: The property qiskit_experiments.framework.backend_data.BackendData.min_length is deprecated as of qiskit-experiments 0.8. It will be removed no earlier than 3 months after the release date. Due to the deprecation of Qiskit Pulse, utility functions involving pulse like this one have been deprecated.

name

Returns the backend name

num_qubits

Returns the backend’s number of qubits

provider

Returns the backend’s provider

pulse_alignment

Returns the backend’s time constraint pulse alignment

Deprecated since version 0.8: The property qiskit_experiments.framework.backend_data.BackendData.pulse_alignment is deprecated as of qiskit-experiments 0.8. It will be removed no earlier than 3 months after the release date. Due to the deprecation of Qiskit Pulse, utility functions involving pulse like this one have been deprecated.

version

Returns the backend’s version

Methods

acquire_channel(qubit)[source]

Returns the backend acquire channel for the given qubit

Deprecated since version 0.8: The method qiskit_experiments.framework.backend_data.BackendData.acquire_channel() is deprecated as of qiskit-experiments 0.8. It will be removed no earlier than 3 months after the release date. Due to the deprecation of Qiskit Pulse, utility functions involving pulse like this one have been deprecated.

control_channel(qubits)[source]

Returns the backend control channel for the given qubits

Deprecated since version 0.8: The method qiskit_experiments.framework.backend_data.BackendData.control_channel() is deprecated as of qiskit-experiments 0.8. It will be removed no earlier than 3 months after the release date. Due to the deprecation of Qiskit Pulse, utility functions involving pulse like this one have been deprecated.

drive_channel(qubit)[source]

Returns the backend drive channel for the given qubit

Deprecated since version 0.8: The method qiskit_experiments.framework.backend_data.BackendData.drive_channel() is deprecated as of qiskit-experiments 0.8. It will be removed no earlier than 3 months after the release date. Due to the deprecation of Qiskit Pulse, utility functions involving pulse like this one have been deprecated.

measure_channel(qubit)[source]

Returns the backend measure channel for the given qubit

Deprecated since version 0.8: The method qiskit_experiments.framework.backend_data.BackendData.measure_channel() is deprecated as of qiskit-experiments 0.8. It will be removed no earlier than 3 months after the release date. Due to the deprecation of Qiskit Pulse, utility functions involving pulse like this one have been deprecated.

qubit_t1(qubit)[source]

Return the T1 value for a qubit from the backend properties

Parameters:

qubit (int) – the qubit index to return T1 for

Returns:

The T1 value

Return type:

float