|
openjij
Framework for the Ising model and QUBO.
|
Classes | |
| class | SASampler |
Functions | |
| geometric_hubo_beta_schedule (sa_system, beta_max, beta_min, num_sweeps, seed=None) | |
| geometric_ising_beta_schedule (Union[openjij.cxxjij.graph.Dense, openjij.cxxjij.graph.CSRSparse] cxxgraph, beta_max=None, beta_min=None, num_sweeps=1000, seed=None) | |
| openjij.sampler.sa_sampler.geometric_hubo_beta_schedule | ( | sa_system, | |
| beta_max, | |||
| beta_min, | |||
| num_sweeps, | |||
seed = None |
|||
| ) |
Referenced by openjij.sampler.sa_sampler.SASampler._sample_hubo_old().

| openjij.sampler.sa_sampler.geometric_ising_beta_schedule | ( | Union[openjij.cxxjij.graph.Dense, openjij.cxxjij.graph.CSRSparse] | cxxgraph, |
beta_max = None, |
|||
beta_min = None, |
|||
num_sweeps = 1000, |
|||
seed = None |
|||
| ) |
Make geometric cooling beta schedule.
Args:
cxxgraph (Union[openjij.cxxjij.graph.Dense, openjij.cxxjij.graph.CSRSparse]): Ising graph, must be either `Dense` or `CSRSparse`.
beta_max (float, optional): [description]. Defaults to None.
beta_min (float, optional): [description]. Defaults to None.
num_sweeps (int, optional): [description]. Defaults to 1000.
seed (int, optional): Seed for random number generation. Defaults to None.
Returns:
list of cxxjij.utility.ClassicalSchedule, list of beta range [max, min]
Referenced by openjij.sampler.sa_sampler.SASampler.sample().
