Files
ports/science/py-dwave-gate/files/example.py
T
2025-09-27 18:38:24 -07:00

4 lines
124 B
Python

from tabu import TabuSampler
response = TabuSampler().sample_ising({'a': -0.5, 'b': 1.0}, {('a', 'b'): -1})
print(response)