Template Function Pennylane::LightningTensor::TNCuda::applyControlledMatrix¶
Defined in File LTensorTNCudaBindings.hpp
Function Documentation¶
-
template<class TensorNet>
void Pennylane::LightningTensor::TNCuda::applyControlledMatrix(TensorNet &tensor_network, const py::array_t<std::complex<typename TensorNet::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> &target_wires, bool inverse = false)¶ Register controlled matrix kernel.
api/function_LTensorTNCudaBindings_8hpp_1a4ac0f900ec0ba6b3966ad5444badd09a
Download Python script
Download Notebook
View on GitHub