utils

utils#

Full path: iqm.pulse.utils

Utility functions.

Module Attributes

TOLERANCE

Tolerance for floating point artefacts in waveform computations.

Functions

circuit_to_gate_implementation(circuit, ...)

Wrap a circuit to a single GateImplementation that can then be registered as a gate.

fuse_iq_pulses(iq_pulses)

Fuse multiple IQPulses into one by concatenating the sampled waveforms.

get_other_colour(station_properties, qubit)

Get the set of qubits that are in the other colour than the given qubit.

modulate_iq(pulse[, assert_ranges])

Sampled baseband waveform of an IQ pulse.

phase_transformation([psi_1, psi_2])

Implement an (RZ, PRX, RZ) gate sequence by modifying the parameters of the IQ pulse implementing the PRX.