radtools.ExchangeHamiltonian.minus_sign#
property
- property ExchangeHamiltonian.minus_sign: bool#
Whether the minus sign is present in the Hamiltonian.
Access this attribute to check the current notation of the Hamiltonian, set this attribute to change the notation of the Hamiltonian.
- Returns:
- minus_signbool
Trueif minus sign is present,Falseotherwise.
- Raises:
NotationErrorIf the interpretation of the Hamiltonian`s notation is not set.
See also
set_interpretationto change the interpretation of the Hamiltonian`s notation without the modification of the parameters.