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

__init__

array

Make an array of Ising variables.

matrix

Make a matrix of Ising variables.

scalar

Make one Ising variable.

Attributes

variables

The variables that this generator made.

__init__()
array(*args, **kwargs)

Make an array of Ising variables.

戻り値:

The array that array() made with "Ising".

matrix(*args, **kwargs)

Make a matrix of Ising variables.

戻り値:

The matrix that matrix() made with "Ising".

scalar(*args, **kwargs)

Make one Ising variable.

戻り値:

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'
property variables

The variables that this generator made.

戻り値:

The value of variables.