Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-johnson committed Oct 29, 2024
1 parent 4b13436 commit 2e94f20
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions docs/tutorials/01_chemistry_hamiltonian.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,13 @@
"outputs": [],
"source": [
"import numpy as np\n",
"# from qiskit_ibm_runtime import SamplerV2 as Sampler\n",
"\n",
"# from qiskit_ibm_runtime import SamplerV2 as Sampler\n",
"# sampler = Sampler(mode=backend)\n",
"# job = sampler.run([isa_circuit], shots=10_000)\n",
"# primitive_result = job.result()\n",
"# pub_result = primitive_result[0]\n",
"# counts = pub_result.data.meas.get_counts()\n",
"\n",
"from qiskit_addon_sqd.counts import generate_counts_uniform\n",
"\n",
"rand_seed = np.random.default_rng(2**24)\n",
Expand Down
1 change: 0 additions & 1 deletion qiskit_addon_sqd/configuration_recovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

from __future__ import annotations

import warnings
from collections import defaultdict
from collections.abc import Sequence

Expand Down
2 changes: 0 additions & 2 deletions qiskit_addon_sqd/counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

from __future__ import annotations

import warnings

import numpy as np


Expand Down
2 changes: 0 additions & 2 deletions qiskit_addon_sqd/subsampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

from __future__ import annotations

import warnings

import numpy as np

from .configuration_recovery import post_select_by_hamming_weight
Expand Down

0 comments on commit 2e94f20

Please sign in to comment.