最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - Change of basis in quspin - Stack Overflow

programmeradmin0浏览0评论

I am working on a system of fermions, where the Hamiltonian can be written as a non-interacting Fermi gas by changing the basis. I am using quspin to do exact diagonalization, and what I need to do is to define a new basis where the states are linear combinations of the states in spinless_fermion_basis_1d. I have read the documentation and see that there are 3 ways to represent the states on this basis, the index format, the Fock space format, and the integer format. If I access the states in integer or index format and then multiply by the scalars of the linear combination I clearly would not get the desired result, and when I use Fock states it interprets "2|001>" for instance, as "|001>|001>", and float numbers do not make sense. I wonder if it is possible to create a basis where the states are linear combinations with known scalars of the old basis states, and if so, what would be the recommended way of doing it? Thanks!

发布评论

评论列表(0)

  1. 暂无评论