epraya.JStevensO#

JStevensO(ssx, ssy, ssz, s, Ham, dim)#

Expanded Stevens operators following the rule k<=2s and the definition by Rudowicz and Chung.

Parameters:
  • ssx (jax.np.array) – Pauli matrix of the spin x component.

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

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

  • s (float) – Spin operator value.

  • Ham (Class) – Hamiltonian parameters container.

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

Returns:

totales (jax.np.array) – Matrix with the contribution of the relevant Stevens operators.

Example

>>> import epraya as epr
>>> Ham, _, _ = epr.Jstart()
>>> Ham.S=1
>>> Ham.D=[700,200]
>>> Ham=epr.Jchaframe(Ham,Exp)
>>> dim=int(2*Ham.S+1)
>>> sx,sy,sz=epr.JPauli(Ham.S)
>>> print(epr.JStevensO(sx,sy,sz,Ham.S,Ham,dim))
[[ 233.33333+0.j    0.     +0.j  199.99998+0.j]
[   0.     +0.j -466.66666+0.j    0.     +0.j]
[ 199.99998+0.j    0.     +0.j  233.33333+0.j]]