Skip to main content

UnitaryXYZ

UnitaryXYZ(const List<real> Js, const List<integer> sites) -> OperatorParam<real>

Returns a spin-1/2 UnitaryXYZ(Jx,Jy,Jz)(J_x, J_y, J_z) operator: exp(i(JxX(i)X(j)+JyY(i)Y(j)+JzZ(i)Z(j)))\exp(-i(J_x X(i) X(j) + J_y Y(i) Y(j) + J_z Z(i) Z(j))) where i,ji, j are the site indices.

Parameters

  • Js: Vector of exactly three parameters: [Jx, Jy, Jz].
  • sites: Vector of exactly two site indices where the operator acts.

Example

var xyz01 = UnitaryXYZ([0.5, 1.0, 1.5], [0, 1])  // coupling between sites 0 and 1