File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
qiskit_scaleway/backends/qsim Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,10 @@ def submit(self, session_id: str) -> None:
6262 # Note 2: Qsim can only handle one circuit at a time
6363 circuit = RemoveBarriers ()(self ._circuits [0 ])
6464
65- programs = [
66- QuantumProgram .from_qiskit_circuit (
67- circuit , QuantumProgramSerializationFormat .QASM_V2
68- )
69- ]
65+ programs = [QuantumProgram .from_qiskit_circuit (circuit )]
7066
7167 options .pop ("circuit_memoization_size" )
68+ shots = options .pop ("shots" )
7269
7370 backend_data = BackendData (
7471 name = self .backend ().name ,
@@ -87,7 +84,7 @@ def submit(self, session_id: str) -> None:
8784 ).to_json_str ()
8885
8986 computation_parameters_json = QuantumComputationParameters (
90- shots = options . pop ( " shots" ) ,
87+ shots = shots ,
9188 ).to_json_str ()
9289
9390 model = self ._client .create_model (
You can’t perform that action at this time.
0 commit comments