Skip to content

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

bjader
Copy link
Collaborator

@bjader bjader commented Jun 9, 2025

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

@lw-anderson lw-anderson self-requested a review June 10, 2025 15:35
Copy link
Collaborator

@lw-anderson lw-anderson left a 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
Copy link
Collaborator

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)
Copy link
Collaborator

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?

@lw-anderson
Copy link
Collaborator

examples/run_heavy_hex.py requires updating.

Okay, this is fixed. Just a couple of minor suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants