bloqade.native.stdlib.simple.shift
← Module overview
function
source
functionshift¶source
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
| Name | Type | Description |
|---|---|---|
angle | float | Shift angle in radians. |
qubit | qubit.Qubit | The qubit to apply the shift to. |