Search found 7 matches

by dm_Physics
15 Mar 2022, 19:26
Forum: HowTos and FAQ for TeNPy
Topic: How Do I Define New Operators in TenPy
Replies: 4
Views: 2829

Re: How Do I Define New Operators in TenPy

Hello Jirawat,

Thank you very much for your response. In the example I gave on \(k_i^\dagger = b_i^\dagger \sigma_i^-\) would I just write

Code: Select all

BosonSite.add_op('Kd', kron("Bd", "Sp"))
?

Please kindly let me know.
by dm_Physics
11 Mar 2022, 00:08
Forum: HowTos and FAQ for TeNPy
Topic: How Do I Define New Operators in TenPy
Replies: 4
Views: 2829

How Do I Define New Operators in TenPy

I am currently studying the Bose Hubbard model that has been implemented in TenPy. Here the specific part of the code that I am studying: def init_terms(self, model_params): # 0) Read and set parameters. t = get_parameter(model_params, 't', 1., self.name, True) U = get_parameter(model_params, 'U', 0...
by dm_Physics
01 Feb 2022, 00:18
Forum: HowTos and FAQ for TeNPy
Topic: How Does Block Absorption Work in MPS DMRG
Replies: 1
Views: 1727

How Does Block Absorption Work in MPS DMRG

Hello, This is a conceptual question about how a key aspect of the DMRG works in the language of Matrix Product States. I have attached an image of Block Site absorption; this image has been taken from "DMRG in the Language of Matrix Product States" by Ulrich Schollwock. In this post, I ca...
by dm_Physics
22 Dec 2021, 20:56
Forum: HowTos and FAQ for TeNPy
Topic: Questions Regarding Implementation of a 1D Lattice of Bosons
Replies: 1
Views: 1799

Questions Regarding Implementation of a 1D Lattice of Bosons

Hello, I have been reading the Overview section of the tenpy documentation. This can be found in the following link: https://tenpy.readthedocs.io/en/latest/intro/overview.html Today I have looked at the SpinHalfSites sample code. After I have understood most of it, I adapted the code to implement a ...
by dm_Physics
22 Dec 2021, 19:35
Forum: HowTos and FAQ for TeNPy
Topic: How to Successfully Install TenPy on Windows
Replies: 3
Views: 2530

Re: How to Successfully Install TenPy on Windows

Welcome! It looks like conda is only looking in the win-32 channel, i.e. for a 32-bit package. However, we've only packaged/compiled a 64-bit version, since virtually all hardware (on which you'd like to run TeNPy) these days has 64-bit CPUs. Is your Windows 64 bit? Then you should also download th...
by dm_Physics
10 Dec 2021, 12:00
Forum: HowTos and FAQ for TeNPy
Topic: How to Successfully Install TenPy on Windows
Replies: 3
Views: 2530

Re: How to Successfully Install TenPy on Windows

Yes, my Windows is 64 bit so I will download the 64-bit anaconda. Thank you!!
by dm_Physics
05 Dec 2021, 20:52
Forum: HowTos and FAQ for TeNPy
Topic: How to Successfully Install TenPy on Windows
Replies: 3
Views: 2530

How to Successfully Install TenPy on Windows

Hello, This is my first time using TenPy and am trying to install it on my laptop, which uses Windows. I use Anaconda and Spyder to code in Python. I have been using (https://tenpy.readthedocs.io/en/latest/readme_wrap.html) to understand how to set up TenPy. Since I use conda, I considered typing (c...