Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision |
documentation:language_reference:functions:printexpectationvalues [2018/11/13 15:43] – Added code example and mentioned extraLists Simon Heinze | documentation:language_reference:functions:printexpectationvalues [2019/04/15 10:57] – Mentioned Operator Restrictions in printSigma Simon Heinze |
---|
* "colWidth" Positive integer specifying the width of each column. (Default value 8) | * "colWidth" Positive integer specifying the width of each column. (Default value 8) |
* "printHeaderEvery" Positive integer specifying how often the header should be printed. (Default value 0, meaning the header is only printed at the beginning) | * "printHeaderEvery" Positive integer specifying how often the header should be printed. (Default value 0, meaning the header is only printed at the beginning) |
* "printSigma" Bool specifying if the standard deviation shall be printed, useful for checking how close to an energy eigenstate a wavefunction is (needs an specified Hamiltonian for that). (Default false) | * "printSigma" Bool specifying if the standard deviation shall be printed, useful for checking how close to an energy eigenstate a wavefunction is (needs an specified Hamiltonian for that). If the Hamiltonian has restrictions it takes these into account, allowing to check how far away a wave function is from an eigenstate in a subspace. (Default false) |
* "sortByEnergy" Bool specifying if the wavefunctions are to be sorted by energy (needs an specified Hamiltonian for that). (Default false) | * "sortByEnergy" Bool specifying if the wavefunctions are to be sorted by energy (needs an specified Hamiltonian for that). (Default false) |
* "zero" Positive real number. Every number whose absolute value is smaller than zero is set to 0 for a more readable output. (Default 1E-10) | * "zero" Positive real number. Every number whose absolute value is smaller than zero is set to 0 for a more readable output. (Default 1E-10) |