Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't see occupations for composite many-body basis #383

Open
Umut-Can-Physics opened this issue Feb 23, 2024 · 0 comments
Open

Can't see occupations for composite many-body basis #383

Umut-Can-Physics opened this issue Feb 23, 2024 · 0 comments

Comments

@Umut-Can-Physics
Copy link

Example code is following:

b = NLevelBasis(3)
s = bosonstates(b, [0,1,2])
mb = ManyBodyBasis(b,s)
A = destroy(mb,1) ⊗ identityoperator(mb) # composite operator
A.basis_l # print: [ManyBody(onebodybasis=NLevel(N=3), states:10) ⊗ ManyBody(onebodybasis=NLevel(N=3), states:10)]
mb.occupations # one species basis # I can reach it
MB = tensor(mb,mb)
# But there is no occupations tag for MB object
MB.bases # (ManyBody(onebodybasis=NLevel(N=3), states:10), ManyBody(onebodybasis=NLevel(N=3), states:10))
MB.shape # 2-element Vector{Int64}: 10 10

So, ı want to see our occupations or Fock basis for composite mixture. I'm wondering how QoJulia construct basis for my A operator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant