Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
documentation:language_reference:functions:operatorsettrace [2018/09/25 13:40] – created Simon Heinze | documentation:language_reference:functions:operatorsettrace [2018/09/26 11:50] – Filled with content Simon Heinze | ||
---|---|---|---|
Line 2: | Line 2: | ||
### | ### | ||
- | alligned paragraph text | + | OperatorSetTrace($O$, |
+ | |||
+ | After the operation the operator has the property | ||
+ | \begin{equation*} | ||
+ | \sum_{j=\{i_1, | ||
+ | O_{jj} | ||
+ | = | ||
+ | t | ||
+ | \hspace{0.3cm} | ||
+ | , | ||
+ | \end{equation*} | ||
+ | where $O_{jj}$ are the prefactors of the diagonal quadratic terms of the operator, | ||
+ | \begin{equation*} | ||
+ | O | ||
+ | = | ||
+ | \sum_{i, | ||
+ | O_{ij} a_i^\dagger a_j^{\phantom{\dagger}} | ||
+ | + | ||
+ | ... | ||
+ | \hspace{0.3cm} | ||
+ | . | ||
+ | \end{equation*} | ||
### | ### | ||
===== Input ===== | ===== Input ===== | ||
- | * bla : Integer | + | * $O$ : Operator |
- | * bla2 : Real | + | * $t$ : New value of the trace (Default 0) |
+ | * {$i_1, | ||
===== Output ===== | ===== Output ===== | ||
- | * bla : real | + | * $O^\prime$ |
===== Example ===== | ===== Example ===== | ||
### | ### | ||
- | description text | + | Give me just a minute. |
### | ### | ||