Skip to content

Hello World code comment is misleading #1110

@Eric-Arellano

Description

@Eric-Arellano

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?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions