Four signal states
States are represented as qubits. Same-basis measurement is deterministic; conjugate-basis outcomes are equiprobable.
Q044 · Prepare / sift / reveal
Send four-state signals through a channel with an optional intercept–resend observer. Keep matching bases, reveal a random test subset and inspect a toy parity filter and binary hash. Follow every retained and discarded bit back to the sending record.
SIMULATED TRIALS
Test errors use only the publicly revealed random subset. Pointwise 95% Wilson intervals describe this model’s test probability, not a security bound on the remaining string. Loss is independent of bit and basis.
Public test errors / 95% range
Untested sifted bits
Sent / detected signals
Pairs publicly compare both parities. Mismatched pairs are dropped; matched pairs keep the first bit. Even numbers of errors can survive. A public Toeplitz matrix then compresses each string to half length. That arbitrary length has no entropy or security justification.
Physics tutorial
BackgroundAlice selects a random bit and one of two bases. Bob independently selects a basis. After transmission they publicly compare bases and retain detected matching-basis events.
Why it mattersThe public test consumes part of the sifted record. Postprocessing must account for published information and residual errors, rather than labeling every surviving bit secret.
Start with the essentials
States are represented as qubits. Same-basis measurement is deterministic; conjugate-basis outcomes are equiprobable.
The intercept fraction uses a uniformly random Eve basis followed by resend. Detection is independent; the readout flip is applied at Bob. The formula is a separate reference, never an estimate from the record.
Each sifted trial has an independently preassigned random test flag. Revealing the flag does not resample it. Wilson ranges are pointwise for this IID probability, not finite-key security bounds.
Both parties publish one parity per pair. A disagreement drops both bits. Otherwise only the first bit is retained. Two errors in a pair can remain undetected. An unpaired final bit is discarded.
A reproducible public binary seed defines the matrix. Both strings are hashed to half their surviving length. This arbitrary compression is not derived from an entropy bound and is not certified privacy amplification.
Typical misconceptionLosing signals raises the error rate automatically.
Better mental modelUnder the declared independent loss model it lowers sample size; the expected conditional error rate is unchanged.
Typical misconceptionAny disagreement proves Eve was present.
Better mental modelReadout noise also produces errors. Conversely zero observed errors does not exclude interception in a finite sample.
Typical misconceptionThe final toy hash can encrypt a real message.
Better mental modelNo cryptographic randomness, authenticated channel implementation, finite-key entropy analysis or final equality verification is provided. The full teaching record exposes private values.
Send a clear-channel batch and view the received signals.
What to observe: Noiseless same-basis results agree. Mismatched bases produce random results even without an observer.Advance through matching bases and public tests.
What to observe: Test bits are removed from the candidate string. Increasing the reveal fraction costs more bits but supplies more test data.Intercept every signal, send a fresh batch and reveal tests.
What to observe: The reference sifted error rate is one quarter with no other noise; finite records fluctuate.Advance to the last stage and export the parity/hash audit.
What to observe: Check the parity transcript, the public matrix seed and both output strings. Equal outputs still do not imply secrecy.