Tools /
MpConstructConstruct finite or infinite product states by specifying the local basis states and bond quantum numbers. Synopsis
Options
Show help message
Lattice filename [required]
Output wavefunction filename [required]
Force overwriting the output file
Create an infinite wavefunction [default behaviour]
Create a finite wavefunction
Increase verbosity
DescriptionThis tool will create a wavefunction which is written as a tensor product of the local basis states in the lattice file. The local basis states are specified in the positional argument of the tool. There are two ways to specify the state:
It is not possible to mix these two syntaxes (e.g. by having a colon on some bonds and having the quantum number in brackets on some other bonds). Whitespaces are ignored, so If the local basis state or quantum number can be uniquely determined (e.g. if there is only one local basis state, as in To generate an infinite state, the string will specify the unit cell of the resulting wavefunction. For finite states, the string will specify the entire wavefunction. Note that in both cases, the number of sites in the string must be an integer multiple of the lattice unit cell (so if the lattice has a four-site unit cell, we must write either 4, 8, 12 etc. states for the infinite unit cell or finite wavefunction). Examples
$ spinchain-u1 -o lattice $ mp-construct -l lattice -o psi 0.5:-0.5 Note that if we want to have the unit cell the other way around, we must use $ mp-construct -l lattice -o psi " -0.5:0.5" so the program doesn't interpret If we want a finite state, we must write out how many sites we want: e.g. for a 10-site state $ mp-construct -l lattice -o psi --finite 0.5:-0.5:0.5:-0.5:0.5:-0.5:0.5:-0.5:0.5:-0.5
$ spinchain-su2 -o lattice $ mp-construct -l lattice -o psi "(0.5)(0.5)" Since the only local basis state is |