Template Function Pennylane::Util::createRandomStateVectorData¶
Defined in File TestHelpers.hpp
Function Documentation¶
-
template<typename PrecisionT, class RandomEngine>
auto Pennylane::Util::createRandomStateVectorData(RandomEngine &re, std::size_t num_qubits) -> TestVector<std::complex<PrecisionT>>¶ create a random state
api/function_TestHelpers_8hpp_1aa2f4e85e61e074cc227b17730062fe8c
Download Python script
Download Notebook
View on GitHub