1.5 - PHASE QPU Instruction
The lecture slides are available here Download here.
In this lecture, I introduce the the PHASE QPU instruction that allows us to manipulate directly the relative phase of a qubit, changing it by some specified angle. The effect of PHASE(θ) is to rotate the circle associated with ∣1⟩ by the angle we specify. The Z, S, and T gates are PHASE(π ), PHASE(π/2), and PHASE(π/4), respectively. Using HAD and PHASE, we can produce some single-qubit quantum states that are so commonly used that they’ve been named ∣+⟩, ∣–⟩, ∣+Y⟩, and ∣–Y⟩.