SymbolGenerator

SymbolGenerator(arg=None) VariableGenerator | BinarySymbolGenerator | IsingSymbolGenerator

Make a generator of variables. Deprecated.

Use VariableGenerator and give the type of the variable to each of its methods.

パラメータ:

arg -- The class of the polynomial that decides the type of the variable. None gives a VariableGenerator, BinaryPoly gives a BinarySymbolGenerator, and IsingPoly gives an IsingSymbolGenerator.

戻り値:

The generator that arg selected.

例外:

TypeError -- arg is not None, BinaryPoly, or IsingPoly.