Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 480 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 480 Bytes

Hello!

This is my first try at Object Oriented Programming.

Uploading something simple to try out and play with the platform.

Generate Ising h, J from a QUBO array.

To install:

pip install QUBO2Ising

Example code:

import numpy as np

import QUBO2Ising as qb

QUBO_array = np.genfromtxt('example.csv', delimiter=',')

h, J = qb.QUBO2Ising(QUBO_array).generateIsing()

print(h, J)