autoqasm.program.gate_calibrations module

class autoqasm.program.gate_calibrations.GateCalibration(gate_function: Callable, qubits: Iterable[int | str | Qubit | _ClassicalVar | OQPyExpression | Qubit], angles: Iterable[float], program: Program)[source]

Bases: object

Definition of a gate calibration, including pulse instructions and the qubits, angles and the gate it implements.

Parameters:
  • gate_function (Callable) – The gate function which calibration is defined.

  • qubits (Iterable[Qubit]) – The qubits on which the gate calibration is defined.

  • angles (Iterable[float]) – The angles at which the gate calibration is defined.

  • program (Program) – Calibration instructions as an AutoQASM program.