Skip to main contentIBM Quantum Documentation

QasmBackendConfiguration

qiskit.providers.models.QasmBackendConfiguration(backend_name, backend_version, n_qubits, basis_gates, gates, local, simulator, conditional, open_pulse, memory, max_shots, coupling_map, supported_instructions=None, dynamic_reprate_enabled=False, rep_delay_range=None, default_rep_delay=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, dt=None, dtm=None, processor_type=None, parametric_pulses=None, **kwargs)GitHub(opens in a new tab)

Bases: object(opens in a new tab)

Class representing an OpenQASM 2.0 Backend Configuration.

backend_name

backend name.

backend_version

backend version in the form X.Y.Z.

n_qubits

number of qubits.

basis_gates

list of basis gates names on the backend.

gates

list of basis gates on the backend.

local

backend is local or remote.

simulator

backend is a simulator.

conditional

backend supports conditional operations.

open_pulse

backend supports open pulse.

memory

backend supports memory.

max_shots

maximum number of shots supported.

Initialize a QasmBackendConfiguration Object

Parameters


Attributes

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.


Methods

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

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?