Doc example using missing function count_multi_qubit_gates_qiskit
#204
Labels
bug
Something isn't working
count_multi_qubit_gates_qiskit
#204
Describe the bug
The user guide page in the documentation has example code for using
ucc
to compile a random Clifford circuit. When attempting to run the code, it fails on the line below due to an invalid import.ucc/docs/source/user_guide.rst
Line 33 in 0ae8e4a
To Reproduce
pip install ucc
or git clone +pip install -e .
ModuleNotFoundError: No module named 'ucc.benchmarks'
Expected behavior
The script should run without error.
Additional context
I believe the import is just stale and should be updated to:
However, I'm unclear how the
benchmarks
module is meant to be distributed? Should it be a submodule ofucc
versus a sibling?If there continue to be example code in the docs, we can also consider testing that code as part of building the docs via doctest to ensure they continue to work.
The text was updated successfully, but these errors were encountered: