Skip to main contentIBM Quantum Documentation

PulseBackendConfiguration

qiskit.providers.models.PulseBackendConfiguration(backend_name, backend_version, n_qubits, basis_gates, gates, local, simulator, conditional, open_pulse, memory, max_shots, coupling_map, n_uchannels, u_channel_lo, meas_levels, qubit_lo_range, meas_lo_range, dt, dtm, rep_times, meas_kernels, discriminators, hamiltonian=None, channel_bandwidth=None, acquisition_latency=None, conditional_latency=None, meas_map=None, max_experiments=None, sample_name=None, n_registers=None, register_map=None, configurable=None, credits_required=None, online_date=None, display_name=None, description=None, tags=None, channels=None, **kwargs) GitHub(opens in a new tab)

Bases: QasmBackendConfiguration

Static configuration state for an OpenPulse enabled backend. This contains information about the set up of the device which can be useful for building Pulse programs.

Initialize a backend configuration that contains all the extra configuration that is made available for OpenPulse backends.

Parameters


Attributes

control_channels

Return the control channels

num_qubits

Returns the number of qubits.

In future, n_qubits should be replaced in favor of num_qubits for consistent use throughout Qiskit. Until this is properly refactored, this property serves as intermediate solution.

sample_rate

Sample rate of the signal channels in Hz (1/dt).


Methods

acquire

acquire(qubit)

Return the acquisition channel for the given qubit.

Raises

BackendConfigurationError – If the qubit is not a part of the system.

Returns

Qubit measurement acquisition line.

Return type

AcquireChannel

control

control(qubits=None)

Return the secondary drive channel for the given qubit – typically utilized for controlling multiqubit interactions. This channel is derived from other channels.

Parameters

qubits (Iterable(opens in a new tab)[int(opens in a new tab)] | None) – Tuple or list of qubits of the form (control_qubit, target_qubit).

Raises

BackendConfigurationError – If the qubits is not a part of the system or if the backend does not provide channels information in its configuration.

Returns

List of control channels.

Return type

List(opens in a new tab)[ControlChannel]

describe

describe(channel)

Return a basic description of the channel dependency. Derived channels are given weights which describe how their frames are linked to other frames. For instance, the backend could be configured with this setting:

u_channel_lo = [
    [UchannelLO(q=0, scale=1. + 0.j)],
    [UchannelLO(q=0, scale=-1. + 0.j), UchannelLO(q=1, scale=1. + 0.j)]
]

Then, this method can be used as follows:

backend.configuration().describe(ControlChannel(1))
>>> {DriveChannel(0): -1, DriveChannel(1): 1}

Parameters

channel (ControlChannel) – The derived channel to describe.

Raises

BackendConfigurationError – If channel is not a ControlChannel.

Returns

Control channel derivations.

Return type

Dict(opens in a new tab)[DriveChannel, complex(opens in a new tab)]

drive

drive(qubit)

Return the drive channel for the given qubit.

Raises

BackendConfigurationError – If the qubit is not a part of the system.

Returns

Qubit drive channel.

Return type

DriveChannel

from_dict

classmethod from_dict(data)

Create a new GateConfig object from a dictionary.

Parameters

data (dict(opens in a new tab)) – A dictionary representing the GateConfig to create. It will be in the same format as output by to_dict().

Returns

The GateConfig from the input dictionary.

Return type

GateConfig

get_channel_qubits

get_channel_qubits(channel)

Return a list of indices for qubits which are operated on directly by the given channel.

Raises

BackendConfigurationError – If channel is not a found or if the backend does not provide channels information in its configuration.

Returns

List of qubits operated on my the given channel.

Return type

List(opens in a new tab)[int(opens in a new tab)]

get_qubit_channels

get_qubit_channels(qubit)

Return a list of channels which operate on the given qubit.

Raises

BackendConfigurationError – If qubit is not a found or if the backend does not provide channels information in its configuration.

Returns

List of Channels operated on my the given qubit.

Return type

List(opens in a new tab)[Channel]

measure

measure(qubit)

Return the measure stimulus channel for the given qubit.

Raises

BackendConfigurationError – If the qubit is not a part of the system.

Returns

Qubit measurement stimulus line.

Return type

MeasureChannel

to_dict

to_dict()

Return a dictionary format representation of the GateConfig.

Returns

The dictionary form of the GateConfig.

Return type

dict(opens in a new tab)

Was this page helpful?