File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -940,7 +940,7 @@ def test_qiskit_get_ionq_native_gateset(self):
940940 self .assertEqual ("native" , payload ["gateset" ])
941941 # We also expect the metadata to be produced correctly for native circuits
942942 metadata = backend ._prepare_job_metadata (native_circuit )
943- self .assertEqual (2 , len (metadata ["meas_map" ]))
943+ self .assertEqual (2 ,len (json . loads ( metadata ["meas_map" ]) ))
944944
945945 # should also be available with the qpu target
946946 backend = provider .get_backend ("ionq.qpu.aria-1" , gateset = "native" )
@@ -950,7 +950,7 @@ def test_qiskit_get_ionq_native_gateset(self):
950950 payload = json .loads (payload .decode ("utf-8" ))
951951 self .assertEqual ("ms" , payload ["circuit" ][0 ]["gate" ])
952952 metadata = backend ._prepare_job_metadata (native_circuit )
953- self .assertEqual (2 , len (metadata ["meas_map" ]))
953+ self .assertEqual (2 , len (json . loads ( metadata ["meas_map" ]) ))
954954
955955 @pytest .mark .ionq
956956 @pytest .mark .live_test
You can’t perform that action at this time.
0 commit comments