IsingSymbolGenerator¶
- class IsingSymbolGenerator¶
A generator of Ising variables. Deprecated.
Use
VariableGenerator, which takes the type of the variable as its first argument. Every method of this class calls that generator with the type “Ising”.Methods
Make an array of Ising variables.
Make a matrix of Ising variables.
Make one Ising variable.
Attributes
The variables that this generator made.
- __init__()¶
- array(*args, **kwargs)¶
Make an array of Ising variables.
- Returns:
The array that
array()made with “Ising”.
- matrix(*args, **kwargs)¶
Make a matrix of Ising variables.
- Returns:
The matrix that
matrix()made with “Ising”.
- scalar(*args, **kwargs)¶
Make one Ising variable.
- Returns:
The variable that
scalar()made with “Ising”.
- __deprecated__ = 'IsingSymbolGenerator is deprecated since amplify v1.0.0 and will no longer support in the near future.\nUse VariableGenerator instead. Please see the migration guide for details: https://amplify.fixstars.com/docs/amplify/v1/migration.html'¶