Differences
This shows you the differences between two versions of the page.
| documentation:language_reference:functions:conjugate [2016/10/09 21:34] – created Maurits W. Haverkort | documentation:language_reference:functions:conjugate [2025/11/20 03:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Conjugate ====== | ||
| + | ### | ||
| + | // | ||
| + | ### | ||
| + | |||
| + | ===== Input ===== | ||
| + | |||
| + | * //a// : Object of any type | ||
| + | |||
| + | ===== Output ===== | ||
| + | |||
| + | * //a'// : conjugate of //a// | ||
| + | |||
| + | ===== Example ===== | ||
| + | |||
| + | ### | ||
| + | A small example is: | ||
| + | ### | ||
| + | |||
| + | ==== Input ==== | ||
| + | <code Quanty Conjugate.Quanty> | ||
| + | dofile(" | ||
| + | |||
| + | Opp3 = Conjugate(Opp2) | ||
| + | print(Opp2) | ||
| + | print(Opp3) | ||
| + | |||
| + | psi = psi1 + I * psi2 | ||
| + | psi3 = Conjugate(psi) | ||
| + | print(psi) | ||
| + | print(psi3) | ||
| + | </ | ||
| + | |||
| + | ==== Result ==== | ||
| + | <file Quanty_Output Conjugate.out> | ||
| + | Operator: Ly | ||
| + | QComplex | ||
| + | MaxLength | ||
| + | NFermionic modes = 6 (Number of fermionic modes (site, spin, orbital, ...) in the one particle basis) | ||
| + | NBosonic modes | ||
| + | |||
| + | Operator of Length | ||
| + | QComplex | ||
| + | N | ||
| + | C 3 A 1 | 0.000000000000000E+00 -7.071067811865476E-01 | ||
| + | C 1 A 3 | 0.000000000000000E+00 | ||
| + | C 2 A 0 | 0.000000000000000E+00 -7.071067811865476E-01 | ||
| + | C 0 A 2 | 0.000000000000000E+00 | ||
| + | C 5 A 3 | 0.000000000000000E+00 -7.071067811865476E-01 | ||
| + | C 3 A 5 | 0.000000000000000E+00 | ||
| + | C 4 A 2 | 0.000000000000000E+00 -7.071067811865476E-01 | ||
| + | C 2 A 4 | 0.000000000000000E+00 | ||
| + | |||
| + | |||
| + | |||
| + | Operator: Ly | ||
| + | QComplex | ||
| + | MaxLength | ||
| + | NFermionic modes = 6 (Number of fermionic modes (site, spin, orbital, ...) in the one particle basis) | ||
| + | NBosonic modes | ||
| + | |||
| + | Operator of Length | ||
| + | QComplex | ||
| + | N | ||
| + | C 3 A 1 | 0.000000000000000E+00 | ||
| + | C 1 A 3 | 0.000000000000000E+00 -7.071067811865476E-01 | ||
| + | C 2 A 0 | 0.000000000000000E+00 | ||
| + | C 0 A 2 | 0.000000000000000E+00 -7.071067811865476E-01 | ||
| + | C 5 A 3 | 0.000000000000000E+00 | ||
| + | C 3 A 5 | 0.000000000000000E+00 -7.071067811865476E-01 | ||
| + | C 4 A 2 | 0.000000000000000E+00 | ||
| + | C 2 A 4 | 0.000000000000000E+00 -7.071067811865476E-01 | ||
| + | |||
| + | |||
| + | |||
| + | WaveFunction: | ||
| + | QComplex | ||
| + | N = 3 (Number of basis functions used to discribe psi) | ||
| + | NFermionic modes = 6 (Number of fermions in the one particle basis) | ||
| + | NBosonic modes | ||
| + | |||
| + | # pre-factor | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | |||
| + | |||
| + | WaveFunction: | ||
| + | QComplex | ||
| + | N = 3 (Number of basis functions used to discribe psi) | ||
| + | NFermionic modes = 6 (Number of fermions in the one particle basis) | ||
| + | NBosonic modes | ||
| + | |||
| + | # pre-factor | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | ===== Table of contents ===== | ||
| + | {{indexmenu> | ||