Differences
This shows you the differences between two versions of the page.
| Next revisionBoth sides next revision |
documentation:language_reference:functions:printexpectationvalues [2018/09/24 16:21] – created Simon Heinze | documentation:language_reference:functions:printexpectationvalues [2018/09/24 16:35] – Standard -> Default Simon Heinze |
---|
* opList : A list of operators for which expectation values are to be calculated | * opList : A list of operators for which expectation values are to be calculated |
* Possible Options are: | * Possible Options are: |
* "colWidth" Positive integer specifying the width of each column. (Standard 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. (Standard 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). (Standard 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). (Default false) |
* "sortByEnergy" Bool specifying if the wavefunctions are to be sorted by energy (needs an specified Hamiltonian for that). (Standard 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. (Standard 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) |
| |
===== Output ===== | ===== Output ===== |