RY
Move the likelihood of 0 and 1 directly
- What it changes
- The share of amplitude on the 0 and 1 sides
- What it does not change immediately
- The ideal total probability of 1
- Example
- Apply RY(π/2) to |0>, and 0 and 1 each become 50% likely.
- OpenQASM
ry(pi / 2) q;- Later use
- Use it to prepare an input or trial probability from an angle.