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

Hello World code comment is misleading #1110

Closed
Eric-Arellano opened this issue Apr 1, 2024 · 1 comment · Fixed by #1112 or #1133
Closed

Hello World code comment is misleading #1110

Eric-Arellano opened this issue Apr 1, 2024 · 1 comment · Fixed by #1112 or #1133

Comments

@Eric-Arellano
Copy link
Collaborator

Eric-Arellano commented Apr 1, 2024

It says there are two arguments, but only one is set

"# Create a new circuit with two qubits (first argument) and two classical\n",
"# bits (second argument)\n",
"qc = QuantumCircuit(2)\n",

I'm not sure what was intended.

--

Why is the preset pass manager in step 3: execute, rather than step 2: optimize?

--

What does pub mean in the comment and variable name in step 3?

github-merge-queue bot pushed a commit that referenced this issue Apr 2, 2024
Closes #1110 

Hopefully this page is clearer now.

---------

Co-authored-by: abbycross <across@us.ibm.com>
@Eric-Arellano
Copy link
Collaborator Author

Thanks @kaelynj! The only remaining problem is the top of this issue where it says there are two arguments.

@Eric-Arellano Eric-Arellano reopened this Apr 2, 2024
github-merge-queue bot pushed a commit that referenced this issue Apr 5, 2024
Fixes #1110 and another mismatch I found doing a read-through
frankharkins pushed a commit to frankharkins/documentation that referenced this issue Jul 22, 2024
Closes Qiskit#1110 

Hopefully this page is clearer now.

---------

Co-authored-by: abbycross <across@us.ibm.com>
frankharkins added a commit to frankharkins/documentation that referenced this issue Jul 22, 2024
Fixes Qiskit#1110 and another mismatch I found doing a read-through
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
3 participants