quantum_launcher.hampy.object#

Summary#

Classes:

Reference#

class quantum_launcher.hampy.object.Equation(size: int)[source]#
class quantum_launcher.hampy.object.Equation(hamiltonian: SparsePauliOp)
class quantum_launcher.hampy.object.Equation(sparse_list: list[tuple], size: int)

Bases: object

get_variable(index: int) Variable[source]#
property hamiltonian: SparsePauliOp#
to_sparse_pauli_op() SparsePauliOp[source]#
get_order() int[source]#
is_quadratic() bool[source]#
class quantum_launcher.hampy.object.Variable(index: int, parent: Equation)[source]#

Bases: object

to_equation() Equation[source]#