openjij.cxxjij.system#
cxxjij module for system
- class openjij.cxxjij.system.ClassicalIsing_CSRSparse#
Bases:
pybind11_object
__init__(self: openjij.cxxjij.system.ClassicalIsing_CSRSparse, init_spin: list[int], init_interaction: openjij.cxxjij.graph.CSRSparse) -> None
- __new__(**kwargs)#
- reset_spins(self: ClassicalIsing_CSRSparse, init_spin: list[int]) None #
- property interaction#
- property num_spins#
- property spin#
- class openjij.cxxjij.system.ClassicalIsing_Dense#
Bases:
pybind11_object
__init__(self: openjij.cxxjij.system.ClassicalIsing_Dense, init_spin: list[int], init_interaction: openjij.cxxjij.graph.Dense) -> None
- __new__(**kwargs)#
- reset_spins(self: ClassicalIsing_Dense, init_spin: list[int]) None #
- property interaction#
- property num_spins#
- property spin#
- class openjij.cxxjij.system.ClassicalIsing_Polynomial#
Bases:
pybind11_object
__init__(*args, **kwargs) Overloaded function.
__init__(self: openjij.cxxjij.system.ClassicalIsing_Polynomial, init_variables: list[int], init_interaction: openjij.cxxjij.graph.Polynomial, vartype: cimod::Vartype) -> None
__init__(self: openjij.cxxjij.system.ClassicalIsing_Polynomial, init_variables: list[int], init_interaction: openjij.cxxjij.graph.Polynomial, vartype: str) -> None
__init__(self: openjij.cxxjij.system.ClassicalIsing_Polynomial, init_spin: list[int], obj: object) -> None
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: openjij.cxxjij.system.ClassicalIsing_Polynomial, init_variables: list[int], init_interaction: openjij.cxxjij.graph.Polynomial, vartype: cimod::Vartype) -> None
__init__(self: openjij.cxxjij.system.ClassicalIsing_Polynomial, init_variables: list[int], init_interaction: openjij.cxxjij.graph.Polynomial, vartype: str) -> None
__init__(self: openjij.cxxjij.system.ClassicalIsing_Polynomial, init_spin: list[int], obj: object) -> None
- __new__(**kwargs)#
- get_adj(self: ClassicalIsing_Polynomial) list[list[int]] #
- get_keys(self: ClassicalIsing_Polynomial) list[list[int]] #
- get_max_effective_dE(self: ClassicalIsing_Polynomial) float #
- get_min_effective_dE(self: ClassicalIsing_Polynomial) float #
- get_values(self: ClassicalIsing_Polynomial) list[float] #
- get_vartype_to_string(self: ClassicalIsing_Polynomial) str #
- reset_spins(self: ClassicalIsing_Polynomial, init_spins: list[int]) None #
- reset_variables(self: ClassicalIsing_Polynomial, init_variables: list[int]) None #
- property num_variables#
- property variables#
- class openjij.cxxjij.system.ClassicalIsing_Sparse#
Bases:
pybind11_object
__init__(self: openjij.cxxjij.system.ClassicalIsing_Sparse, init_spin: list[int], init_interaction: openjij.cxxjij.graph.Sparse) -> None
- __new__(**kwargs)#
- reset_spins(self: ClassicalIsing_Sparse, init_spin: list[int]) None #
- property interaction#
- property num_spins#
- property spin#
- class openjij.cxxjij.system.ContinuousTimeIsing_CSRSparse#
Bases:
pybind11_object
__init__(*args, **kwargs) Overloaded function.
__init__(self: openjij.cxxjij.system.ContinuousTimeIsing_CSRSparse, init_spin_config: list[list[tuple[float, int]]], init_interaction: openjij.cxxjij.graph.CSRSparse, gamma: float) -> None
__init__(self: openjij.cxxjij.system.ContinuousTimeIsing_CSRSparse, init_spins: list[int], init_interaction: openjij.cxxjij.graph.CSRSparse, gamma: float) -> None
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: openjij.cxxjij.system.ContinuousTimeIsing_CSRSparse, init_spin_config: list[list[tuple[float, int]]], init_interaction: openjij.cxxjij.graph.CSRSparse, gamma: float) -> None
__init__(self: openjij.cxxjij.system.ContinuousTimeIsing_CSRSparse, init_spins: list[int], init_interaction: openjij.cxxjij.graph.CSRSparse, gamma: float) -> None
- __new__(**kwargs)#
- reset_spins(*args, **kwargs)#
Overloaded function.
reset_spins(self: openjij.cxxjij.system.ContinuousTimeIsing_CSRSparse, init_spin_config: list[list[tuple[float, int]]]) -> None
reset_spins(self: openjij.cxxjij.system.ContinuousTimeIsing_CSRSparse, classical_spins: list[int]) -> None
- property gamma#
- property interaction#
- property num_spins#
- property spin_config#
- class openjij.cxxjij.system.ContinuousTimeIsing_Sparse#
Bases:
pybind11_object
__init__(*args, **kwargs) Overloaded function.
__init__(self: openjij.cxxjij.system.ContinuousTimeIsing_Sparse, init_spin_config: list[list[tuple[float, int]]], init_interaction: openjij.cxxjij.graph.Sparse, gamma: float) -> None
__init__(self: openjij.cxxjij.system.ContinuousTimeIsing_Sparse, init_spins: list[int], init_interaction: openjij.cxxjij.graph.Sparse, gamma: float) -> None
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: openjij.cxxjij.system.ContinuousTimeIsing_Sparse, init_spin_config: list[list[tuple[float, int]]], init_interaction: openjij.cxxjij.graph.Sparse, gamma: float) -> None
__init__(self: openjij.cxxjij.system.ContinuousTimeIsing_Sparse, init_spins: list[int], init_interaction: openjij.cxxjij.graph.Sparse, gamma: float) -> None
- __new__(**kwargs)#
- reset_spins(*args, **kwargs)#
Overloaded function.
reset_spins(self: openjij.cxxjij.system.ContinuousTimeIsing_Sparse, init_spin_config: list[list[tuple[float, int]]]) -> None
reset_spins(self: openjij.cxxjij.system.ContinuousTimeIsing_Sparse, classical_spins: list[int]) -> None
- property gamma#
- property interaction#
- property num_spins#
- property spin_config#
- class openjij.cxxjij.system.KLocal_Polynomial#
Bases:
pybind11_object
__init__(*args, **kwargs) Overloaded function.
__init__(self: openjij.cxxjij.system.KLocal_Polynomial, init_spin: list[int], init_interaction: openjij.cxxjij.graph.Polynomial) -> None
__init__(self: openjij.cxxjij.system.KLocal_Polynomial, init_binaries: list[int], obj: object) -> None
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: openjij.cxxjij.system.KLocal_Polynomial, init_spin: list[int], init_interaction: openjij.cxxjij.graph.Polynomial) -> None
__init__(self: openjij.cxxjij.system.KLocal_Polynomial, init_binaries: list[int], obj: object) -> None
- __new__(**kwargs)#
- get_active_binaries(self: KLocal_Polynomial) list[int] #
- get_adj(self: KLocal_Polynomial) dict #
- get_keys(self: KLocal_Polynomial) list[list[int]] #
- get_max_effective_dE(self: KLocal_Polynomial) float #
- get_min_effective_dE(self: KLocal_Polynomial) float #
- get_polynomial(self: KLocal_Polynomial) dict #
- get_values(self: KLocal_Polynomial) list[float] #
- get_vartype_to_string(self: KLocal_Polynomial) str #
- reset_binaries(self: KLocal_Polynomial, init_binaries: list[int]) None #
- reset_dE(self: KLocal_Polynomial) None #
- reset_spins(self: KLocal_Polynomial, init_spins: list[int]) None #
- property binaries#
- property count_call_updater#
- property num_binaries#
- property num_interactions#
- property rate_call_k_local#
- class openjij.cxxjij.system.TransverseIsing_CSRSparse#
Bases:
pybind11_object
__init__(*args, **kwargs) Overloaded function.
__init__(self: openjij.cxxjij.system.TransverseIsing_CSRSparse, init_spin: list[list[int]], init_interaction: openjij.cxxjij.graph.CSRSparse, gamma: float) -> None
__init__(self: openjij.cxxjij.system.TransverseIsing_CSRSparse, init_classical_spins: list[int], init_interaction: openjij.cxxjij.graph.CSRSparse, gamma: float, num_trotter_slices: int) -> None
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: openjij.cxxjij.system.TransverseIsing_CSRSparse, init_spin: list[list[int]], init_interaction: openjij.cxxjij.graph.CSRSparse, gamma: float) -> None
__init__(self: openjij.cxxjij.system.TransverseIsing_CSRSparse, init_classical_spins: list[int], init_interaction: openjij.cxxjij.graph.CSRSparse, gamma: float, num_trotter_slices: int) -> None
- __new__(**kwargs)#
- reset_spins(*args, **kwargs)#
Overloaded function.
reset_spins(self: openjij.cxxjij.system.TransverseIsing_CSRSparse, init_trotter_spins: list[list[int]]) -> None
reset_spins(self: openjij.cxxjij.system.TransverseIsing_CSRSparse, classical_spins: list[int]) -> None
- property gamma#
- property interaction#
- property num_classical_spins#
- property trotter_spins#
- class openjij.cxxjij.system.TransverseIsing_Dense#
Bases:
pybind11_object
__init__(*args, **kwargs) Overloaded function.
__init__(self: openjij.cxxjij.system.TransverseIsing_Dense, init_spin: list[list[int]], init_interaction: openjij.cxxjij.graph.Dense, gamma: float) -> None
__init__(self: openjij.cxxjij.system.TransverseIsing_Dense, init_classical_spins: list[int], init_interaction: openjij.cxxjij.graph.Dense, gamma: float, num_trotter_slices: int) -> None
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: openjij.cxxjij.system.TransverseIsing_Dense, init_spin: list[list[int]], init_interaction: openjij.cxxjij.graph.Dense, gamma: float) -> None
__init__(self: openjij.cxxjij.system.TransverseIsing_Dense, init_classical_spins: list[int], init_interaction: openjij.cxxjij.graph.Dense, gamma: float, num_trotter_slices: int) -> None
- __new__(**kwargs)#
- reset_spins(*args, **kwargs)#
Overloaded function.
reset_spins(self: openjij.cxxjij.system.TransverseIsing_Dense, init_trotter_spins: list[list[int]]) -> None
reset_spins(self: openjij.cxxjij.system.TransverseIsing_Dense, classical_spins: list[int]) -> None
- property gamma#
- property interaction#
- property num_classical_spins#
- property trotter_spins#
- class openjij.cxxjij.system.TransverseIsing_Sparse#
Bases:
pybind11_object
__init__(*args, **kwargs) Overloaded function.
__init__(self: openjij.cxxjij.system.TransverseIsing_Sparse, init_spin: list[list[int]], init_interaction: openjij.cxxjij.graph.Sparse, gamma: float) -> None
__init__(self: openjij.cxxjij.system.TransverseIsing_Sparse, init_classical_spins: list[int], init_interaction: openjij.cxxjij.graph.Sparse, gamma: float, num_trotter_slices: int) -> None
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: openjij.cxxjij.system.TransverseIsing_Sparse, init_spin: list[list[int]], init_interaction: openjij.cxxjij.graph.Sparse, gamma: float) -> None
__init__(self: openjij.cxxjij.system.TransverseIsing_Sparse, init_classical_spins: list[int], init_interaction: openjij.cxxjij.graph.Sparse, gamma: float, num_trotter_slices: int) -> None
- __new__(**kwargs)#
- reset_spins(*args, **kwargs)#
Overloaded function.
reset_spins(self: openjij.cxxjij.system.TransverseIsing_Sparse, init_trotter_spins: list[list[int]]) -> None
reset_spins(self: openjij.cxxjij.system.TransverseIsing_Sparse, classical_spins: list[int]) -> None
- property gamma#
- property interaction#
- property num_classical_spins#
- property trotter_spins#
- openjij.cxxjij.system.make_classical_ising(*args, **kwargs)#
Overloaded function.
make_classical_ising(init_spin: list[int], init_interaction: openjij.cxxjij.graph.Dense) -> openjij.cxxjij.system.ClassicalIsing_Dense
make_classical_ising(init_spin: list[int], init_interaction: openjij.cxxjij.graph.Sparse) -> openjij.cxxjij.system.ClassicalIsing_Sparse
make_classical_ising(init_spin: list[int], init_interaction: openjij.cxxjij.graph.CSRSparse) -> openjij.cxxjij.system.ClassicalIsing_CSRSparse
- openjij.cxxjij.system.make_classical_ising_polynomial(*args, **kwargs)#
Overloaded function.
make_classical_ising_polynomial(init_spin: list[int], init_interaction: openjij.cxxjij.graph.Polynomial, vartype: cimod::Vartype) -> openjij.cxxjij.system.ClassicalIsing_Polynomial
make_classical_ising_polynomial(init_spin: list[int], init_interaction: openjij.cxxjij.graph.Polynomial, vartype: str) -> openjij.cxxjij.system.ClassicalIsing_Polynomial
make_classical_ising_polynomial(init_spin: list[int], obj: object) -> openjij.cxxjij.system.ClassicalIsing_Polynomial
- openjij.cxxjij.system.make_continuous_time_ising(*args, **kwargs)#
Overloaded function.
make_continuous_time_ising(classical_spins: list[int], init_interaction: openjij.cxxjij.graph.Sparse, gamma: float) -> openjij.cxxjij.system.ContinuousTimeIsing_Sparse
make_continuous_time_ising(classical_spins: list[int], init_interaction: openjij.cxxjij.graph.CSRSparse, gamma: float) -> openjij.cxxjij.system.ContinuousTimeIsing_CSRSparse
- openjij.cxxjij.system.make_k_local_polynomial(*args, **kwargs)#
Overloaded function.
make_k_local_polynomial(init_spin: list[int], init_interaction: openjij.cxxjij.graph.Polynomial) -> openjij.cxxjij.system.KLocal_Polynomial
make_k_local_polynomial(init_spin: list[int], obj: object) -> openjij.cxxjij.system.KLocal_Polynomial
- openjij.cxxjij.system.make_transverse_ising(*args, **kwargs)#
Overloaded function.
make_transverse_ising(init_trotter_spins: list[list[int]], init_interaction: openjij.cxxjij.graph.Dense, gamma: float) -> openjij.cxxjij.system.TransverseIsing_Dense
make_transverse_ising(classical_spins: list[int], init_interaction: openjij.cxxjij.graph.Dense, gamma: float, num_trotter_slices: int) -> openjij.cxxjij.system.TransverseIsing_Dense
make_transverse_ising(init_trotter_spins: list[list[int]], init_interaction: openjij.cxxjij.graph.Sparse, gamma: float) -> openjij.cxxjij.system.TransverseIsing_Sparse
make_transverse_ising(classical_spins: list[int], init_interaction: openjij.cxxjij.graph.Sparse, gamma: float, num_trotter_slices: int) -> openjij.cxxjij.system.TransverseIsing_Sparse
make_transverse_ising(init_trotter_spins: list[list[int]], init_interaction: openjij.cxxjij.graph.CSRSparse, gamma: float) -> openjij.cxxjij.system.TransverseIsing_CSRSparse
make_transverse_ising(classical_spins: list[int], init_interaction: openjij.cxxjij.graph.CSRSparse, gamma: float, num_trotter_slices: int) -> openjij.cxxjij.system.TransverseIsing_CSRSparse