Template Struct PLApproxComplex¶
Defined in File TestHelpers.hpp
Struct Documentation¶
-
template<class PrecisionT>
struct PLApproxComplex¶ Public Functions
-
inline explicit PLApproxComplex(const std::complex<PrecisionT> &comp)¶
-
inline bool compare(const std::complex<PrecisionT> &lhs) const¶
-
inline std::string describe() const¶
-
inline PLApproxComplex &epsilon(PrecisionT eps)¶
-
inline PLApproxComplex &margin(PrecisionT m)¶
Public Members
-
const std::complex<PrecisionT> comp_¶
-
PrecisionT margin_ = {}¶
-
PrecisionT epsilon_ = std::numeric_limits<float>::epsilon() * 100¶
-
inline explicit PLApproxComplex(const std::complex<PrecisionT> &comp)¶
api/structPennylane_1_1Util_1_1PLApproxComplex
Download Python script
Download Notebook
View on GitHub