The dealer prepares an n-qubit GHZ state and sends one qubit to each of the n parties:
|GHZ_nβ© = (|00...0β© + |11...1β©) / β2
This state is a +1 eigenstate of the all-X stabilizer XβXβ...βX (n factors). To encode a secret bit s, the dealer applies a Pauli-Z to one qubit before sending it, which flips the stabilizer's eigenvalue:
X^βn |GHZ_nβ© = (+1)|GHZ_nβ© (s = 0)
X^βn (Z_1|GHZ_nβ©) = (β1)(Z_1|GHZ_nβ©) (s = 1)
If every party measures their qubit in the X basis and
multiplies the Β±1 outcomes together:
o_1 Β· o_2 Β· ... Β· o_n = (β1)^s (exact, every round)
Individually, each o_i is a uniformly random Β±1 β the marginal distribution of any proper subset of parties carries zero information about s. Only when all n outcomes are multiplied together does the secret bit fall out exactly. That is the whole point of secret sharing: the "alliance" of all shareholders can recover the secret, but any smaller coalition sees pure noise.
A second use of the same GHZ state catches cheating. In occasional "check" rounds every party measures in the Z basis instead. An undisturbed GHZ state always yields all-equal Z outcomes (000...0 or 111...1). A dishonest party β or an eavesdropper doing intercept-resend on one qubit β measures that qubit in a random basis and resends a fresh state, which decorrelates its Z outcome from the rest about half the time. The check-round pass rate is exactly the disturbance test real quantum secret-sharing and QKD protocols (e.g. HilleryβBuΕΎekβBerthiaume) use to bound how much information a spy could have learned.
- Parties slider β how many shareholders split the secret (n = 3β6 qubits in the GHZ state).
- Secret = 0/1 β the dealer's bit, set before running a round.
- Dishonest party β toggles an intercept-resend attack on the last party's qubit.
- Run one round β samples one real measurement round (mostly X-basis, occasionally a Z-basis security check) and animates the GHZ qubits flying out.
- Combine all shares β takes every X-round product recorded so far and majority-votes the recovered secret bit, exactly as the honest alliance would after pooling their measurement logs.