Controlled-Z update in the binary phase representation Created 2026-10-06 Updated 2026-10-14
Conjugation by a Controlled-Z gate leaves the bits unchanged and updates the displayed bits and phase, using the old bits. The phase occurs when the extra from one line is moved past on the other line. These constant-size updates support Heisenberg propagation of a Pauli observable through a Clifford circuit.
Write . Instead of storing the output vector, use Heisenberg propagation of a Pauli observable through a Clifford circuit:
Initialize the compact Pauli group representation at and conjugate successively by , in that order, using . This gives
with local-update work and storage. The resulting Pauli operator is Hermitian, so we can express it as , where and each is or . Any factors in the representation from part (i) are converted using , with their phases absorbed into .
The product state input now makes the expectation factorize:
Each factor is a two-by-two matrix calculation. More explicitly, for , the three nontrivial expectations are , , and for , respectively.
Thus this single-output process has a strong classical simulation in polynomial time, even when the individual input states are not stabilizer states. As usual, the given state identities must provide efficiently computable amplitudes. With finite-precision inputs, each factor can be evaluated to error and its approximation clipped to to obtain the final expectation to error at most , because all factors lie in . The required extra precision is only bits. Exact evaluation applies when the input descriptions support exact arithmetic. This avoids silently assigning a finite exact-computation cost to arbitrary unspecified real numbers.
Once the probabilities are known, a classical randomized computation can reproduce this measured bit. The argument concerns the specified one-qubit output; it does not assert that every joint measurement distribution for arbitrary product inputs can be simulated by this same single-observable calculation.
For the first output qubit,
A Clifford circuit maps the Pauli observable under conjugation to a tensor-product Pauli operator , found by propagating it backward through the circuit in polynomial time. Since the input is a product state,
Each factor is efficiently computable, so both one-bit output probabilities are strongly simulatable. This is Heisenberg propagation of a Pauli observable through a Clifford circuit.
Suppose output qubit is measured. Its probability of outcome zero is
Because is a Clifford operation, the Pauli group is preserved under conjugation. Propagating backward through the gates therefore produces, including its sign, a tensor-product Pauli
The input is a product state, so the expectation factors:
Each one-qubit factor follows directly from the classical description of , and conjugating a Pauli through each Clifford gate takes constant classical work. Hence , and , are computable in polynomial time. This is Heisenberg propagation of a Pauli observable through a Clifford circuit.