magiqbit

Guides / From a rotation angle to a probability

Quantum machine learning research

From a rotation angle to a probability

Lab notes

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

Continue reading

Research notebook

A hybrid workflow starts with a question

Quantum machine learning studies ways quantum information processing and learning methods can interact. A useful research question identifies the task, available data, and the role a quantum component is intended to play.

Read the guide
Lab notes

From a rotation angle to a probability

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.

Read the guide
Research practice

Design a comparison that can be challenged

A research claim needs a well-specified task, relevant baselines, and a resource accounting that matches the question. Comparing unlike settings can create an apparent benefit that disappears under closer inspection.

Read the guide