bloqade.squin.stdlib.simple.gate.shift
← Module overview
function
source
functionshift¶source
bloqade.squin.stdlib.simple.gate.shift
def shift(angle: float, qubit: Qubit) -> NoneApply a phase shift to the |1> state of a qubit. Args: angle (float): Phase shift angle in radians. qubit (Qubit): Target qubit.
Parameters
| Name | Type | Description |
|---|---|---|
angle | float | |
qubit | Qubit |