Template Function Pennylane::Bindings::registerMatrix¶
Defined in File BindingsBase.hpp
Function Documentation¶
-
template<class StateVectorT>
void Pennylane::Bindings::registerMatrix(StateVectorT &st, const py::array_t<std::complex<typename StateVectorT::PrecisionT>, py::array::c_style | py::array::forcecast> &matrix, const std::vector<std::size_t> &wires, bool inverse = false)¶ Register matrix.
api/function_BindingsBase_8hpp_1a8a3abd8efcb38f20fe938c6dfd26e0aa
Download Python script
Download Notebook
View on GitHub