seemps.register.qubo_exponential_mpo#
- seemps.register.qubo_exponential_mpo(J=None, h=None, beta=-1.0, **kwdargs)[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:
- J
Optional
[Operator
] Matrix of Ising coupling between qubits (Default value = None)
- h
Optional
[Vector
] : Vector of local magnetic fields (Default value = None)
- beta
float
: Exponential prefactor (Default value = -1.0)
- **kwdargs
Other arguments accepted by
MPO
- J
- Returns:
MPOList
|MPO
MPO or set of them to implement the exponential of an Ising interaction.