Template Function Pennylane::LightningKokkos::Functors::applyCNOT¶
Defined in File BasicGateFunctors.hpp
Function Documentation¶
-
template<class ExecutionSpace, class PrecisionT>
void Pennylane::LightningKokkos::Functors::applyCNOT(Kokkos::View<Kokkos::complex<PrecisionT>*> arr_, std::size_t num_qubits, const std::vector<std::size_t> &wires, bool inverse = false, const std::vector<PrecisionT> ¶ms = {})¶
api/function_BasicGateFunctors_8hpp_1a2564725859570d6554d0aa4fd53e3b61
Download Python script
Download Notebook
View on GitHub