seemps.register.qubo_exponential_mpo#

seemps.register.qubo_exponential_mpo(J: TypeAliasForwardRef('~seemps.typing.Operator') | None = None, h: TypeAliasForwardRef('~seemps.typing.Vector') | None = None, beta: float = -1.0, strategy: Strategy = DEFAULT_STRATEGY)[source]#

Return the MPO associated to the exponential $exp(beta H)$ of a QUBO operator.

The QUBO operator is defined as a sum of longitudinal couplings and magnetic fields \(H = \sum_i J_{ij} s_i s_j + \sum_i h_i s_i\) described by the interaction matrix J and the vector field h. At least one of these must be provided.

Parameters:
JOperator | None

Matrix of Ising coupling between qubits (Default value = None)

hVector | None :

Vector of local magnetic fields (Default value = None)

betafloat :

Exponential prefactor (Default value = -1.0)

**kwdargs

Other arguments accepted by MPO

Returns:
MPOList | MPO

MPO or set of them to implement the exponential of an Ising interaction.