Skip to content

bloqade.native.stdlib.broadcast.shift

← Module overview

functionshiftsource

bloqade.native.stdlib.broadcast.shift

def shift(angle: float, qubits: ilist.IList[qubit.Qubit, Any])

Apply a phase shift to the |1> state on a group of qubits.

Parameters

NameTypeDescription
anglefloatPhase shift angle in radians.
qubitsilist.IList[qubit.Qubit, Any]Target qubits.
source