Tools /
## MpAddThis tool calculates the sum of a list of wavefunctions. Computational complexity: {$L m^3 d n^2$}, where {$n$} is the number of wavefunctions in the summation. [*] Matrix Product Toolkit version HEAD-0.7.4.0 (subversion tree rev 709:712) Compiled on Jul 16 2007 at 21:22:41 usage: mp-add [options] -o output-file-name input1 input2 ... Allowed options: --help show this help message --min-states arg Minimum number of states to keep [default 1] -m [ --max-states ] arg Maximum number of states to keep [default 100000] -r [ --trunc ] arg Cutoff truncation error per site [default 0] -d [ --eigen-cutoff ] arg Cutoff threshold for density matrix eigenvalues [default -1] -b [ --balanced ] rotate the wavefunctions inputN for N>1, so that the overlap <input1|inputN> is real and positive -o [ --output ] arg output filename [required] -v [ --verbose ] show additional information By default, the wavefunctions will be summed with zero truncation error, so that the result will have maximum fidelity. To limit the number of states, use the The truncation cutoff and eigenvalue cutoff is measured in The ## Examplesmp-add -v -o result psi1 psi2 This has the effect of {$|\mbox{result}\rangle = |\mbox{psi1}\rangle + |\mbox{psi2}\rangle$}, with no loss of fidelity. The mp-add -o result -R 1e-7 --min-states=50 psi1 psi2 psi3 Sum [*] Actually, there is probably a term {$L m^3 d^3 n$}, because we calculate the full density matrices when rotating the wavefunctions. This would be improved by using the SVD. |

Page last modified on February 14, 2008, at 06:00 AM