Skip to content

Fix recursive phased classical simulation#1731

Merged
mpharrigan merged 3 commits intoquantumlib:mainfrom
mpharrigan:2025-09/phase-classical-fix
Oct 3, 2025
Merged

Fix recursive phased classical simulation#1731
mpharrigan merged 3 commits intoquantumlib:mainfrom
mpharrigan:2025-09/phase-classical-fix

Conversation

@mpharrigan
Copy link
Copy Markdown
Collaborator

The classical simulators should recurse into bloq decompositions. The phased classical simulator would use the ordinary classical simulator when recursing since that was "baked into" the Bloq method -- and it would throw an error even if it should have been able to simulate the (sub-)circuit.

This changes the responsibility of dealing with the possible recursion to the simulator classes themselves.

@mpharrigan mpharrigan merged commit 2f29aa5 into quantumlib:main Oct 3, 2025
8 checks passed
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.

1 participant