CircuitOperation#
- class iqm.pulse.builder.CircuitOperation(name, locus, args=<factory>, implementation=None)#
Bases:
object
Specific quantum operation applied on a specific part of the QPU, e.g. in a quantum circuit.
Module:
iqm.pulse.builder
Attributes
name of the implementation
name of the quantum operation
names of the information-bearing QPU components (qubits, computational resonators...) the operation acts on
arguments for the operation
Methods
Validate the operation against a table of operation definitions.
- Parameters:
- locus: tuple[str, ...]#
names of the information-bearing QPU components (qubits, computational resonators…) the operation acts on
- validate(op_table)#
Validate the operation against a table of operation definitions.
- Parameters:
op_table (dict[str, QuantumOp]) – table containing allowed quantum operations
- Raises:
ValueError – operation is not valid
- Return type:
None