Skip to content
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

Update THC Prepare to use QROAMClean #1378

Merged
merged 15 commits into from
Oct 5, 2024

Conversation

fdmalone
Copy link
Collaborator

@fdmalone fdmalone commented Sep 3, 2024

Use QROAMClean for THC prepare. Hit some issues with resource estimation notebook and fixes a bug with LCUBlockEncoding junk registers which may be sided (at least I think this is the desired behaviour).

BlackBoxPrepare does not work with sided registers either so I removed this from the resource estimation notebook (xref #1381)

I updated the call graph slightly to remove CirqGateAsBloq references and makes sure the decomposition matches the call graph.

I removed the PrepareTHC circuit diagram as the new QROAMClean bloq results in way too many junk registers making it unsightly (or really it just fails by default: #1380)

@fdmalone fdmalone changed the title Update thc prepare Update THC Prepare to use QROAMClean Sep 3, 2024
@fdmalone
Copy link
Collaborator Author

summoning @tanujkhattar

@tanujkhattar tanujkhattar self-assigned this Sep 23, 2024
Copy link
Collaborator

@tanujkhattar tanujkhattar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % nits

qualtran/bloqs/chemistry/thc/prepare.py Outdated Show resolved Hide resolved
qualtran/bloqs/chemistry/thc/prepare.py Outdated Show resolved Hide resolved
qualtran/bloqs/chemistry/thc/prepare.py Outdated Show resolved Hide resolved
@fdmalone fdmalone enabled auto-merge (squash) October 5, 2024 06:44
@fdmalone fdmalone merged commit 705149c into quantumlib:main Oct 5, 2024
8 checks passed
shab5 pushed a commit that referenced this pull request Oct 7, 2024
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