Skip to content

Commit

Permalink
code formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Schweitz <[email protected]>
  • Loading branch information
schweitzpgi committed Nov 23, 2024
1 parent b4d061b commit a03a5ef
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions include/cudaq/Optimizer/Dialect/Quake/QuakeOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -1328,8 +1328,8 @@ def CustomUnitarySymbolOp :
QuakeOperator<"custom_op", [], (ins SymbolRefAttr:$generator)> {
let summary = "Custom unitary operation.";
let description = [{
Custom unitary operation leveraging a `SymbolRefAttr` describing the unitary
data generator function.
Custom unitary operation leveraging a `SymbolRefAttr` describing the
unitary data generator function.
}];

let builders = [
Expand Down Expand Up @@ -1376,13 +1376,16 @@ def CustomUnitarySymbolOp :
OpBuilder<(ins "mlir::SymbolRefAttr":$generator,
"mlir::ValueRange":$controls,
"mlir::ValueRange":$targets), [{
return build($_builder, $_state, generator, /*is_adj=*/false, controls, targets);
return build($_builder, $_state, generator, /*is_adj=*/false, controls,
targets);
}]>,
OpBuilder<(ins "mlir::SymbolRefAttr":$generator, "bool":$is_adj,
"mlir::ValueRange":$targets), [{
return build($_builder, $_state, generator, is_adj, mlir::ValueRange{}, targets);
return build($_builder, $_state, generator, is_adj, mlir::ValueRange{},
targets);
}]>,
OpBuilder<(ins "mlir::SymbolRefAttr":$generator, "mlir::ValueRange":$targets), [{
OpBuilder<(ins "mlir::SymbolRefAttr":$generator,
"mlir::ValueRange":$targets), [{
return build($_builder, $_state, generator, /*is_adj=*/false, targets);
}]>
];
Expand Down

0 comments on commit a03a5ef

Please sign in to comment.