Skip to content

Commit dd07d4a

Browse files
committed
Streamline docstrings
1 parent 31a282f commit dd07d4a

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

mlir/lib/Dialect/QC/Translation/TranslateQASM3ToQC.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,11 @@ class MLIRQasmImporter final : public qasm3::InstVisitor {
412412
applyGateCallStatement(stmt, qubitRegisters);
413413
}
414414

415-
/** Emit measure ops for \p target = measure \p measureExpr.
416-
* Handles both full-register and single-bit assignments; wires measure
417-
* results into the classical register's bit-value map for later use.
415+
/**
416+
* @brief Emit measure ops for \p target = measure \p measureExpr.
417+
*
418+
* @details Handles both full-register and single-bit assignments; wires
419+
* measure results into the classical register's bit-value map for later use.
418420
*/
419421
void visitMeasureAssignment(
420422
const std::shared_ptr<qasm3::IndexedIdentifier>& target,
@@ -920,9 +922,8 @@ class MLIRQasmImporter final : public qasm3::InstVisitor {
920922
return resolveGateOperandInScope(operand, qubitRegisters, debugInfo);
921923
}
922924

923-
/** Resolve a gate operand against \p scope (top-level registers or a
924-
* compound-gate local argument scope). Returns the MLIR Values for the
925-
* qubit(s) named by \p operand — a full register or a single indexed qubit.
925+
/**
926+
* @brief Resolve a gate operand against \p scope.
926927
*/
927928
SmallVector<Value> resolveGateOperandInScope(
928929
const std::shared_ptr<qasm3::GateOperand>& operand,

0 commit comments

Comments
 (0)