iqm.qiskit_iqm.iqm_circuit.IQMCircuit

iqm.qiskit_iqm.iqm_circuit.IQMCircuit#

class iqm.qiskit_iqm.iqm_circuit.IQMCircuit(*regs, name=None, global_phase=0, metadata=None)#

Bases: QuantumCircuit

Extends the QuantumCircuit class, adding a shortcut for applying the MOVE gate.

Attributes

Methods

move(qubit, resonator)

Applies the MOVE gate to the circuit.

Parameters:
  • regs (Register | int | Sequence[Bit]) –

  • name (str | None) –

  • global_phase (ParameterValueType) –

  • metadata (dict | None) –

move(qubit, resonator)#

Applies the MOVE gate to the circuit.

Note: at this point the circuit layout is only guaranteed to work if the order of the qubit and the resonator is correct (qubit first, resonator second).

Parameters:
  • qubit (int) – the logical index of the qubit

  • resonator (int) – the logical index of the resonator