Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:language_reference:functions:operatortomatrix [2025/01/06 15:00] – Maurits W. Haverkort | documentation:language_reference:functions:operatortomatrix [2025/11/20 03:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| 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. |
| ### | ### | ||