Processing math: 100%

Template Function Pennylane::LightningQubit::Util::is_disjoint

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. I1I2=ϕ.