Template Function Pennylane::createRaw¶
Defined in File Bindings.hpp
Function Documentation¶
-
template<class PrecisionT = double>
auto Pennylane::createRaw(const pybind11::array_t<std::complex<PrecisionT>> &numpyArray) -> StateVectorRawCPU<PrecisionT>¶ Create a Pennylane::StateVectorRawCPU object from a 1D numpy complex data array.
- Template Parameters
PrecisionT – Precision data type
- Parameters
numpyArray – Numpy data array.
- Returns
StateVectorRawCPU object.
api/function_Bindings_8hpp_1aa365943b6e6919fee903ce2b20cc42b3
Download Python script
Download Notebook
View on GitHub