Differences
This shows you the differences between two versions of the page.
| documentation:basics:expectation_values [2016/10/06 20:35] – created Maurits W. Haverkort | documentation:basics:expectation_values [2016/10/10 09:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{indexmenu_n> | ||
| + | ====== Expectation values ====== | ||
| + | ### | ||
| + | Expectation values are calculated as $\langle \psi_i | O | \psi_j \rangle$. For an $n$ electron wave-function this represents the $3n$ dimensional integral over the position coordinates of all electrons: | ||
| + | $$ | ||
| + | \begin{align} | ||
| + | | ||
| + | \nonumber | ||
| + | \end{align} | ||
| + | $$ | ||
| + | In Quanty the complex conjugates of the first wavefunction is automatically assumed and expectation values are implemented as multiplication of wavefunctions and operators. | ||
| + | <code Quanty Example.Quanty> | ||
| + | -- expectation values of operators are | ||
| + | -- calculated by multiplying a wavefunction times | ||
| + | -- an operator times a wavefunction | ||
| + | val = psi1 * Opp * psi2 | ||
| + | </ | ||
| + | ### | ||
| + | |||
| + | |||
| + | ===== Index ===== | ||
| + | - [[documentation: | ||
| + | - [[documentation: | ||
| + | - [[documentation: | ||
| + | - Expectation values | ||
| + | - [[documentation: | ||
| + | - [[documentation: | ||
| + | - [[documentation: | ||
| + | - [[documentation: | ||