qat.lang.algorithms.amplification.householder
- qat.lang.algorithms.amplification.householder(state_prep)
Given some state preparation circuit implementing a unitary operator \(U\), builds a Householder transform of the form:
\[2\left(U|0\rangle\langle 0|U^\dagger\right) - I\]