qib.backend.processor_configuration.ProcessorConfiguration¶
- class qib.backend.processor_configuration.ProcessorConfiguration(backend_name: str, backend_version: str, basis_gates: Sequence[str], conditional: bool, coupling_map: Sequence[Sequence[int]], gates: Sequence[GateProperties], local: bool, max_shots: int, meas_level: int, memory: bool, n_qubits: int, open_pulse: bool, query_frequency: float, simulator: bool)[source]¶
Bases:
objectGeneric class for quantum processor configuration.
The configuration of a quantum processor includes information about the processor itself, such as the number of qubits, the available gates, the coupling map, etc.
Methods
Generate a fully-coupled coupling map for a given number of qubits.
Get a gate properties by its name.
- static generate_map(n_qubits: int) Sequence[Sequence[int]][source]¶
Generate a fully-coupled coupling map for a given number of qubits.
- get_gate_by_name(gate_name: str) GateProperties[source]¶
Get a gate properties by its name.