-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add unit-tests to applyOp function #53
Conversation
I'll merge this PR in a couple of days unless someone objects or provide feedback. |
This looks good to me. However, I notice that you only use the |
Thanks for your review @johanjoensson ! True, only test with The current implementation of |
Sorry, I was confused. My version of |
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.
This looks good!
Add unit-tests to the function
applyOp
inimpurityModel/ed/finite.py
.applyOp
is a cornerstone of this repo.It applied an operator on a multi-configurational state and returns the resulting multi-configurational state.
The input operator can be anything (following the syntax: dict(process: process_amplitude))
The input multi-configurational state can be anything (following the syntax: dict(product_state: product_state_probability_amplitude))