You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
It is often cheaper to uncompute an operation if you know that the result will be in the 0 state.
For example, if you know that the target qubit involved in a Toffoli operation will end up 0, you can perform the Toffoli with an X-basis measurement and a classically controlled CZ. This reduces the number of magic states required to perform an operation.
It is tedious to have to specify different names for the uncompute variants of operations. They should be merged, same as for adjoint and controlled operations.
(The tricky part of this, in terms of language design, is how to designate which qubits are being uncomputed.)