Skip to content

bloqade.native.stdlib.simple.phased_xz

← Module overview

functionphased_xzsource

bloqade.native.stdlib.simple.phased_xz

Signature
def phased_xz(x_rad: float, z_rad: float, axis_phase_rad: float, qubit: qubit.Qubit)

Apply a PhasedXZ gate on a single qubit.

Parameters

NameTypeDescription
x_radfloatX rotation angle in radians.
z_radfloatZ rotation angle in radians.
axis_phase_radfloatAxis phase in radians.
qubitqubit.QubitThe qubit to apply the gate to.
source