amplify.IsingPolyArray
- class IsingPolyArray
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: amplify.IsingPolyArray, arg0: amplify.IsingPolyArray) -> None
__init__(self: amplify.IsingPolyArray, shape: tuple) -> None
__init__(self: amplify.IsingPolyArray, object: Iterable) -> None
__init__(self: amplify.IsingPolyArray, *args) -> None
Methods
__init__
(*args, **kwargs)Overloaded function.
copy
(self)decode
(*args, **kwargs)Overloaded function.
diagonal
(self[, offset, axis1, axis2])fill
(*args, **kwargs)Overloaded function.
flatten
(self)numpy
(self)ravel
(self)reshape
(*args, **kwargs)Overloaded function.
roll
(*args, **kwargs)Overloaded function.
sum
(*args, **kwargs)Overloaded function.
tolist
(self)transpose
(*args, **kwargs)Overloaded function.
view
(self)Attributes
T
data
isview
itemsize
ndim
shape
size
strides
- copy(self: amplify.IsingPolyArray) amplify.IsingPolyArray
- decode(*args, **kwargs)
Overloaded function.
decode(self: amplify.IsingPolyArray, solution: Dict[int, int], default: int = 1) -> numpy.ndarray[numpy.float64]
decode(self: amplify.IsingPolyArray, solution: Dict[int, int], default: None) -> amplify.IsingPolyArray
decode(self: amplify.IsingPolyArray, solution: List[int], default: int = 1) -> numpy.ndarray[numpy.float64]
- diagonal(self: amplify.IsingPolyArray, offset: int = 0, axis1: int = 0, axis2: int = 1) amplify.IsingPolyArray
- fill(*args, **kwargs)
Overloaded function.
fill(self: amplify.IsingPolyArray, value: amplify.IsingPoly) -> None
fill(self: amplify.IsingPolyArray, value: int) -> None
fill(self: amplify.IsingPolyArray, value: float) -> None
- flatten(self: amplify.IsingPolyArray) amplify.IsingPolyArray
- numpy(self: amplify.IsingPolyArray) numpy.ndarray[numpy.float64]
- ravel(self: amplify.IsingPolyArray) amplify.IsingPolyArray
- reshape(*args, **kwargs)
Overloaded function.
reshape(self: amplify.IsingPolyArray, shape: List[int]) -> amplify.IsingPolyArray
reshape(self: amplify.IsingPolyArray, *args) -> amplify.IsingPolyArray
- roll(*args, **kwargs)
Overloaded function.
roll(self: amplify.IsingPolyArray, shift: int) -> amplify.IsingPolyArray
roll(self: amplify.IsingPolyArray, shift: int, axis: int) -> amplify.IsingPolyArray
- sum(*args, **kwargs)
Overloaded function.
sum(self: amplify.IsingPolyArray) -> object
sum(self: amplify.IsingPolyArray, axis: int) -> object
sum(self: amplify.IsingPolyArray, axis: tuple) -> object
- tolist(self: amplify.IsingPolyArray) list
- transpose(*args, **kwargs)
Overloaded function.
transpose(self: amplify.IsingPolyArray) -> amplify.IsingPolyArrayView1
transpose(self: amplify.IsingPolyArray, axes: tuple) -> amplify.IsingPolyArrayView1
transpose(self: amplify.IsingPolyArray, *args) -> amplify.IsingPolyArrayView1
- view(self: amplify.IsingPolyArray) amplify.IsingPolyArrayView1