cuda-quantum icon indicating copy to clipboard operation
cuda-quantum copied to clipboard

[Docs] Fix python types in documentation from new MLIR work

Open anthony-santana opened this issue 11 months ago • 0 comments

Required prerequisites

  • [X] Consult the security policy. If reporting a security vulnerability, do not report the bug using this form. Use the process described in the policy to report the issue.
  • [X] Make sure you've read the documentation. Your issue may be addressed there.
  • [X] Search the issue tracker to verify that this hasn't already been reported. +1 or comment there if it has.
  • [ ] If possible, make a PR with a failing test to give us a starting point to work on!

Describe the bug

The updated python bindings produce unruly types for arguments in our autodocs. Example: cudaq.mlir._mlir_libs._quakeDialects.cudaq_runtime.SampleResult . We should either regex these out before the docs build or fix them more permanently.

Steps to reproduce the bug

N/A

Expected behavior

See description

Is this a regression? If it is, put the last known working version (or commit) here.

Not a regression

Environment

  • CUDA Quantum version:
  • Python version:
  • C++ compiler:
  • Operating system: All latest

Suggestions

No response

anthony-santana avatar Mar 01 '24 17:03 anthony-santana