-
Notifications
You must be signed in to change notification settings - Fork 13
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
fermionic creation and annihilation operators (c+, c, n) #7
Comments
fix fermionic creation and annihilation operators (c+, c, n) #7
Hi! Indeed, this was still on the todo list. using MPSKitModels, TensorKit, Test
@tensor begin
term1[a; b] := ccdag()[a, i; i, b]
term2[a; b] := cdagc()[a, i; i, b]
end
@test term1 + term2 ≈ id(domain(term)) using MPSKitModels, TensorKit, Test
@tensor begin
term1[a; b] := ccdag()[i, a; b, i]
term2[a; b] := cdagc()[i, a; b, i]
end
@test term1 + term2 ≈ -id(domain(term)) # note the minus! I.e. while TensorKit provides a consistent framework to work with fermions, thinking of these as single creation and annihilation operators becomes confusing rather quickly. I think the main issue lies in how to define daggers, in the sense that I cannot seem to find a consistent way to make sure that for example |
Hi,
I noticed the overview says "fermionic creation and annihilation operators (c+, c, n)" are defined and exported but I could not find them.
I found
electron_plusmin
and the like but it is not obvious what those are (spinful fermions?).I am interested in spinless fermion operators without any symmetries.
Or should I simply be doing Jordan-Wigner and using spins?
The text was updated successfully, but these errors were encountered: