Interaction2Site¶
Two-site interaction term.
Interaction2Site
dataclass
¶
Interaction2Site(
leading_site: int = 0,
terminal_site: int = 0,
leading_tnsr: Optional[Tensor] = None,
terminal_tnsr: Optional[Tensor] = None,
intermid_tnsr: Optional[Tensor] = None,
*,
cpl: float = 0.0,
label: List[str] = list(),
)
Bases: Interaction
Two-site interaction term.
Attributes:
| Name | Type | Description |
|---|---|---|
leading_site |
int
|
Index of the leading (left) site (0-based). |
terminal_site |
int
|
Index of the terminal (right) site (0-based). Must satisfy
|
leading_tnsr |
Optional[Tensor]
|
4-index MPO tensor for the leading site, in format
|
terminal_tnsr |
Optional[Tensor]
|
4-index MPO tensor for the terminal site, in format
|
intermid_tnsr |
Optional[Tensor]
|
4-index MPO tensor for intermediate sites (between |
Notes¶
Tensor axis conventions:
leading_tnsr:(L_trivial_IN, op_OUT, bra_OUT, ket_IN)terminal_tnsr:(op_IN, R_trivial_OUT, bra_OUT, ket_IN)— scaled bycplat accumulation time.intermid_tnsr:(op_IN, op_OUT, bra_OUT, ket_IN)— required whenterminal_site > leading_site + 1. For bosonic systems this is the physical identity dressed with operator-channel bonds; for fermionic systems it is the Jordan-Wigner string operator.
See Also¶
- Interaction — base class.
- Interaction1Site — on-site partner.
- build_hamiltonian — consumes these objects.