Immediately before the final Hadamard, the state isThe outcome-one component after that Hadamard is . Thus, with ,
For every product vector,Product vectors span the two-register state space, so the single gate equals parallel application of to the first register and to the second. Unitarity guarantees that both descriptions are valid quantum circuits.
Both and are unitary and Hermitian, so their expectations are real. Run the real-part Hadamard test twice, once with controlled and once with controlled . If the respective ancilla outcome-one probabilities are and , thenThe identity in part (b) implements each controlled tensor product by gates on its two target wires with the common control. By linearity,
Articles by others on the same topic
There are currently no matching articles.