Template Struct PLApprox¶
Defined in File TestHelpers.hpp
Struct Documentation¶
-
template<class T, class Alloc = std::allocator<T>>
struct PLApprox¶ Public Functions
-
inline std::string describe() const¶
-
inline PLApprox &epsilon(Util::remove_complex_t<T> eps)¶
-
inline PLApprox &margin(Util::remove_complex_t<T> m)¶
Public Members
-
Util::remove_complex_t<T> margin_ = {}¶
-
Util::remove_complex_t<T> epsilon_ = std::numeric_limits<float>::epsilon() * 100¶
-
inline std::string describe() const¶
api/structPennylane_1_1Util_1_1PLApprox
Download Python script
Download Notebook
View on GitHub