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. I1∩I2=ϕ.