openjij
Framework for the Ising model and QUBO.
Loading...
Searching...
No Matches
openjij.sampler.sa_sampler Namespace Reference

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)
 

Function Documentation

◆ geometric_hubo_beta_schedule()

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().

Here is the caller graph for this function:

◆ geometric_ising_beta_schedule()

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().

Here is the caller graph for this function: