For an ideal qubit initialized in the zero state, an RY rotation by angle theta gives measurement probabilities cos²(theta/2) for zero and sin²(theta/2) for one. The lab uses this exact classical calculation.
At zero degrees, the one outcome has probability zero. At 180 degrees, it has probability one. At 90 degrees, the two outcomes are equally likely in this idealized setting.
A probability is not a promise about one measurement. Repeated measurements sample outcomes; finite counts fluctuate. Real devices can also introduce noise that this simple model omits.
The lab does not execute a quantum circuit on hardware. It is a visualization of an ideal single-qubit relationship, not a quantum machine-learning model.
Technical reference: IBM Quantum RY gate documentation.
Put the idea to work.
Explore the ideal measurement probabilities of an RY rotation with a classical calculation.
Single-qubit probability lab