no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionLast revision | |||
— | documentation:language_reference:functions:braketdiagonal [2022/10/05 16:26] – Maurits W. Haverkort | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== BraketDiagonal ====== | ||
+ | |||
+ | ### | ||
+ | // | ||
+ | |||
+ | In Quanty // | ||
+ | ### | ||
+ | |||
+ | ===== Input ===== | ||
+ | |||
+ | * psi1 or psiList1 : Wavefunction or list of Wavefunctions | ||
+ | * O : Operator | ||
+ | * psi2 or psiList2 : Wavefunction or list of Wavefunctions | ||
+ | |||
+ | ===== Output ===== | ||
+ | |||
+ | * real or complex number, or a list of these or a matrix of these | ||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | ### | ||
+ | description text | ||
+ | ### | ||
+ | |||
+ | ==== Input ==== | ||
+ | <code Quanty Example.Quanty> | ||
+ | -- some example code | ||
+ | </ | ||
+ | |||
+ | ==== Result ==== | ||
+ | <file Quanty_Output> | ||
+ | text produced as output | ||
+ | </ | ||
+ | |||
+ | ===== Table of contents ===== | ||
+ | {{indexmenu> | ||