Search found 2 matches
- 21 Jan 2019, 13:23
- Forum: HowTos and FAQ for TeNPy
- Topic: Expectation values using GroupedSite
- Replies: 2
- Views: 3279
Re: Expectation values using GroupedSite
Ah yes, this makes lots of sense. Thanks so much for the response Johannes!
- 20 Jan 2019, 18:17
- Forum: HowTos and FAQ for TeNPy
- Topic: Expectation values using GroupedSite
- Replies: 2
- Views: 3279
Expectation values using GroupedSite
Caveat: probably I'm misunderstanding exactly how GroupedSite is working. I'd like to evaluate something like psi.expectation_value('Sx') for a MPS 'psi' which has each k adjacent sites grouped using GroupedSite. I think one way would be to add the desired kind of operator to the GroupedSite class? ...