Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

1 vote

Removing ancilla qubit from circuit with Hadamard test controlled-Z gate

For special unitaries $U$ you can use the standard decomposition of a controlled-$U$. You can then try to move backward in the circuit the conditioned gate $Z$. According to the deferred measurement ...
Daniele Cuomo's user avatar

Top 50 recent answers are included