Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
documentation:language_reference:functions:operatortomatrix [2025/01/06 15:00] – Maurits W. Haverkort | documentation:language_reference:functions:operatortomatrix [2025/01/06 15:01] (current) – Maurits W. Haverkort | ||
---|---|---|---|
Line 24: | Line 24: | ||
### | ### | ||
For the case there is a table of states given as second input the matrix $M$ is given by the elements $M_{i,j} = \langle | For the case there is a table of states given as second input the matrix $M$ is given by the elements $M_{i,j} = \langle | ||
- | psi_i | H | \psi_j \rangle$. | + | \psi_i | H | \psi_j \rangle$. In this case the dimension of $M$ is $n$ with $n$ the length of the table of states. |
### | ### | ||