Class PermutationGenerator¶
Defined in File TestHelpersWires.hpp
Inheritance Relationships¶
Base Type¶
public Pennylane::Util::WiresGenerator
(Class WiresGenerator)
Class Documentation¶
-
class PermutationGenerator : public Pennylane::Util::WiresGenerator¶
permutation is given as \({}_{n}P_r=n!/(n-r)!r!\).
We use the recursion formula :math:
{}_n P_r = n {}_{n-1} P_{r-1}
api/classPennylane_1_1Util_1_1PermutationGenerator
Download Python script
Download Notebook
View on GitHub