Template Function Pennylane::Bindings::registerGatesForStateVector

Function Documentation

template<class StateVectorT, class PyClass>
void Pennylane::Bindings::registerGatesForStateVector(PyClass &pyclass)

Register StateVector class to pybind.

Template Parameters
  • StateVectorT – Statevector type to register

  • Pyclass – Pybind11’s class object type

Parameters

pyclass – Pybind11’s class object to bind statevector