Recent Changes - Search:

HomePage

PmWiki

pmwiki.org

MpScale

This program is a simple tool for scaling a wavefunction by a constant. The constant is evaluated using the toolkit expression evaluator, so it can be a general expression such as exp(i*pi*x).

If the wavefunction is a finite or IBC wavefunction, then the scaling factor acts in a global sense.

If the wavefunction is an iMPS, then the scaling factor acts per site.

Synopsis

mp-scale [options] <psi1> <factor>

Options

--help

show help message

Notes

To scale by a complex number, use the notation x+iy. But general expressions are allowed, including all functions normally allowed by the expression evaluator.

An improvement would be to show the unit cell size for iMPS, and also allow a unitcell option to scale the factor.

See Also

Edit - History - Print - Recent Changes - Search
Page last modified on December 09, 2021, at 02:35 AM