Skip to main content

PairHopSum

Overloads

NameDescription
PairHopSum(const ComplexTensor tensor) -> ComplexOperator4DTensorReturns a generalized pair hopping tensor operator i,j,k,lVijklaiajakal\sum_{i,j,k,l} V_{ijkl} a_{i}^\dagger a_{j}^\dagger a_{k} a_{l}.
PairHopSum(const RealTensor tensor) -> RealOperator4DTensorReturns a generalized pair hopping tensor operator i,j,k,lVijklaiajakal\sum_{i,j,k,l} V_{ijkl} a_{i}^\dagger a_{j}^\dagger a_{k} a_{l}.

PairHopSum(const ComplexTensor tensor) -> ComplexOperator4DTensor

Returns a generalized pair hopping tensor operator i,j,k,lVijklaiajakal\sum_{i,j,k,l} V_{ijkl} a_{i}^\dagger a_{j}^\dagger a_{k} a_{l}.

The operator is parametrized by a 4-rank tensor VijklV_{ijkl} with L4L^4 elements. It acts directly according to the provided index positions, mapping exactly 1-to-1 with the underlying LL qubit sites.

Note the difference to CoulombSum: PairHopSum does not make any assumptions about interleaved spin mappings. The operator natively preserves particle number.

Parameters

  • tensor: The 4-rank tensor VijklV_{ijkl} representing the interaction.

PairHopSum(const RealTensor tensor) -> RealOperator4DTensor

Returns a generalized pair hopping tensor operator i,j,k,lVijklaiajakal\sum_{i,j,k,l} V_{ijkl} a_{i}^\dagger a_{j}^\dagger a_{k} a_{l}.

The operator is parametrized by a 4-rank tensor VijklV_{ijkl} with L4L^4 elements. It acts directly according to the provided index positions, mapping exactly 1-to-1 with the underlying LL qubit sites.

Note the difference to CoulombSum: PairHopSum does not make any assumptions about interleaved spin mappings. The operator natively preserves particle number.

Parameters

  • tensor: The 4-rank tensor VijklV_{ijkl} representing the interaction.