cz

cz#

Full path: iqm.pulse.gates.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}\]

Functions

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

Round a value to the nearest multiple of granularity.

split_flat_top_part_into_granular_parts(...)

Split a flat-top pulse into three consecutive parts (rise, flat, and fall) to save waveform memory.

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

Base class for flux pulse gate implementations that have a flux pulse for at most one locus component.

FluxPulseGateBase

Discrete arity-2 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 which uses a 3-part pulse sequence (cosine rise, constant, cosine fall).

FluxPulseGate_TGSS_CRF

CZ gate using a TGSS 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.

TripleFluxPulseGate

Base class for flux pulse gate implementations that have flux pulses for both locus components.

TripleFluxPulseGate_CRF_CRF_CRF

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

TripleFluxPulseGate_Slepian_CRF_CRF

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

Inheritance

Inheritance diagram of iqm.pulse.gates.cz