quantum_launcher.hampy.debug
Module with functionalities for debugging Hamiltonians and checking their boolean properties
Reference
-
class quantum_launcher.hampy.debug.TruthTable(equation: Equation | SparsePauliOp, return_int: bool = True)[source]
Bases: object
-
count(value: float) → int[source]
-
get_solutions(value: float) → list[str][source]
-
count_min_value_solutions() → int[source]
-
get_min_value_solutions() → list[str][source]
-
check_if_binary() → bool[source]
-
plot_distribution() → None[source]