You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🎨 Streamline capitalization and stylization of jeff (#1677)
## Description
This PR streamlines the capitalization and stylization of `jeff`.
## Checklist
- [x] The pull request only contains commits that are focused and
relevant to this change.
- [x] ~~I have added appropriate tests that cover the new/changed
functionality.~~
- [x] ~~I have updated the documentation to reflect these changes.~~
- [x] ~~I have added entries to the changelog for any noteworthy
additions, changes, fixes, or removals.~~
- [x] ~~I have added migration instructions to the upgrade guide (if
needed).~~
- [x] The changes follow the project's style guidelines and introduce no
new warnings.
- [x] The changes are fully tested and pass the CI checks.
- [x] I have reviewed my own code changes.
Copy file name to clipboardExpand all lines: mlir/include/mlir/Conversion/QCOToJeff/QCOToJeff.td
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,16 @@
9
9
include "mlir/Pass/PassBase.td"
10
10
11
11
def QCOToJeff : Pass<"qco-to-jeff"> {
12
-
let summary = "Convert QCO operations to Jeff operations";
12
+
let summary = "Convert QCO operations to `jeff` operations";
13
13
14
14
let description = [{
15
-
This pass converts all operations from the QCO dialect to their equivalent operations in the Jeff dialect.
16
-
It ensures that the returned module is a valid Jeff module that can be serialized.
15
+
This pass converts all operations from the QCO dialect to their equivalent operations in the `jeff` dialect.
16
+
It ensures that the returned module is a valid `jeff` module that can be serialized.
17
17
18
-
Note that this pass is still in development as QCO and Jeff do not have full feature parity yet.
18
+
Note that this pass is still in development as QCO and `jeff` do not have full feature parity yet.
19
19
20
-
`qco.static` is currently converted to `jeff.qubit_alloc` because Jeff does not yet represent static (index-based) qubits; the index is not preserved in Jeff IR. Round-tripping through Jeff therefore maps static qubits to dynamic allocation on the QCO side.
20
+
`qco.static` is currently converted to `jeff.qubit_alloc` because `jeff` does not yet represent static (index-based) qubits; the index is not preserved in `jeff` IR.
21
+
Round-tripping through `jeff` therefore maps static qubits to dynamic allocation on the QCO side.
21
22
}];
22
23
23
24
let dependentDialects = ["mlir::jeff::JeffDialect"];
0 commit comments