Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:language_reference:functions:blockbanddiagonalize [2018/06/21 15:15] – Simon Heinze | documentation:language_reference:functions:blockbanddiagonalize [2024/12/31 14:09] (current) – Maurits W. Haverkort | ||
---|---|---|---|
Line 2: | Line 2: | ||
### | ### | ||
- | alligned paragraph text | + | The function // |
+ | $$ M = \begin{pmatrix} 0 & 1 & 1 \\ 1 & 1 & 0 \\ 1 & 0 & 1 \end{pmatrix} $$ | ||
+ | Now, assuming that $M$ corresponds to a tight-binding Hamiltonian defined on some basis, we can linearly combine the second and third basis orbitals, such that we get a single orbital which mix with the first orbital via the matrix M. Consider the following unitary rotation matrix: | ||
+ | $$ U = \begin{pmatrix} 1 & 0 & 0 \\ 0 & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ 0 & \frac{1}{\sqrt{2}} & -\frac{1}{\sqrt{2}} \end{pmatrix} $$ | ||
+ | Now, transforming the matrix $ M $ using the unitary matrix $ U $ results in: | ||
+ | $$ M' = U M U^{T} = \begin{pmatrix} 0 & \frac{1}{\sqrt{2}} & 0 \\ | ||
+ | In the new representation, | ||
+ | The basis orbital and not with the third one. | ||
+ | The function // | ||
### | ### | ||
- | ===== Input ===== | ||
- | |||
- | * bla : Integer | ||
- | * bla2 : Real | ||
- | |||
- | ===== Output ===== | ||
- | |||
- | * bla : real | ||
- | |||
- | ===== Example ===== | ||
- | |||
- | ### | ||
- | description text | ||
- | ### | ||
- | |||
- | ==== Input ==== | ||
- | <code Quanty Example.Quanty> | ||
- | -- some example code | ||
- | </ | ||
- | |||
- | ==== Result ==== | ||
- | <file Quanty_Output> | ||
- | text produced as output | ||
- | </ | ||
===== Table of contents ===== | ===== Table of contents ===== | ||
{{indexmenu> | {{indexmenu> | ||