LocalHamGen_config_coupling

Config coupling method directly for a LocalHamGen object.

Functions

config_coupling(self, config[, atol])

Take the configuration config and return the list of other

Module Contents

LocalHamGen_config_coupling.config_coupling(self, config, atol=1e-12)

Take the configuration config and return the list of other configurations this Hamiltonian couples it to and the corresponding coefficients.

Parameters:
  • config (dict[hashable, int]) – A mapping of each site to a integer value, [0, 1].

  • atol (float, optional) – Absolute tolerance for the skipping couplings.

Returns:

  • coupled_configs (list[dict[hashable, int]]) – List of configurations config is coupled to.

  • coupling_coeffs (list[float]) – List of coupling coefficients.