-
Notifications
You must be signed in to change notification settings - Fork 109
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
Circuit sampling with slicing depends on deleted Cotengra class #186
Comments
Hi @juliendrapeau, Apologies! I had forgotten that the opt = cotengra.ReusableHyperOptimizer(
slicing_opts=dict(...),
) then quimb will use it to both find the contraction path and also see that it can use cotengra to contract the network directly using the newer implementation of performing sliced contraction. This is I think already set-up, but I need to double check. |
Hi @jcmgray, Thank you for your response. This seems to be set-up and working as far as I can tell. Related to this issue, in the description of the Thank you, |
I would need to double check, but I think that is just a typo, where in fact it should be a reusable optimizer. The overwrite arg is really for advanced usage where you want to ignore any matching tree that is already in the cache. |
All right! Thank you again, |
What happened?
Hi,
I am trying to sample from large circuits with the function quimb.tensor.Circuit.sample(). Since the circuit is large, I need to use slicing with the argument target_size in order to use less memory. However, this process requires the class cotengra.Sliced_Contractor(), which was removed from Cotengra on April 24.
Is there a simple way to fix this issue?
Thank you,
Julien Drapeau
Environment
quimb-1.5.1.dev11+gf0c5ea8
The text was updated successfully, but these errors were encountered: