Replies: 3 comments 9 replies
-
Yes I have noticed this occasionally but not looked deeply into it, I presume its do with some bad combination of hyper-parameters supplied to the
As a side note, yes the [1] |
Beta Was this translation helpful? Give feedback.
-
I think I found the problem. The |
Beta Was this translation helpful? Give feedback.
-
In my experience I often got slow runs with a high parts hyperparameter and high imbalance, so usually trees where the optimal solution is a very "slim" / unbalanced tree, which is the case for the sycamore circuit you mentioned. The hyperoptimizer will converge to those settings on such problems so the later runs can be slower. Might be related to this line of code as well, that is executed when all remaining nodes are in a single partition. I am not entirely sure though. I found a way that eliminates the need to have many parts or a high imbalance to find good unbalanced contraction trees, you can find my code here: https://github.com/ti2-group/hybrid_contraction_tree_optimizer. It comes with a cotengra hyperoptimizer class so it can be used with cotengra right away, you just need to import this file and use the method hhg. The algorithm is part of a paper that got accepted and will be published soon. Happy to talk about directly integrating it into cotengra. I can also sent you a preprint if you like. Using the new method on the m=20 Sycamore circuit will yield very good results (up to 2 times better than with the current cotengra kahypar algorithm after 1h) after only a few minutes. |
Beta Was this translation helpful? Give feedback.
-
Hi, the HyperOptimizer spends all the time on the final sample. These final samples are usually not that good either. This is the case for whatever
max_time
I choose. The code isThe output is
Beta Was this translation helpful? Give feedback.
All reactions