Description Usage Arguments Examples
View source: R/phase_estimation.R
phase estimation algorithm
1 | phase_estimation(bitmask, FUN, x, ...)
|
bitmask |
integer. Vector of qubits for the t qubit wide register needed for the phase estimation |
FUN |
a function implementing the controlled application of a unitary operator U to the power 2^(j-1) to the state x. It's first argument must be the control qubit 'c', the second the integer 'j' and the third the state 'x'. Additional parameters can be passed via '...'. |
x |
a 'qstate' object |
... |
additional parameter to be passed on to 'FUN' |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.