Template Function Pennylane::Bindings::registerTensor¶
Defined in File BindingsBase.hpp
Function Documentation¶
-
template<class TensorNetT>
void Pennylane::Bindings::registerTensor(TensorNetT &tensor_network, const py::array_t<std::complex<typename TensorNetT::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_1aea658bdffa7ed3c7d7ae48ec6659ba0f
Download Python script
Download Notebook
View on GitHub