From 018f582dee7decbcd30c6e80502721397eee5234 Mon Sep 17 00:00:00 2001 From: Eric Schweitz Date: Mon, 12 Aug 2024 08:09:05 -0700 Subject: [PATCH] [NFC] Minor copy edits for consistent spellings, etc. (#2073) * [NFC] Minor copy edits for consistent spellings, etc. * Update include/cudaq/Optimizer/Transforms/Passes.td Co-authored-by: Ben Howe <141149032+bmhowe23@users.noreply.github.com> --------- Co-authored-by: Ben Howe <141149032+bmhowe23@users.noreply.github.com> --- include/cudaq/Optimizer/Transforms/Passes.td | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/include/cudaq/Optimizer/Transforms/Passes.td b/include/cudaq/Optimizer/Transforms/Passes.td index 81a65c0aa8..e8e5a79b0d 100644 --- a/include/cudaq/Optimizer/Transforms/Passes.td +++ b/include/cudaq/Optimizer/Transforms/Passes.td @@ -12,26 +12,27 @@ include "mlir/Pass/PassBase.td" def AddWireset : Pass<"add-wireset", "mlir::ModuleOp"> { - let summary = "Adds a topology-less `quake.wireset` to the module"; + let summary = "Adds a topology-less `quake.wire_set` to the module."; let description = [{ - Adds a `quake.wireset` operation without tological info to the module. + Adds a `quake.wire_set` operation without any topological information to the + ModuleOp. }]; } def AssignWireIndices : Pass<"assign-wire-indices", "mlir::func::FuncOp"> { - let summary = "Replaces wires with wires from a `quake.wireset`"; + let summary = "Replaces `null_wire` with `borrow_wire` from a `wire_set`."; let description = [{ - Replaces all instances of `quake.null_wire_op` with `quake.borrow_wire_op`s - from a common `quake.wireset` without any topological information. - Each wire is assigned a unique identifier (the index into the - `quake.wireset`) through this process. + Replaces all instances of `quake.null_wire` with `quake.borrow_wire` from a + common `quake.wire_set` without any topological information. Each wire is + assigned a unique identifier (the index into the `quake.wire_set`) through + this process. }]; } def ApplyControlNegations : Pass<"apply-control-negations", "mlir::func::FuncOp"> { let summary = - "Replace all operations with negative controls with positive controls and X operations."; + "Replace all `Ops` with negated controls with normal controls and `XOp`s."; let description = [{ For every quantum operation with a negative control, replace that operation