Backward Pauli updates for Hadamard and phase gates

ID: backward-pauli-updates-for-hadamard-and-phase-gates

For the binary phase representation of a Pauli string, these local rules implement for the Hadamard gate and the phase gate . In particular , so the phase update differs in sign from forward conjugation. Use the old input bits, and reduce modulo four.

New to topics? Read the docs here!