Template Function Pennylane::LightningQubit::Gates::callMatrixOp¶
Defined in File OpToMemberFuncPtr.hpp
Function Documentation¶
-
template<class PrecisionT>
inline void Pennylane::LightningQubit::Gates::callMatrixOp(MatrixFuncPtrT<PrecisionT> func, std::complex<PrecisionT> *data, std::size_t num_qubits, const std::complex<PrecisionT*> matrix, const std::vector<std::size_t> &wires, bool adj)¶ Call a matrix operation.
- Template Parameters
PrecisionT – Floating point type for the state-vector.
api/function_namespacePennylane_1_1LightningQubit_1_1Gates_1a1dbede60073677a9982dcecd74e96b8c
Download Python script
Download Notebook
View on GitHub