Skip to content

bloqade.squin.stdlib.simple.gate.phased_xz

← Module overview

functionphased_xzsource

bloqade.squin.stdlib.simple.gate.phased_xz

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

Apply a PhasedXZ gate to a qubit.

Parameters

NameTypeDescription
x_radfloatX rotation angle in radians.
z_radfloatZ rotation angle in radians.
axis_phase_radfloatAxis phase (XY plane) in radians.
qubitQubitTarget qubit.
source