Skip to content

Measure

Measurement outcomes and statistics

7/7 passed in 32ms

TestWhat it doesResult
test_bell_correlationBell-pair outcomes are perfectly correlated.✅ pass
test_ghz_statisticsGHZ_3 collapses only to 000 or 111, about 50:50.✅ pass
test_plus_statistics|+> measures 0/1 about 50:50.✅ pass
test_recordMeasurements append to the record in order.✅ pass
test_repeatableMeasuring the same qubit twice agrees.✅ pass
test_x_gives_oneX|0> measures 1.✅ pass
test_zero_deterministicMeasuring |000> gives 0 on every qubit.✅ pass