Template Function Pennylane::NanoBindings::probsForAllWires¶
Defined in File Bindings.hpp
Function Documentation¶
-
template<class MeasurementsT>
nb::ndarray<typename MeasurementsT::PrecisionT, nb::numpy, nb::c_contig> Pennylane::NanoBindings::probsForAllWires(MeasurementsT &M)¶ Register probs method for all wires with proper data ownership.
- Template Parameters
MeasurementsT – Representation of Measurements type
- Parameters
M – Measurements object
- Returns
nb::ndarray<PrecisionT, nb::numpy, nb::c_contig> NumPy array with probabilities
api/function_Bindings_8hpp_1aba33c4e94f1fdeb93a7ee8b94d1749c3
Download Python script
Download Notebook
View on GitHub