Search found 10 matches
- 22 Aug 2023, 14:04
- Forum: HowTos and FAQ for TeNPy
- Topic: Product of Operators
- Replies: 3
- Views: 20009
Re: Product of Operators
Yes, true. That is why I first do the projection and have few-body terms where I use multi_coupling_terms to implement the Hamiltonian. Just curiosity, how would we implement it naively? How would we implement this sort of product terms given in my original post?
- 16 Aug 2023, 13:28
- Forum: HowTos and FAQ for TeNPy
- Topic: Product of Operators
- Replies: 3
- Views: 20009
Product of Operators
How can we add terms like \(O_k=\Pi_{<i,j>} (1-n_i n_j)B_k \quad i,j \neq k\) to Hamitonian ?
- 07 Sep 2022, 08:31
- Forum: HowTos and FAQ for TeNPy
- Topic: Bose-Hubbard Model Single Particle Excitation Gap
- Replies: 2
- Views: 3553
Bose-Hubbard Model Single Particle Excitation Gap
Basically, I am trying to find the boundaries delimiting the first two Mott lobes by calculating the single-particle excitation gap. I do not really get how I should fix the lattice size and vary the particle numbers (N,N+1,N-1) such that I can calculate the quantity, \Delta = \mu^+ - \mu^-, \quad\m...
- 07 Sep 2022, 07:18
- Forum: HowTos and FAQ for TeNPy
- Topic: Varying Lattice Spacing
- Replies: 2
- Views: 3169
Re: Varying Lattice Spacing
Thank you, for the time being, I indeed call the add_exponentially_decaying_coupling() several times
- 31 Aug 2022, 07:06
- Forum: HowTos and FAQ for TeNPy
- Topic: Varying Lattice Spacing
- Replies: 2
- Views: 3169
Varying Lattice Spacing
Basically what I am trying to do is that I want to have a dimerized lattice (having a 1D lattice with alternating lattice spacing, (say a,2a,a,2a ...). I can achieve this by modifying the coupling between sites by using a unit cell with two sites. However, I would like to also have a long-range inte...
- 31 Aug 2022, 06:54
- Forum: HowTos and FAQ for TeNPy
- Topic: Converting MPS to State Vector
- Replies: 2
- Views: 4449
Re: Converting MPS to State Vector
Thank you very much. After posting the question I actually wrote my own routine and I just wanted to make a comparison.
- 13 Aug 2022, 12:00
- Forum: HowTos and FAQ for TeNPy
- Topic: Converting MPS to State Vector
- Replies: 2
- Views: 4449
Converting MPS to State Vector
Bear in mind that I just started learning about MPS and DMRG, hence this might be a stupid question. Is it possible to obtain the state vector representation of a quantum state provided that we have the MPS representation? Basically, can we convert a given MPS ground state to the linear superpositio...
- 28 Jul 2022, 07:40
- Forum: HowTos and FAQ for TeNPy
- Topic: Crash during calculation of <Sy>
- Replies: 4
- Views: 4149
Re: Crash during calculation of <Sy>
Thank you very much for your help. It was indeed about BLAS and I think there were some clashes with MKL during the run as well. I created a separate env for tenpy from scratch, everything works as expected.
- 27 Jul 2022, 18:38
- Forum: HowTos and FAQ for TeNPy
- Topic: Crash during calculation of <Sy>
- Replies: 4
- Views: 4149
Re: Crash during calculation of <Sy>
I used conda to install TenPy, I will try your suggestion.
- 27 Jul 2022, 15:58
- Forum: HowTos and FAQ for TeNPy
- Topic: Crash during calculation of <Sy>
- Replies: 4
- Views: 4149
Crash during calculation of <Sy>
Hi everyone, for some reason, I have been having a weird problem with my setup where I receive the following error, Process finished with exit code 139 (interrupted by signal 11: SIGSEGV),whenever I try to calculate <Sy> or <Sy_iSy_j> . Minimal example can be found below, basically the XXZ chain tut...