Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 324 3 i Solution Created 2026-10-03 Updated 2026-10-06
Store a tensor-product element of the Pauli group asThe phases of the original single-qubit factors can all be accumulated into . This binary phase representation of a Pauli string uses bits. It retains phases, which must not be dropped when computing probabilities later.
For the conjugation convention in the question, direct multiplication of the two-by-two matrices givesandThese backward Pauli updates for Hadamard and phase gates use , not . On the affected line , the updates areAll phases are reduced modulo four and the updates use the old bits.
For a Controlled-Z gate on lines , its diagonal action givesFor the controlled-Z update in the binary phase representation, conjugation respects products, so these determine the rule for every Pauli operator on those lines. In the chosen ordered convention it isThe phase arises when a newly introduced is moved past . For instance becomes , so this sign matters.
The untouched factors are unchanged. Each Clifford operation therefore needs only a fixed number of local bit updates; reconstructing the requested full list takes time. Put the final phase into the first factor, which is permitted because the single-qubit Pauli group includes all multiples by . The classical cost is polynomial, despite the exponentially large matrix of the operation on the full state space.