cz

cz#

Two-qubit controlled-Z (CZ) gate.

The CZ gate flips the relative phase of the \(|11⟩\) state. It can be represented by the unitary matrix

\[\begin{split}\text{CZ} = \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & -1 \end{pmatrix}\end{split}\]

Full path: iqm.pulse.gates.cz

Functions

round_to_granularity(value, granularity[, ...])

Round a value to the nearest multiple of granularity.

split_flat_top_part_into_granular_parts(...)

To save waveform memory, a (long) flat-top pulse, which is defined by its duration, full_width and rise_time, is divided into three consecutive parts (rise, flat, and fall), all of which conform to the granularity of the device.

Classes

CZ_CRF

CZ gate using a CosineRiseFall flux pulse on the coupler.

CZ_CRF_ACStarkCRF

Controlled-Z two-qubit gate.

CZ_GaussianSmoothedSquare

CZ gate using a GaussianSmoothedSquare flux pulse on the coupler.

CZ_Slepian

CZ gate using a Slepian flux pulse on the coupler.

CZ_Slepian_ACStarkCRF

Controlled-Z two-qubit gate.

CZ_Slepian_CRF

CZ gate using a Slepian flux pulse on the coupler and a CosineRiseFall flux pulse on the qubit.

CZ_TruncatedGaussianSmoothedSquare

CZ gate using a TruncatedGaussianSmoothedSquare flux pulse on the coupler.

CouplerFluxPulseQubitACStarkPulseGate

Base class for CZ gates with coupler flux pulse and a qubit AC Stark pulse.

FluxPulseGate

Discrete two locus component gate implemented using flux pulses, virtual RZs, and the interaction mediated by the coupler.

FluxPulseGate_CRF_CRF

CZ gate using a CosineRiseFall flux pulse on the coupler and on the qubit.

FluxPulseGate_SmoothConstant

Flux pulse gate implementation realized as a 3-part pulse sequence, consisting of |cosine rise|Constant|cosine fall|.

FluxPulseGate_TGSS_CRF

CZ gate using a TruncatedGaussianSmoothedSquare flux pulse on the coupler and a CosineRiseFall flux pulse on the qubit.

FluxPulse_SmoothConstant_SmoothConstant

Constant flux pulse on both qubit and coupler with smooth rise/fall.

FluxPulse_SmoothConstant_coupler

Constant flux pulse on coupler with smooth rise/fall.

FluxPulse_SmoothConstant_qubit

Constant flux pulse on qubit with smooth rise/fall

Inheritance

Inheritance diagram of iqm.pulse.gates.cz