Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
documentation:language_reference:functions:operatorsettrace [2018/09/26 11:50] – Filled with content Simon Heinzedocumentation:language_reference:functions:operatorsettrace [2018/09/26 13:00] – disclaimer Simon Heinze
Line 2: Line 2:
  
 ### ###
-OperatorSetTrace($O$, $t$, {$i_1,...,i_n$}) takes an Operator $O$, an optional real value $t$ for the trace and an optional list {$i_1,...,i_n$} of included orbitals, and sets the trace of these orbitals to $t$. It furthermore sets any scalar offset of the operator to 0. If no list of indices is given the function includes all orbitals up to the number of fermionic states, and if no value $t$ is given the trace is set to 0.+OperatorSetTrace($O$, $t$, {$i_1,...,i_n$}) takes an Operator $O$, an optional real value $t$ for the trace and an optional list {$i_1,...,i_n$} of included orbitals, and sets the trace of these orbitals to $t$. It furthermore sets any scalar offset of the operator to 0 (or rather will, with the next update). If no list of indices is given the function includes all orbitals up to the number of fermionic states, and if no value $t$ is given the trace is set to 0.
  
 After the operation the operator has the property After the operation the operator has the property
Print/export