Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "1a60f419",
"metadata": {},
"outputs": [],
Expand All @@ -56,7 +56,7 @@
"from qiskit.visualization import plot_histogram, array_to_latex\n",
"from qiskit.result import marginal_distribution\n",
"from qiskit.circuit.library import UGate\n",
"from numpy import pi, random"
"from math import pi, random"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@jlapeyre the json was invalid - this fix now passes the linter but pls let me know if it doesn't match what is needed here

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I've now put import random on its own line in the notebook (vs. directly in the json), and it healed the lint problem - that looks more like what you wanted to accomplish

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@abbycross Thankyou. This is correct. Next time, I'll run jq.

]
},
{
Expand Down
Loading