Back to Module 2 notes

Conventions: Hermitian , Pauli strings read left to right as qubits .

Problem 1

Problem 2.1 (Pauli arithmetic).

Compute each product as a phase times a Pauli string, and say whether the two factors commute.

Then explain why , and why can never belong to a stabilizer group.

Problem 2

Problem 2.2 (Counting commuting strings).
  1. Prove that for any Pauli string on qubits, exactly of the Pauli strings commute with .
  2. Let be Pauli strings whose binary vectors are independent (no product of a subset is up to phase). Show that the commutation pattern of a uniformly random string with is uniformly distributed over (hint: the pattern is a linear function of the binary vector of the string). Use this to predict how many 3-qubit strings commute with both and , and list them.

Problem 3

Problem 2.3 (Valid generating sets).

For each list decide: (a) do the elements pairwise commute? (b) is in the generated group? (c) are they independent? If the list is a valid stabilizer group, give and .

Problem 4

Problem 2.4 (Stabilizer groups of named states).
  1. Find a stabilizer generator for .
  2. Which two-qubit state is stabilized by ?
  3. Give independent generators and the full group for .
  4. Give four independent generators for , and find the signs of and in its stabilizer group.

Problem 5

Problem 2.5 (The dimension formula).

Let be a stabilizer group on qubits with independent generators.

  1. For signs define . Show that and for .
  2. Show that every has trace . (Hint: repeat the argument of Theorem 2.1, or find a Pauli that maps to .)
  3. Compute for and for .

Problem 6

Problem 2.6 (Counting small stabilizer states).
  1. List all single-qubit stabilizer states and their stabilizer groups. Check that agrees with .
  2. Of the two-qubit stabilizer states, how many are product states and how many are entangled? Explain how to recognize an entangled one from its stabilizer group.

Problem 7

Problem 2.7 (A phase-tracking Pauli multiplier).

Represent a signed Pauli string as with a Hermitian Pauli string and , and store as two bit arrays (, , , ).

  1. Using and , derive a formula for the phase exponent of a product .
  2. Implement it in numpy and test it against stim.PauliString multiplication on random strings.