OpenJij : Framework for the Ising model and QUBO.
Full Changelog: https://github.com/OpenJij/OpenJij/compare/v0.6.17...v0.7.1
#364 Thanks @K-Suzuki-Jij
Organized all C++ test cases by directory.
Changes apply to sample_hubo
only. To take advantage of these changes, specify a dictionary for hubo
interactions. If cimod.BinaryPolynomialModel
is specified, the previous unoptimized code will run.
sample_hubo
for especially small-sized problems.num_reads
.hubo={(1,2), -1, ("a", 2): 3.0}
can be handled.updater
, the heat bath method can now be selected in addition to the Metropolis method (k-local is also available but not optimized for speed).random_number_engine
, Mersenne Twister (32-bit/64-bit) can now be selected in addition to Xorshift. This random number engine is used for initializing spins/binary configurations and calculating transition probabilities. Note that spin/binary variables are sequentially updated.temperature_schedule
, linear cooling can now be selected in addition to geometric cooling.schedule: Optional[list]
has been deprecated. Temperature schedules cannot be given as a list.initial_state: Optional[Union[list, dict]]
has been deprecated. The initial state is randomly selected. You can get the same result every time by fixing the seed.reinitialize_state: Optional[bool]
has been deprecated. If num_reads is 2 or more, a new initial state is randomly generated for each sampling.If you want to continue using the above features, you can use _sample_hubo_old
.
Thanks @29rou
Full Changelog: https://github.com/OpenJij/OpenJij/compare/v0.6.15...v0.6.16
Full Changelog: https://github.com/OpenJij/OpenJij/compare/v0.6.14...v0.6.15
Full Changelog: https://github.com/OpenJij/OpenJij/compare/v0.6.13...v0.6.14
Full Changelog: https://github.com/OpenJij/OpenJij/compare/v0.6.12...v0.6.13
Full Changelog: https://github.com/OpenJij/OpenJij/compare/v0.6.11...v0.6.12
Full Changelog: https://github.com/OpenJij/OpenJij/compare/v0.6.10...v0.6.11
Full Changelog: https://github.com/OpenJij/OpenJij/compare/v0.6.9...v0.6.10