-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pulse target qubit in MS gate lowering (#1473)
**Context:** When creating a `Ion::ParallelProtocolOp`, the custom builder incorrectly took in just the 0th qubit argument of the original gate operation. This is causing multi-bit gates (specifically the MS gate) to not be lowered to pulse ops with the correct wires, and causing all pulses to act on the 0th wire instead. **Description of the Change:** `ParallelProtocolOp`'s custom builder now take in all input qubits of the original gate operation. **Benefits:** Correct MS gate lowering in ion dialect
- Loading branch information
Showing
2 changed files
with
13 additions
and
13 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