-
Notifications
You must be signed in to change notification settings - Fork 61
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
use diagonal matrix with group commutator #1154
Conversation
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.
Thanks.
The tests errors are due to the dbf_migrate
branch, right?
Not really, I think that it is better if we fix them in this PR. @Edoardo-Pedicillo feel free to do it whenever you have time otherwise I can do it. |
@MatteoRobbiati Hi Matteo, I think this PR broke |
@Sam-XiaoyueLi you are right, because now we don't need to raise an error, since we have a default matrix with pytest.raises(ValueError):
dbf(mode=DoubleBracketGeneratorType.single_commutator, step=0.01) from the tests. What do you think @Edoardo-Pedicillo, @andrea-pasquale? |
@Sam-XiaoyueLi One comment, maybe others can help to understand the dependancies: I believe For now DBI is not deployable because we don't unfold so it's a classical simulator model but I'm preparing to do the transpiler into Hamiltonian simulation and then we will have to switch. Possible solution: add |
Hi all, actually the correct lines to remove should be
given that this PR changes only the |
Checklist: