Template Function Pennylane::LightningGPU::NanoBindings::registerBackendClassSpecificBindings

Function Documentation

template<class StateVectorT, class PyClass>
void Pennylane::LightningGPU::NanoBindings::registerBackendClassSpecificBindings(PyClass &pyclass)

Get a controlled matrix and kernel map for a statevector.

Template Parameters
  • StateVectorT – The type of the state vector.

  • PyClass – Nanobind’s class to bind methods.

Parameters

pyclass – Nanobind’s statevector class to bind methods.