1 package JSci.physics.quantum; 2 3 import JSci.maths.*; 4 import JSci.maths.matrices.AbstractComplexSquareMatrix; 5 import JSci.maths.algebras.*; 6 7 12 public final class SpinOperator extends Operator { 13 private static final LieAlgebra spin1_2=su2Dim2.getInstance(); 14 private static final LieAlgebra spin1=su2Dim3.getInstance(); 15 18 public static final SpinOperator X1_2=new SpinOperator(spin1_2.basis()[0]); 19 22 public static final SpinOperator Y1_2=new SpinOperator(spin1_2.basis()[1]); 23 26 public static final SpinOperator Z1_2=new SpinOperator(spin1_2.basis()[2]); 27 30 public static final SpinOperator X1=new SpinOperator(spin1.basis()[0]); 31 34 public static final SpinOperator Y1=new SpinOperator(spin1.basis()[1]); 35 38 public static final SpinOperator Z1=new SpinOperator(spin1.basis()[2]); 39 42 private SpinOperator(AbstractComplexSquareMatrix spinMatrix) { 43 super(spinMatrix); 44 } 45 48 public boolean isSelfAdjoint() { 49 return true; 50 } 51 54 public boolean isUnitary() { 55 return true; 56 } 57 60 public Complex trace() { 61 return Complex.ZERO; 62 } 63 } 64 65 | Popular Tags |