Display Catalyst Version in quantum-opt --version
Output
#1586
Labels
good first issue
Good for newcomers
quantum-opt --version
Output
#1586
Current Behavior:
Running the command:
Currently, return:
It only displays the LLVM version.
Expected Behavior:
It should also display the Catalyst version alongside the LLVM version. For example:
For example:
Proposed Solution:
mlir/tools/quantum-opt/quantum-opt.cpp
to include the Catalyst version.llvm::cl::AddExtraVersionPrinter
function, as documented here: AddExtraVersionPrinterNotes:
frontend/catalyst/_version.py
.The text was updated successfully, but these errors were encountered: