File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
qiskit_scaleway/primitives Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1414import numpy as np
1515import re
1616
17+ from numpy .typing import NDArray
18+
1719from qiskit .primitives .backend_sampler_v2 import (
1820 BackendSamplerV2 ,
1921 _MeasureInfo ,
@@ -102,7 +104,7 @@ def _postprocess_pub(
102104 )
103105
104106
105- def _memory_array (results : list [list [str ]], num_bytes : int ) -> np . NDArray [np .uint8 ]:
107+ def _memory_array (results : list [list [str ]], num_bytes : int ) -> NDArray [np .uint8 ]:
106108 """Converts the memory data into an array in an unpacked way."""
107109 lst = []
108110 # Heuristic: check only the first result format
Original file line number Diff line number Diff line change 1818
1919from qio .utils .circuit import random_square_qiskit_circuit
2020
21+
2122def test_aqt_multiple_circuits ():
2223 provider = ScalewayProvider (
2324 project_id = os .environ ["QISKIT_SCALEWAY_PROJECT_ID" ],
You can’t perform that action at this time.
0 commit comments