Phase Lab

Interactive quantum machine learning lab

Quantum features meet classical learning.

Adjust a parameterized circuit, generate synthetic phase data, and watch an illustrative classifier learn what separates two regimes.

Model, not measurement. This lab uses synthetic data and transparent heuristic equations. It does not reproduce the referenced paper, execute a quantum circuit, or report hardware results.

Hybrid phase classifier

Ready with synthetic seed 97
Assumption presets

Data to decision pipeline

4 qubits · 3 layers · hybrid
Phase lattice 44 / 36
Quantum map 36 gates
Classical head 12 hidden
Epoch0illustrative steps
Validation accuracy52.0%near chance
Cross-entropy loss0.692synthetic objective
Effective coherence82%heuristic signal
Trainable parameters109circuit + dense head
Decision confidence51%held-out mean

Illustrative learning curves

accuracy and normalized loss

Confusion matrix

held-out synthetic set

At initialization, predictions are close to chance. Train the illustrative optimizer to expose the tradeoff between feature capacity and noise.

What earns the accuracy?

Ablations isolate which ingredients help under the lab's assumptions. They are comparative teaching aids, not claims about the referenced research.

Ablation studio

Compare four variants using the same synthetic dataset.

80

Validation accuracy

same split, illustrative score

One prediction, unpacked.

Follow four Z expectation values through a small classical head. The arithmetic is simplified so the role of each stage stays inspectable.

Worked example

Step 1 · Quantum readout

The circuit maps a synthetic sample into four bounded expectation values. Each number lies between -1 and +1.

Z readouts
Hidden activations

Waiting for step 2

Phase probability

Waiting for step 3

Not evaluated

Check the mental model.

Five questions distinguish quantum feature extraction, classical learning, device noise, and the limits of this simulation.

Knowledge check

0 of 5 answered
Score0 / 5
Enjoy this tool? Build your own with Super