-
Notifications
You must be signed in to change notification settings - Fork 23
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
Matcher incredibly slow? #249
Comments
By way of example: I have a circuit consisting of 8 CNOTS, I apply rotate_simp and it takes 16 minutes to perform the first rewrite (and then all the rest follow within a couple of seconds.) |
Could you give a good and a bad commit, as well as a project which demonstrates the issue? Probably not hard to craft, but you seem to have one on hand already. |
Good commit - I don't know; something that was current in the summer? |
Could you include the rules you're using? Having a demo project available makes reproduction a lot easier. I'll be creating my own, but can't guarantee I'll see what you're seeing without having the same project (theory+rewrite rules). |
I'm using the example zx-stabilzier project. I am running Mac OS X 10.13.6. I have Java : and Scala and sbt: stable 1.2.6 |
Just got a full project with a minimal set of rules running, I think I see what you mean. Let me just identify a good commit and I'll run a bisect on it. |
Finally found one, but had to dump a few that I was sure I'd already used without any issues. Starting to suspect one of the dependencies broke something. |
Which commit is good? I need a working version :) |
qpc2018 seems to be good. Which is weird, because a moment ago it wasn't. I'll run it again on the sample case. |
Nope, never mind, qpc2018 is also bad, it just takes a bit longer to show. You might want to try qpc-practical-2018 next, but I'm going to take a break from this issue now and take another look later this evening, or maybe tomorrow. If you find any commit which works, could you please share it here? The weird thing is, I've used qpc2018. It was fine. And now it's not. But only in interactive mode does it really break this badly. |
Hi Sal, |
Try applying green fusion twice (first the one highlighted in your picture, then the one above that). After that, it locked up on my machine. |
Confirmed, not the example you mention but using the spider rules seems to trigger it. |
Just built the latest integration and matching seems to have become incredibly slow. To the point where interactive use looks like it's crashed, but it's taking minutes to come up with any matches for about 5 rules and a graph with 10--15 vertices.
Is anyone else seeing this?
The text was updated successfully, but these errors were encountered: