Class CombinationGenerator¶
Defined in File TestHelpersWires.hpp
Inheritance Relationships¶
Base Type¶
public Pennylane::Util::WiresGenerator
(Class WiresGenerator)
Class Documentation¶
-
class CombinationGenerator : public Pennylane::Util::WiresGenerator¶
as combination). The size of all combination is given as \(n \choose r\).
We use the recursion formula \({n \choose r} = {n \choose r-1} + {n-1 \choose r}\)
api/classPennylane_1_1Util_1_1CombinationGenerator
Download Python script
Download Notebook
View on GitHub