Ask in three different mode bases
The basis asks whether the photon occupies mode zero or one. The basis uses their equal in-phase and opposite-phase sums. The basis first gives the second mode a quarter-turn phase. The latter measurements convert off-diagonal coherence into countable probability differences.
Each basis has two exclusive outcomes. Subtract negative counts from positive counts and divide by their total. The resulting three averages form a Bloch vector, a set of coordinates for a two-mode density matrix.
Build the matrix from count ratios
Let and denote the saved counts along direction . Reconstruction uses these integers and trial totals. Reading the simulator’s hidden state is not reconstruction.
Finite sampling can put the estimated vector outside the unit ball, producing a negative eigenvalue. The teaching experiment radially shortens such a vector to the boundary. This restores positivity but introduces boundary bias, especially near pure states. Experimental analysis often uses constrained likelihood with calibrated detection effects.
Reading: A. Bhattacharjee et al. · L. Serino et al.
Work one example and reserve another question
Measure each basis a thousand times. Suppose positive counts in the three directions are eight hundred, five hundred and five hundred. The Bloch vector has first component 0.6 and the other two zero. The diagonal matrix entries are one half, the off-diagonal entries 0.3, and purity is 0.68.
Choose the unused direction . The reconstructed state predicts positive-outcome probability about 0.673. Independently collect its outcomes. These holdout counts must stay outside the reconstruction; feeding them back would remove their role as a new prediction test.
Let records leave the live controls
Save source settings, measurement bases, trial totals, seed, counts and model version with an acquisition. A seed makes synthetic sampling reproducible. Real experiments also need times, calibration and background. Changing controls must leave an old record tied to its original conditions.
A holdout checks compatibility within the chosen model and measurements. A common phase-calibration error can bias training and holdout together. Independent instrumentation, a wider scan or a renewed detector calibration can address that possibility.