-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor docs updates #181
Minor docs updates #181
Conversation
Fixes #204 (also). |
docs/source/user_guide.rst
Outdated
@@ -30,7 +30,7 @@ For example, we can define a random circuit in Qiskit and optimize it using the | |||
|
|||
from qiskit.circuit.random import random_clifford_circuit | |||
import ucc | |||
from ucc.benchmarks.utils import count_multi_qubit_gates_qiskit | |||
from benchmarks.utils import count_multi_qubit_gates_qiskit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me, I had to switch this to from benchmarks.scripts.common
as the utils submodule didn't exist.
But also curious, do we want benchmarks to be a submodule of ucc or a sibling?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Brad. I think it's more intuitive to have benchmarks as a submodule of ucc. I think the benchmarks module was intentionally made a sibling of ucc during earlier restructuring of the library, but I don't remember the reason. Jordan likely has more context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine to merge from my side once Brad's concern is addressed.
UCC requires Python version :math:`\ge` 3.12. | ||
UCC requires Python version ≥ 3.12. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem from me, but why does this need to change? Seems to be rendering fine: https://ucc.readthedocs.io/en/latest/user_guide.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep RTD is fine either way, but it didn't render in the Markdown preview on our GitHub 😐
Originally opened to update readme with python version requirement and fix rendering of that requirement in the user guide.
Also fixes import in #204 - import from
benchmarking
notucc.benchmarking