When does phase influence outcomes. Below, it is no surprise the single qubit
remains unaffected by a phase operation:
Things are different with this code. The target qubit - qubit 3 - is the affected one.
* * *
The crucial setting in all this is the one below: whether the QFT is inverse=True
or inverse=False. Inverse True is meant to run on a circuit that has already been
transformed ie one with hadamard gates, and control relationships. Inverse False
performs a transform on a clean set-up...
No comments:
Post a Comment