radtools.ExchangeHamiltonian.factor_one_half#

property

property ExchangeHamiltonian.factor_one_half: bool#

Whether factor 1/2 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:
factor_one_halfbool

True if factor 1/2 is present, False otherwise.

Raises:
NotationError

If the interpretation of the Hamiltonian`s notation is not set.

See also

set_interpretation

to change the interpretation of the Hamiltonian`s notation without the modification of the parameters.