Template Function Pennylane::LightningGPU::applyControlledMatrix¶
Defined in File LGPUBindings.hpp
Function Documentation¶
-
template<class StateVectorT>
void Pennylane::LightningGPU::applyControlledMatrix(StateVectorT &st, const py::array_t<std::complex<typename StateVectorT::PrecisionT>, py::array::c_style | py::array::forcecast> &matrix, const std::vector<std::size_t> &controlled_wires, const std::vector<bool> &controlled_values, const std::vector<std::size_t> &wires, bool inverse = false)¶ Register controlled matrix kernel.
api/function_LGPUBindings_8hpp_1a8949ccdf6188772620619e1507c9493e
Download Python script
Download Notebook
View on GitHub