Template Function Pennylane::registerGatesForStateVector

Function Documentation

template<class PrecisionT, class ParamT, class SVType, class PyClass>
void Pennylane::registerGatesForStateVector(PyClass &pyclass)

Register StateVector class to pybind.

Template Parameters
  • PrecisionT – Floating point type for statevector

  • ParamT – Parameter type of gate operations for statevector

  • SVType – Statevector type to register

  • Pyclass – Pybind11’s class object type

Parameters

pyclass – Pybind11’s class object to bind statevector