-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Boolean Hamiltonian gate yields fewer gates #4386
Boolean Hamiltonian gate yields fewer gates #4386
Conversation
This is code extracted from #3989 into the present stand-alone, smaller PR. There has already been some review there, but more comments are of course welcome. |
@95-martin-orion |
Happy to take on review of this PR, but I'll be out for the next couple of weeks. If it's urgent, please find another reviewer. |
Oh, it is not urgent, but I also want you to have a relaxing coming back from vacation. Maybe @cduck could take a look? My main concerns are not letting garbage code in and not overloading reviewers. |
Thanks. I am sorry for having forgotten the reference. The code must have been quite cryptic. I tried to address all the comments, but I left one unresolved. PTAL. |
Thanks. PTAL |
Sorry for the delay. I hadn't forgotten, I was just needing a little time to understand things. @95-martin-orion PTAL when you can. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of minor cleanups left, but otherwise I think this is ready. Thanks for bearing with me!
@95-martin-orion PTAL when you have the time |
* Boolean Hamiltonian gate yields fewer gates * Address some of the comments * Address some of the comments * Add unit test * Expand unit test * Fix unit test * Add test that is failing but should pass * More comprehensive tests * Fix code and make unit tests pass * Address comments
* Boolean Hamiltonian gate yields fewer gates * Address some of the comments * Address some of the comments * Add unit test * Expand unit test * Fix unit test * Add test that is failing but should pass * More comprehensive tests * Fix code and make unit tests pass * Address comments
This is a follow-up on #4309. The intent is to have the output of he gate unchanged by doing the same operation using fewer CNOTs.