Skip to content

bloqade.native.stdlib.simple.shift

← Module overview

functionshiftsource

bloqade.native.stdlib.simple.shift

def shift(angle: float, qubit: qubit.Qubit)

Apply a phase shift on the |1> state of a single qubit.

Parameters

NameTypeDescription
anglefloatShift angle in radians.
qubitqubit.QubitThe qubit to apply the shift to.
source