-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade to use TensorNetworkQuantumSimulator #1
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
base: main
Are you sure you want to change the base?
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.
examples/run_heavy_hex.py
requires updating.
@@ -13,6 +13,8 @@ | |||
from qiskit import transpile |
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.
should we just delete this whole file?
expect_sigmaz = real.(expect(ψ, observables; (cache!)=Ref(bpc))) | ||
end | ||
|
||
function pauli_expectation_advanced(pauli, ψ, sites, boundarymps_rank) |
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.
what is the purpose of this function? how does it differ from the above? when is it used? perhaps the answer to this should be in a docstring?
Okay, this is fixed. Just a couple of minor suggestions. |
Changes:
The main functionality change here is the adoption of automatic BP caching and performance improvements. Currently there is no user-friendly way to set the BP cache parameters but this should be easy enough to do in a next round of changes