bloqade.squin.stdlib.simple.gate.phased_xz
← Module overview
function
source
functionphased_xz¶source
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
| Name | Type | Description |
|---|---|---|
x_rad | float | X rotation angle in radians. |
z_rad | float | Z rotation angle in radians. |
axis_phase_rad | float | Axis phase (XY plane) in radians. |
qubit | Qubit | Target qubit. |