SpinGlassExhaustive

Index

SpinGlassPEPS.SpinGlassExhaustive.exhaustive_search_bucketFunction
exhaustive_search_bucket(ig)
exhaustive_search_bucket(ig, how_many)
  • ig::IsingGraph: graph of ising model represented by IsingGraph structure.

Returns energies and states for provided graph by brute-forece alorithm supported by bucket selection based on GPU.

source
SpinGlassPEPS.SpinGlassExhaustive.kernelMethod
kernel(graph, energies)
  • graph: graph of the ising model.
  • energies: array filled with zeros. Each array index represents the state of the system.

Returns energies for every state.

source
SpinGlassPEPS.SpinGlassExhaustive.kernel_bucketMethod
kernel_bucket(graph, energies, state_offset)
  • graph: graph of the ising model.
  • energies: array filled with zeros. Each array index represents the state of the system.
  • idx: list for collecting partial energy results.

Returns energies for given indexes.

source
SpinGlassPEPS.SpinGlassExhaustive.kernel_quboMethod
kernel_qubo(graph, energies)
  • graph: graph of the ising model.
  • energies: array filled with zeros. Each array index represents the state of the system.

Returns energies energy expressed as QUBO for every state.

source
SpinGlassPEPS.SpinGlassExhaustive.naive_energy_kernelMethod
naive_energy_kernel(J, energies, σ)
  • J: diagonal elements of graph of the ising model..
  • energies: array filled with zeros. Each array index represents the state of the system.
  • σ: non-diagonal elements of of graph of the ising model.

Returns the state energy.

source
SpinGlassPEPS.SpinGlassNetworks.brute_forceMethod
brute_force(ig, ; num_states)
  • ig::IsingGraph: graph of ising model represented by IsingGraph structure.

Returns energies and states for provided model by naive brute-forece alorithm based on GPU.

source