iqm.cpc.interface.compiler.Circuit

iqm.cpc.interface.compiler.Circuit#

class iqm.cpc.interface.compiler.Circuit(name, instructions)#

Bases: object

Quantum circuit to be executed.

Attributes

name

name of the circuit

instructions

operations comprising the circuit

Methods

__eq__(other)

Return self==value.

__repr__()

Return repr(self).

Parameters:
  • name (str) –

  • instructions (tuple[CircuitOperation, ...]) –

name: str#

name of the circuit

instructions: tuple[CircuitOperation, ...]#

operations comprising the circuit