shinmorino / sqaod

Solvers/annealers for simulated quantum annealing on CPU and CUDA(NVIDIA GPU).
https://github.com/shinmorino/sqaod/wiki
Other
83 stars 21 forks source link

Add getSystemE(). #60

Closed shinmorino closed 5 years ago

shinmorino commented 5 years ago

Adding a method to calculate system energy during annealing. System energy includes QUBO energy, and for SQA, it also includes energy from interactions between trotters.

shinmorino commented 5 years ago

Commits: 36b13303d0cb93133be63975ed19e9bea36d81b2, d72b261045e4a3a818652ab56d5c9d14efa4b250, fde7bf8993309ca4b77cdef564178fff2c48546d, 94206d24ab08e73823eafacaa8cb11d5885cf025.

Commits for tests: 367b511e86ec15e2769a88cec2f000d78baf68ee, 165eb203008460934a0813a49ce3a11fe1b5051d.