epraya.JNhze#

JNhze(I, iix, iiy, iiz, dim, gn, direction=[0, 0, 1])#

Function for the nuclear Zeeman interaction.

Parameters:
  • I (float) – Nuclear spin value.

  • iix (jax.np.array) – Pauli matrix of the nuclear spin x component.

  • iiy (jax.np.array) – Pauli matrix of the nuclear spin y component.

  • iiz (jax.np.array) – Pauli matrix of the nuclear spin z component.

  • dim (int) – Dimension of the total hamiltonian.

  • gn (float) – Nuclear g factor of the element of the paramagnetic center.

  • direction (jax.np.array) – Direction of incidence of the magnetic field.

Returns:

nhz (jax.np.array) – Matrix of the Zeeman nuclear interaction with dimension dim.

Example

>>> import epraya as epr
>>> Ham,Exp,_=epr.Jstart()
>>> Ham.I=1
>>> gn=epr.gnfactor('55Mn')
>>> ix,iy,iz=epr.JPauli(Ham.I)
>>> dim=int((2*Ham.I+1))
>>> print(epr.JNhze(Ham.I,ix,iy,iz,dim,gn,[0,0,1]))
[[ 1.3813+0.j  0.    +0.j  0.    +0.j]
[ 0.    +0.j  0.    +0.j  0.    +0.j]
[ 0.    +0.j  0.    +0.j -1.3813+0.j]]