Template Function Pennylane::LightningQubit::Util::is_disjoint¶
Defined in File IntegerInterval.hpp
Function Documentation¶
-
template<typename IntegerType>
bool Pennylane::LightningQubit::Util::is_disjoint(const IntegerInterval<IntegerType> &interval1, const IntegerInterval<IntegerType> &interval2)¶ Test if the intersection of two intervals are empty, i.e. \(I_1 \cap I_2 = \phi\).
api/function_IntegerInterval_8hpp_1aefc1b2cc338ade0c53cd6552bf257437
Download Python script
Download Notebook
View on GitHub