Template Function Pennylane::Algorithms::applyObservables¶
Defined in File AlgUtil.hpp
Function Documentation¶
OpenMP accelerated application of observables to given statevectors.
- Parameters
states – Vector of statevector copies, one per observable.
reference_state – Reference statevector
observables – Vector of observables to apply to each statevector.
api/function_AlgUtil_8hpp_1ad6630634990af8c6bcd67a646b5f7831
Download Python script
Download Notebook
View on GitHub