openjij
Framework for the Ising model and QUBO.
|
Classes | |
class | SASampler |
Functions | |
geometric_ising_beta_schedule (Union[openjij.cxxjij.graph.Dense, openjij.cxxjij.graph.CSRSparse] cxxgraph, beta_max=None, beta_min=None, num_sweeps=1000) | |
geometric_hubo_beta_schedule (sa_system, beta_max, beta_min, num_sweeps) | |
openjij.sampler.sa_sampler.geometric_hubo_beta_schedule | ( | sa_system, | |
beta_max, | |||
beta_min, | |||
num_sweeps | |||
) |
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 |
|||
) |
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. Returns: list of cxxjij.utility.ClassicalSchedule, list of beta range [max, min]
Referenced by openjij.sampler.sa_sampler.SASampler.sample().