qlauncher.routines.qiskit.backends.qiskit_backend#
Base backend class for Qiskit routines.
Summary#
Classes:
Base class for backends compatible with qiskit. |
Reference#
- class qlauncher.routines.qiskit.backends.qiskit_backend.QiskitBackend(name: Literal['local_simulator', 'backendv1v2'] | str = 'local_simulator', options: OptionsV2 | None = None, backendv1v2: BackendV1 | BackendV2 | None = None, auto_transpile_level: Literal[0, 1, 2, 3] | None = None, error_mitigation_strategy: CircuitExecutionMethod | None = None)[source]#
Bases:
GateCircuitBackend[QuantumCircuit]Base class for backends compatible with qiskit.
- name#
The name of the backend.
- Type:
str
- options#
The options for the backend. Defaults to None.
- Type:
Options | None, optional
- backendv1v2#
Predefined backend to use with name ‘backendv1v2’. Defaults to None.
- Type:
BackendV1 | BackendV2 | None, optional
- sampler#
The sampler used for sampling.
- Type:
BaseSamplerV2
- estimator#
The estimator used for estimation.
- Type:
BaseEstimatorV2
- basis_gates: list[str] = ['x', 'y', 'z', 'cx', 'h', 'rx', 'ry', 'rz', 'u']#
- property samplerV1: Sampler#
- compatible_circuit#
alias of
QuantumCircuit