hiperwalk.ContinuousTime.set_gamma#
- ContinuousTime.set_gamma(gamma=0.1)[source]#
Set gamma.
Parameter gamma is used in the definition of the Hamiltonian to determine the hopping probability per unit of time. Upon setting gamma, both the Hamiltonian and evolution operators are updated.
- Parameters:
- gammafloat, default=0.1
The value of gamma.
- Raises:
- TypeError
If
gamma
isNone
or complex.- ValueError
If
gamma < 0
.