Skip to content

bloqade.squin.stdlib.simple.gate.shift

← Module overview

functionshiftsource

bloqade.squin.stdlib.simple.gate.shift

def shift(angle: float, qubit: Qubit) -> None

Apply a phase shift to the |1> state of a qubit. Args: angle (float): Phase shift angle in radians. qubit (Qubit): Target qubit.

Parameters

NameTypeDescription
anglefloat
qubitQubit
source