-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the QIR base profile lowering to handle single qubit allocations …
…and (#474) * Fix the QIR base profile lowering to handle single qubit allocations and multiple allocations. This does not perform any live range analysis and assumes that all qubits for the kernel are allocated, logically, "in parallel" making them all distinct and assigning each a unique integer. These changes harden the QIR base profile generation pass, making it correct even when other preconditioning passes are absent. Add test. Remove singleton deallocs. Handle singleton allocations. * Fix 81-char line.
- Loading branch information
1 parent
9e11972
commit 8f8d1d7
Showing
9 changed files
with
269 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.