quri_parts.qsub.lib.qpe module¶
- QPE = _ParamOpFactory(op_def=<quri_parts.qsub.lib.qpe._QPE object>)¶
Represents the Quantum Phase Estimation (QPE) circuit.
It implements QPE by applying a line of H-gates, controlled unitaries and the inverse quantum Fourier transform in the way described by e.g. Nielsen and Chuang (2010) (https://doi.org/10.1017/CBO9780511976667).
bits is the number of ancilla bits that are used to store the binary expansion of the phase.
op is the unitary operator that is applied, controlled sequentially by each ancilla qubit in accordance with the standard formulation of QPE, where the op is applied a number of times corresponding to the binary power represented by its controlling ancilla bit.
- Parameters:
params (Params.args)
- Return type:
- QPESub(*params, **_)¶
Represents the Quantum Phase Estimation (QPE) circuit.
It implements QPE by applying a line of H-gates, controlled unitaries and the inverse quantum Fourier transform in the way described by e.g. Nielsen and Chuang (2010) (https://doi.org/10.1017/CBO9780511976667).
bits is the number of ancilla bits that are used to store the binary expansion of the phase.
op is the unitary operator that is applied, controlled sequentially by each ancilla qubit in accordance with the standard formulation of QPE, where the op is applied a number of times corresponding to the binary power represented by its controlling ancilla bit.
- Parameters:
params (Params.args)
_ (Params.kwargs)
- Return type:
- QPEListUk = _ParamOpFactory(op_def=<quri_parts.qsub.lib.qpe._QPEListUk object>)¶
Represents the Quantum Phase Estimation (QPE) circuit.
It implements QPE by applying a line of H-gates, controlled unitaries and the inverse quantum Fourier transform. The procedure provides a generalization of the standard formulation described by e.g. Nielsen and Chuang (2010) (https://doi.org/10.1017/CBO9780511976667).
bits is the number of ancilla bits that are used to store the binary expansion of the phase.
ops is a sequence of unitary operators that are applied, controlled by each ancilla bit in sequence. Each op in the sequence is applied only once.
- Parameters:
params (Params.args)
- Return type:
- QPEListUkSub(*params, **_)¶
Represents the Quantum Phase Estimation (QPE) circuit.
It implements QPE by applying a line of H-gates, controlled unitaries and the inverse quantum Fourier transform. The procedure provides a generalization of the standard formulation described by e.g. Nielsen and Chuang (2010) (https://doi.org/10.1017/CBO9780511976667).
bits is the number of ancilla bits that are used to store the binary expansion of the phase.
ops is a sequence of unitary operators that are applied, controlled by each ancilla bit in sequence. Each op in the sequence is applied only once.
- Parameters:
params (Params.args)
_ (Params.kwargs)
- Return type: