Skip to content

Wrong comment in example code #4610

@Suntee87

Description

@Suntee87

URL to the relevant course

https://quantum.cloud.ibm.com/docs/en/guides/hello-world -> Scale to large numbers of qubits -> Step 1. Map the problem

Select all that apply

  • new content request
  • typo
  • code bug
  • out-of-date content
  • broken link
  • other

Describe the fix or the content request.

There is a comment when creating the new circuit that says:

"Create a new circuit with two qubits (first argument) and two classical bits (second argument)"

But the code is actually creating a circuit with 100 qubits, so it should be something like

"Create a new circuit with a hundred qubits in the GHZ state"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions