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

Update comments to Sphinx documentation format close #10 #18

Merged
merged 5 commits into from
Aug 5, 2024

Conversation

raunakkumarsingh
Copy link
Contributor

No description provided.

Copy link
Owner

@Zhaoyilunnn Zhaoyilunnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @raunakkumarsingh , thanks for the help. Most docstrings look good to me. It would be better to make some additional changes before I merge your PR.

  1. Sometimes NP (np) and NL (nl) are illustrated as number of partitions and number of layers. However, in qdao, they consistently represent number of primary qubits and number of local qubits
  2. Please check the docstrings with class attributes, sometimes they are just class members or variables not belong to this class.
  3. Please check the qdao/qiskit directory, most files are qiskit source code. I put them in qdao since I need to do some tricky changes in qiskit source code to make it work correctly with qdao. For these qiskit codes, I suggest not to change their original docstrings.

qdao/circuit.py Outdated Show resolved Hide resolved
qdao/circuit.py Outdated Show resolved Hide resolved
qdao/executor.py Outdated Show resolved Hide resolved
qdao/executor.py Outdated Show resolved Hide resolved
qdao/qiskit/gate.py Outdated Show resolved Hide resolved
qdao/qiskit/utils.py Outdated Show resolved Hide resolved
qdao/simulator.py Outdated Show resolved Hide resolved
qdao/simulator.py Outdated Show resolved Hide resolved
@Zhaoyilunnn
Copy link
Owner

Please ignore the unit test failing. This is due to qiskit version conflict and I have fixed it 6675a98

@raunakkumarsingh
Copy link
Contributor Author

I resolved all issues. Can you confirm if there are any other changes needed?

@Zhaoyilunnn Zhaoyilunnn changed the title Update comments to Sphinx documentation format Update comments to Sphinx documentation format close #10 Aug 5, 2024
@Zhaoyilunnn Zhaoyilunnn merged commit fb360e6 into Zhaoyilunnn:main Aug 5, 2024
3 of 4 checks passed
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.

2 participants