Conjugate

Conjugate(a) gives the complex conjugate of object a. Object a is not changed, but cloned before conjugation

Input

• a : Object of any type

Output

• a' : conjugate of a

Example

A small example is:

Input

Conjugate.Quanty
dofile("../definitions.Quanty")

Opp3 = Conjugate(Opp2)
print(Opp2)
print(Opp3)

psi = psi1 + I * psi2
psi3 = Conjugate(psi)
print(psi)
print(psi3)

Result

Conjugate.out
Operator: Ly
QComplex         =          1 (Real==0 or Complex==1 or Mixed==2)
MaxLength        =          2 (largest number of product of lader operators)
NFermionic modes =          6 (Number of fermionic modes (site, spin, orbital, ...) in the one particle basis)
NBosonic modes   =          0 (Number of bosonic modes (phonon modes, ...) in the one particle basis)

Operator of Length   2
QComplex      =          1 (Real==0 or Complex==1)
N             =          8 (number of operators of length   2)
C  3 A  1 |  0.000000000000000E+00 -7.071067811865476E-01
C  1 A  3 |  0.000000000000000E+00  7.071067811865476E-01
C  2 A  0 |  0.000000000000000E+00 -7.071067811865476E-01
C  0 A  2 |  0.000000000000000E+00  7.071067811865476E-01
C  5 A  3 |  0.000000000000000E+00 -7.071067811865476E-01
C  3 A  5 |  0.000000000000000E+00  7.071067811865476E-01
C  4 A  2 |  0.000000000000000E+00 -7.071067811865476E-01
C  2 A  4 |  0.000000000000000E+00  7.071067811865476E-01

Operator: Ly
QComplex         =          1 (Real==0 or Complex==1 or Mixed==2)
MaxLength        =          2 (largest number of product of lader operators)
NFermionic modes =          6 (Number of fermionic modes (site, spin, orbital, ...) in the one particle basis)
NBosonic modes   =          0 (Number of bosonic modes (phonon modes, ...) in the one particle basis)

Operator of Length   2
QComplex      =          1 (Real==0 or Complex==1)
N             =          8 (number of operators of length   2)
C  3 A  1 |  0.000000000000000E+00  7.071067811865476E-01
C  1 A  3 |  0.000000000000000E+00 -7.071067811865476E-01
C  2 A  0 |  0.000000000000000E+00  7.071067811865476E-01
C  0 A  2 |  0.000000000000000E+00 -7.071067811865476E-01
C  5 A  3 |  0.000000000000000E+00  7.071067811865476E-01
C  3 A  5 |  0.000000000000000E+00 -7.071067811865476E-01
C  4 A  2 |  0.000000000000000E+00  7.071067811865476E-01
C  2 A  4 |  0.000000000000000E+00 -7.071067811865476E-01

WaveFunction: Wave Function
QComplex         =          1 (Real==0 or Complex==1)
N                =          3 (Number of basis functions used to discribe psi)
NFermionic modes =          6 (Number of fermions in the one particle basis)
NBosonic modes   =          0 (Number of bosons in the one particle basis)

#      pre-factor             +I  pre-factor         Determinant
1   3.162277660168E-01         0.000000000000E+00       110000
2   9.486832980505E-01         0.000000000000E+00       100010
3   0.000000000000E+00         1.000000000000E+00       010010

WaveFunction: Wave Function
QComplex         =          1 (Real==0 or Complex==1)
N                =          3 (Number of basis functions used to discribe psi)
NFermionic modes =          6 (Number of fermions in the one particle basis)
NBosonic modes   =          0 (Number of bosons in the one particle basis)

#      pre-factor             +I  pre-factor         Determinant
1   0.000000000000E+00        -1.000000000000E+00       010010
2   9.486832980505E-01        -0.000000000000E+00       100010
3   3.162277660168E-01        -0.000000000000E+00       110000