Back to Module 9 notes

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).
  1. Write a check matrix of the GHZ state with signs, verify the isotropy condition , and list the eight unsigned labels of as Pauli strings.
  2. Show that is a stabilizer state by finding a Clifford gate that maps the GHZ state to it, and give its generators with signs.
  3. 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?

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).

  1. Show that for every , and that .
  2. Show that , with equality if and only if is a stabilizer state.
  3. Show that . Is the identity label more or less likely under Bell difference sampling for a non-stabilizer state than for a stabilizer state?
  4. Show that for every subspace , and deduce that for a stabilizer state.

Problem 3

Problem 9.3 (Order n copies are necessary).

Let be the number of -qubit stabilizer states (Remark 9.5).

  1. Show that .
  2. 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 .
  3. For and , compare this bound with the number of copies that Theorem 9.9 uses when , which fails with probability at most .

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 np
 
X, 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, Y
n, d = 3, 8
 
def 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 out
 
ghz = 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 1
c = np.array([(psi.conj() @ pauli(k) @ psi).real for k in range(d * d)])
p = c**2 / d                                 # characteristic distribution
idx = np.arange(d * d)
q = np.array([p @ p[idx ^ x] for x in idx])  # Bell difference distribution
print(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))
  1. The snippet prints and on the first line. Explain without the computer which four Paulis have , and why the stabilizer dimension of is .
  2. Compute by hand for the labels with , and deduce the full characteristic distribution and the value on the second line.
  3. Show that is supported on exactly the labels of , where is the subspace of part 1, and compute its values. The second line prints .
  4. 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.