+1 vote
asked by (960 points)

Hi,

Is there a way to update the MPS constructor so that the initial state has some default values? This would be a nice feature.

Thanks

Jon

commented by (70.1k points)
Hi Jon, could you clarify which behavior you'd like? Which version of the MPS constructor are you referring to specifically? The one that just takes a site set makes a random product state MPS. There is also one that takes an InitState which makes a specific product state that you can request. Thanks -
commented by (960 points)
I think that is all I wanted to know; do you know properties of the initial random MPS?
commented by (70.1k points)
Ok thanks for clarifying. So it's a product state with totally random entries for each tensor (the tensor for each site). The only constraint on the random entries is that they are always real.

1 Answer

0 votes
answered by (70.1k points)

(See answer to question above.)

Jon, I updated the MPS documentation page to clarify that the product state made by the MPS(sites) constructor is real-valued.

Here is the link:

http://itensor.org/docs.cgi?page=classes/mps

Welcome to ITensor Support Q&A, where you can ask questions and receive answers from other members of the community.

Formatting Tips:
  • To format code, indent by four spaces
  • To format inline LaTeX, surround it by @@ on both sides
  • To format LaTeX on its own line, surround it by $$ above and below
  • For LaTeX, it may be necessary to backslash-escape underscore characters to obtain proper formatting. So for example writing \sum\_i to represent a sum over i.
If you cannot register due to firewall issues (e.g. you cannot see the capcha box) please email Miles Stoudenmire to ask for an account.

To report ITensor bugs, please use the issue tracker.

Categories

...