Template Function Pennylane::NanoBindings::registerControlledGates¶
Defined in File Bindings.hpp
Function Documentation¶
-
template<class StateT, class PyClass>
void Pennylane::NanoBindings::registerControlledGates(PyClass &pyclass)¶ Register controlled gate operations for a statevector. Register the applyControlledMatrix function to the given state.
- Template Parameters
StateT – State vector type
PyClass – Nanobind class type
- Parameters
pyclass – Nanobind class to bind methods to
api/function_Bindings_8hpp_1a955b39baaad21eb8811457c7faff90bb
Download Python script
Download Notebook
View on GitHub