These problems practise reading off stabilizer groups, the Fourier identities behind Bell difference sampling, the counting argument that makes order copies necessary, and what Bell difference sampling sees after one non-Clifford gate.
Problem 1
Problem 9.1 (Check matrices and the shifted coset).
Write a check matrix of the GHZ state with signs, verify the isotropy condition , and list the eight unsigned labels of as Pauli strings.
Show that is a stabilizer state by finding a Clifford gate that maps the GHZ state to it, and give its generators with signs.
Find with for the state of part 2, and list the coset on which Bell samples of are uniform (Theorem 9.7). Does it contain the identity?
Solution
The GHZ state is fixed by , and , all with sign . With rows ,
Here has first row and zeros elsewhere, and is its transpose, so the sum vanishes. The group is
for example .
2. The phase gate on qubit 1 maps to . Conjugation by maps and fixes , so the generators are , , .
3. Complex conjugation flips the sign of a generator with an odd number of ‘s, here . We need that anticommutes with and commutes with and : works, and indeed . The unsigned group of and the coset obtained by adding are
It does not contain the identity, so Bell samples alone never show ; differences of samples do.
Problem 2
Problem 9.2 (Fourier identities for the characteristic distribution).
Let be a pure state on qubits, its characteristic distribution and its Bell difference distribution (Theorem 9.12).
Show that for every , and that .
Show that , with equality if and only if is a stabilizer state.
Show that . Is the identity label more or less likely under Bell difference sampling for a non-stabilizer state than for a stabilizer state?
Show that for every subspace , and deduce that for a stabilizer state.
Solution
, so , with equality for .
Write . Then . Equality holds iff wherever , that is, iff every label in the support has . Each such label has , and the weights sum to one, so the support has exactly elements: and is a stabilizer state. Conversely, a stabilizer state has on labels, and the sum is .
Put in the Fourier form of Theorem 9.12; every sign is . By part 2, , with equality exactly for stabilizer states: the identity is less likely for non-stabilizer states. For the state of Example 9.20, instead of .
Sum the Fourier form of over and exchange the sums. The character is trivial on exactly when ; otherwise it takes each value on half of . So . For a stabilizer state take : then .
Problem 3
Problem 9.3 (Order n copies are necessary).
Let be the number of -qubit stabilizer states (Remark 9.5).
Show that .
A learner receives copies of a uniformly random stabilizer state and names the state correctly with probability at least . Use Holevo’s bound and Fano’s inequality to show .
For and , compare this bound with the number of copies that Theorem 9.9 uses when , which fails with probability at most .
Solution
, so .
Let be the uniformly random state and the learner’s guess. The state lives in dimension , so by Holevo’s bound the mutual information is . By Fano’s inequality, , so . Combining with part 1, ; divide by .
The bound gives , so at least copies. The learner with uses copies, about nine times more, and achieves a much smaller failure probability. Both grow linearly in , so the learner is optimal up to a constant factor.
Problem 4
Problem 9.4 (Bell difference sampling after one T gate).
The snippet applies a gate to qubit 1 of the three-qubit GHZ state, computes for all 64 labels, the characteristic distribution , and the Bell difference distribution of Theorem 9.12.
import numpy as npX, Z = np.array([[0, 1], [1, 0]]), np.diag([1.0, -1.0])P1 = [[np.eye(2), Z], [X, 1j * X @ Z]] # P1[x][z]: I, Z, X, Yn, d = 3, 8def pauli(k): # label index k = 8 x + z x, z, out = k >> n, k % d, np.ones((1, 1)) for j in range(n - 1, -1, -1): # qubit 1 first out = np.kron(out, P1[(x >> j) & 1][(z >> j) & 1]) return outghz = np.zeros(d, complex)ghz[[0, d - 1]] = 1 / np.sqrt(2)T1 = np.kron(np.diag([1, np.exp(1j * np.pi / 4)]), np.eye(4))psi = T1 @ ghz # T gate on qubit 1c = np.array([(psi.conj() @ pauli(k) @ psi).real for k in range(d * d)])p = c**2 / d # characteristic distributionidx = np.arange(d * d)q = np.array([p @ p[idx ^ x] for x in idx]) # Bell difference distributionprint(np.sum(np.isclose(abs(c), 1)), np.sum(q > 1e-12))print(round(d * np.sum(p**2), 4), round(32 * q.max(), 4))
The snippet prints and on the first line. Explain without the computer which four Paulis have , and why the stabilizer dimension of is .
Compute by hand for the labels with , and deduce the full characteristic distribution and the value on the second line.
Show that is supported on exactly the labels of , where is the subspace of part 1, and compute its values. The second line prints .
Compute the acceptance probability of the stabilizer test and the guarantee of Theorem 9.14, and compare with the fidelity of with the GHZ state.
Solution
commutes with Paulis that act on qubit 1 as or . Of the GHZ stabilizers, do, and do not. The first four still fix , so for them. They form an isotropic subspace of dimension , and no larger isotropic subspace of stabilizers exists, since by part 2 every other label has . The stabilizer dimension is : one gate cost one dimension.
Write , so . A -type Pauli gives : for even (part 1) and for odd. For , and swaps and , so . For even this is , and for odd it is . All other map and to states orthogonal to both, so . Hence on the four labels of , on the eight labels with , and elsewhere, so
Let (four labels, weight ), the eight labels with (weight ), and the four -type labels of odd weight. Then gives: for , ; for , only contributes, ; for , and contribute each, in total. Elsewhere . The support has elements, the values sum to , and the maximum is . The labels that commute with and are the -type labels and the labels with , so the support is all of , as Theorem 9.12 allows. The peak on is what a learner uses to find .