Skip to content

Add the ability to load Pauli strings#3

Draft
BrendanKKrueger wants to merge 4 commits intomainfrom
bkk_load_pauli_strings
Draft

Add the ability to load Pauli strings#3
BrendanKKrueger wants to merge 4 commits intomainfrom
bkk_load_pauli_strings

Conversation

@BrendanKKrueger
Copy link
Copy Markdown
Collaborator

@BrendanKKrueger BrendanKKrueger commented Apr 13, 2026

If we're going to claim it in the paper, we should really add it. And it should be easy to quickly add at least a very basic version of this.

Reuben is working on grouping, and he may end up modifying this and/or creating a second reader that does something similar but supports grouping.

  • Add testing

@BrendanKKrueger BrendanKKrueger self-assigned this Apr 13, 2026
@BrendanKKrueger
Copy link
Copy Markdown
Collaborator Author

There are now three ways to transfer a Hamiltonian from hamgen.py to qre_driver.py: the tensors file, the Pauli strings file (dense strings), and the Pauli strings file (sparse strings). The two Pauli strings files are consistent with each other, but the tensors file is a little different. I'm not sure how big of a concern that is -- how consistent should the results be?

format Clifford T qubit
dense Pauli 9985041685 5343554322 23
sparse Pauli 9985041685 5343554322 23
tensors 9978292301 5337820622 23

@BrendanKKrueger BrendanKKrueger marked this pull request as draft April 13, 2026 15:29
@BrendanKKrueger BrendanKKrueger force-pushed the bkk_load_pauli_strings branch from 572b65a to 6ce5b80 Compare April 13, 2026 16:36
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