Extract the frequencies contributed by an input-encoding gate to the overall Fourier representation of a quantum circuit.
If \(G\) is the generator of the input-encoding gate \(\exp(-i x G)\), the frequencies are the differences between any two of \(G\)’s eigenvalues. We only compute non-negative frequencies in this subroutine.
op (Operation) – Operation to extract the frequencies for
decimals (int) – Number of decimal places to round the frequencies to
non-negative frequencies contributed by this input-encoding gate
- Return type
- What is PennyLane?
- Quantum circuits
- Gradients and training
- Quantum operators
- Inspecting circuits
- Compiling circuits
- Quantum Chemistry