Skip to content
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

Merged
merged 4 commits into from
Feb 3, 2025
Merged

Minor docs updates #181

merged 4 commits into from
Feb 3, 2025

Conversation

Misty-W
Copy link
Collaborator

@Misty-W Misty-W commented Jan 22, 2025

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 not ucc.benchmarking

@Misty-W Misty-W closed this Jan 22, 2025
@Misty-W
Copy link
Collaborator Author

Misty-W commented Jan 22, 2025

Fixes #204 (also).

@Misty-W Misty-W reopened this Jan 22, 2025
@Misty-W Misty-W marked this pull request as draft January 22, 2025 19:17
@Misty-W Misty-W changed the title Update readme with python version requirement Minor docs updates Jan 22, 2025
@unitaryfund unitaryfund deleted a comment from UCC-bot Feb 3, 2025
@Misty-W Misty-W requested a review from natestemen February 3, 2025 22:12
@Misty-W Misty-W marked this pull request as ready for review February 3, 2025 22:16
@Misty-W Misty-W linked an issue Feb 3, 2025 that may be closed by this pull request
@@ -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
Copy link
Collaborator

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?

Copy link
Collaborator Author

@Misty-W Misty-W Feb 3, 2025

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.

Copy link
Member

@natestemen natestemen left a 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.
Copy link
Member

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

Copy link
Collaborator Author

@Misty-W Misty-W Feb 3, 2025

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 😐

@Misty-W Misty-W merged commit c135493 into main Feb 3, 2025
1 check passed
@Misty-W Misty-W deleted the Misty-W-readme-userguide-patch-1 branch February 3, 2025 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doc example using missing function count_multi_qubit_gates_qiskit
3 participants