pyqonvert.qubit_resonator

Functions for devices that include a computational resonator.

Functions

resonator_free_to_deneb_circuit(circuit, ...)

Compilation function that converts a circuit for a ResonatorFreeDevice into a circuit that can be run on the IQM Deneb device.

pyqonvert.qubit_resonator.resonator_free_to_deneb_circuit(circuit, resonator_free_device)

Compilation function that converts a circuit for a ResonatorFreeDevice into a circuit that can be run on the IQM Deneb device.

In the compilation, all ControlledPauliZ gates between qubits are replaced by a combination of SingleExcitationStore, CZQubitResonator, SingleExcitationLoad in order to use the central resonator of Deneb to implement two-qubit gates.

Parameters:
  • circuit (Circuit)

  • resonator_free_device (ResonatorFreeDevice) -- [roqoqo-iqm::devices::ResonatorFreeDevice] to check qubit connectivity.

Returns:

Circuit - The compiled circuit for the Deneb device. InputError - Invalid input circuit.