Template Function Pennylane::NanoBindings::registerBackendAgnosticStateVectorMethods¶
Defined in File Bindings.hpp
Function Documentation¶
-
template<class StateVectorT, class PyClass>
void Pennylane::NanoBindings::registerBackendAgnosticStateVectorMethods(PyClass &pyclass)¶ Register backend agnostic state vector methods.
Register the registerBackendAgnosticStateVectorMethods function to the given class.
- Template Parameters
StateVectorT – The type of the state vector.
PyClass – Nanobind’s class to bind methods type.
- Parameters
pyclass – Nanobind’s class to bind methods.
api/function_Bindings_8hpp_1a75a672dfb2afe8b4460f37772aac3d7a
Download Python script
Download Notebook
View on GitHub