Ancilla-assisted Pauli measurement

ID: ancilla-assisted-pauli-measurement

Prepare an ancilla in , use it to control a Hermitian Pauli operator , apply a Hadamard gate, and measure the ancilla. Outcome applies the projector to the data register.

New to topics? Read the docs here!