4 lines
124 B
Python
4 lines
124 B
Python
from tabu import TabuSampler
|
|
response = TabuSampler().sample_ising({'a': -0.5, 'b': 1.0}, {('a', 'b'): -1})
|
|
print(response)
|