Template Function Pennylane::Bindings::registerGatesForTensorNet

Function Documentation

template<class TensorNetT, class PyClass>
void Pennylane::Bindings::registerGatesForTensorNet(PyClass &pyclass)

Register TensorNet class to pybind.

Template Parameters
  • TensorNetT – Tensor network type to register

  • Pyclass – Pybind11’s class object type

Parameters

pyclass – Pybind11’s class object to bind tensor network