-
Notifications
You must be signed in to change notification settings - Fork 174
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
Move fermions to stable netket #1797
base: master
Are you sure you want to change the base?
Conversation
yes I agree this naming can be confusing, why not keeping only one MetropolisExchange that works for everything? |
Because the An alternative could be to allow to optionally pass the |
yes that might not be ideal uhm, I don't know... maybe let's just find an altenartive name then. I suggest "MetropolisHop" |
essentially because you are doing a hopping of a particle on a lattice, which distinguishes enough with continuos space I guess |
it would be ideal if |
the problem is that we have a 'physical graph' and a 'degree of freedom graph'. ExchangeRule wants the 'degree of freedom graph' while ParticleExchange wants 'physical graph'. |
What would it do for bosons? we don't have spinful bosons atm... |
I think this sampler should just take a random particle (whatever its spin) and move it in an empty site, so this is generalizable to all kind of particles on a lattice, including bosons |
b1bb8aa
to
381c95f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1797 +/- ##
==========================================
- Coverage 50.62% 49.02% -1.61%
==========================================
Files 312 313 +1
Lines 19050 19098 +48
Branches 2782 2786 +4
==========================================
- Hits 9644 9362 -282
- Misses 8699 9031 +332
+ Partials 707 705 -2 ☔ View full report in Codecov by Sentry. |
This PR moves fermions to stable netket, raising deprecation warnings if using the experimental bindings.
Still has to update all the tests.
--
The only thing that I am still uncovinced and I would like to fix before moving everything to stable netket are:
MetropolisParticleExchange
andParticleExchange
rule is not very discoverable, and I saw quite a few people who did not realise it exists. Also the name is not very clear, becauseParticle
is our continuous space Hilbert space, not the fermionic one...Before this PR can be merged, I would like to explore the possibility of changing the name of the
ParticleExchange
rule (or not) and add more information in the docstrings of Hilbert explicitly pointing out to this sampling rule...