Template Function Pennylane::Util::is_disjoint¶
Defined in File IntegerInterval.hpp
Function Documentation¶
-
template<typename IntegerType>
bool Pennylane::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_1af8af3a418b35298ad1f632563327bd08
Download Python script
Download Notebook
View on GitHub