qiu_quantum_computing.phase_propagator
¶
Diagonal phase operators: circuits applying the phase e^(i f(x)) of a signal.
qubit_encoding fixes how an axis is represented by qubits, direct applies polynomial
phases exactly, sample_based arbitrary phases of one sign with the sample-based phase
protocol, and sample_based_manual simulates the protocol on statevectors.
Modules:
-
direct–Direct phase circuits, applying
e^(i coef x^k)for powerskup to 3. -
qubit_encoding–The encoding of the integer indices of an axis in the basis states of qubits.
-
sample_based–Sample-based phase propagators, applying
e^(i f(x))for a signalfof one sign. -
sample_based_manual–Statevector simulation of the sample-based phase propagation, post-selected on success.