Class : AbstractSpinChain
~AbstractSpinChain :
prototype: virtual ~AbstractSpinChain ()
description:virtual destructor
TotalSz :
prototype: virtual int TotalSz (int state )
description:
return value: return value of spin projection on (Oz) for a given state
input parameters:
Str = reference on current output stream
return value: spin projection on (Oz)
Sxi :
prototype: virtual Matrix& Sxi (int , Matrix& M )
description:return matrix representation of Sx
input parameters:
i = operator position
M = matrix where representation has to be stored
return value: corresponding matrix
Syi :
prototype: virtual Matrix& Syi (int , Matrix& M )
description:return matrix representation of i * Sy
input parameters:
i = operator position
M = matrix where representation has to be stored
return value: corresponding matrix
Szi :
prototype: virtual Matrix& Szi (int , Matrix& M )
description:return matrix representation of Sz
input parameters:
i = operator position
M = matrix where representation has to be stored
return value: corresponding matrix
Spi :
prototype: virtual int Spi (int , int , double& coefficient )
description:return index of resulting state from application of S+_i operator on a given state
input parameters:
i = position of S+ operator
state = index of the state to be applied on S+_i operator
coefficient = reference on double where numerical coefficient has to be stored
return value: index of resulting state
Smi :
prototype: virtual int Smi (int , int , double& coefficient )
description:return index of resulting state from application of S-_i operator on a given state
input parameters:
i = position of S- operator
state = index of the state to be applied on S-_i operator
coefficient = reference on double where numerical coefficient has to be stored
return value: index of resulting state
Szi :
prototype: virtual int Szi (int , int , double& coefficient )
description:return index of resulting state from application of Sz_i operator on a given state
input parameters:
i = position of Sz operator
state = index of the state to be applied on Sz_i operator
coefficient = reference on double where numerical coefficient has to be stored
return value: index of resulting state
SziSzj :
prototype: virtual double SziSzj (int , int , int state )
description:return eigenvalue of Sz_i Sz_j associated to a given state
input parameters:
i = first position
j = second position
state = index of the state to consider
return value: corresponding eigenvalue
SpiSpj :
prototype: virtual int SpiSpj (int , int , int , double& coefficient )
description:return index of resulting state from application of S+_i S+_j operator on a given state
input parameters:
i = position of first S+ operator
j = position of second S+ operator
state = index of the state to be applied on S+_i S+_j operator
coefficient = reference on double where numerical coefficient has to be stored
return value: index of resulting state
SmiSmj :
prototype: virtual int SmiSmj (int , int , int , double& coefficient )
description:return index of resulting state from application of S-_i S-_j operator on a given state
input parameters:
i = position of first S- operator
j = position of second S- operator
state = index of the state to be applied on S-_i S-_j operator
coefficient = reference on double where numerical coefficient has to be stored
return value: index of resulting state
SpiSzj :
prototype: virtual int SpiSzj (int , int , int , double& coefficient )
description:return index of resulting state from application of S+_i Sz_j operator on a given state
input parameters:
i = position of S+ operator
j = position of Sz operator
state = index of the state to be applied on S+_i Sz_j operator
coefficient = reference on double where numerical coefficient has to be stored
return value: index of resulting state
SmiSzj :
prototype: virtual int SmiSzj (int , int , int , double& coefficient )
description:return index of resulting state from application of S-_i Sz_j operator on a given state
input parameters:
i = position of S- operator
j = position of Sz operator
state = index of the state to be applied on S-_i Sz_j operator
coefficient = reference on double where numerical coefficient has to be stored
return value: index of resulting state
SmiSpj :
prototype: virtual int SmiSpj (int , int , int , double& coefficient )
description:return index of resulting state from application of S-_i S+_j operator on a given state
input parameters:
i = position of S- operator
j = position of S+ operator
state = index of the state to be applied on S-_i S+_j operator
coefficient = reference on double where numerical coefficient has to be stored
return value: index of resulting state
FindStateIndex :
prototype: virtual int FindStateIndex (unsigned long state )
description:find state index
input parameters:
state = state description
return value: corresponding index
Back to index.