iqm.cpc.interface.compiler.Circuit#
- class iqm.cpc.interface.compiler.Circuit(name, instructions)#
Bases:
object
Quantum circuit to be executed.
Attributes
name of the circuit
operations comprising the circuit
Methods
__eq__
(other)Return self==value.
__repr__
()Return repr(self).
- Parameters:
name (str) –
instructions (tuple[CircuitOperation, ...]) –
- instructions: tuple[CircuitOperation, ...]#
operations comprising the circuit