qiskit-ibm-runtime icon indicating copy to clipboard operation
qiskit-ibm-runtime copied to clipboard

Unit tests failing against Qiskit 1.2 again

Open kt474 opened this issue 6 months ago • 0 comments

Lots of deprecation warnings and 12 failures:

https://github.com/Qiskit/qiskit-ibm-runtime/actions/runs/10156409791/job/28084775851

2024-07-30T05:08:30.7991726Z ======================================================================
2024-07-30T05:08:30.7992563Z ERROR: test_c_if_plugin_conversion_with_transpile (test.unit.transpiler.passes.scheduling.test_scheduler.TestALAPSchedulingAndPaddingPass)
2024-07-30T05:08:30.7993666Z Verify that old format c_if may be converted and scheduled after
2024-07-30T05:08:30.7994277Z ----------------------------------------------------------------------
2024-07-30T05:08:30.7994680Z Traceback (most recent call last):
2024-07-30T05:08:30.7995677Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/transpiler/passmanager.py", line 464, in wrapper
2024-07-30T05:08:30.7996477Z     return meth(*meth_args, **meth_kwargs)
2024-07-30T05:08:30.7997356Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/transpiler/passmanager.py", line 226, in run
2024-07-30T05:08:30.7998077Z     return super().run(
2024-07-30T05:08:30.7998873Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/passmanager/passmanager.py", line 231, in run
2024-07-30T05:08:30.7999597Z     out = [
2024-07-30T05:08:30.8000385Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/passmanager/passmanager.py", line 232, in <listcomp>
2024-07-30T05:08:30.8001450Z     _run_workflow(program=program, pass_manager=self, callback=callback, **kwargs)
2024-07-30T05:08:30.8002660Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/passmanager/passmanager.py", line 292, in _run_workflow
2024-07-30T05:08:30.8003553Z     passmanager_ir, final_state = flow_controller.execute(
2024-07-30T05:08:30.8004501Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/passmanager/base_tasks.py", line 218, in execute
2024-07-30T05:08:30.8005289Z     passmanager_ir, state = next_task.execute(
2024-07-30T05:08:30.8006167Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/transpiler/basepasses.py", line 195, in execute
2024-07-30T05:08:30.8006933Z     new_dag, state = super().execute(
2024-07-30T05:08:30.8007787Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/passmanager/base_tasks.py", line 98, in execute
2024-07-30T05:08:30.8008528Z     ret = self.run(passmanager_ir)
2024-07-30T05:08:30.8009499Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/transpiler/passes/scheduling/scheduler.py", line 474, in run
2024-07-30T05:08:30.8010313Z     self._visit_block(dag, wire_map)
2024-07-30T05:08:30.8011370Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/transpiler/passes/scheduling/scheduler.py", line 114, in _visit_block
2024-07-30T05:08:30.8012242Z     self._visit_node(node)
2024-07-30T05:08:30.8013172Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/transpiler/passes/scheduling/scheduler.py", line 127, in _visit_node
2024-07-30T05:08:30.8014030Z     raise TranspilerError(
2024-07-30T05:08:30.8015297Z qiskit.transpiler.exceptions.TranspilerError: 'c_if control-flow is not supported by this pass. Please apply "ConvertConditionsToIfOps" to convert these conditional operations to new-style Qiskit control-flow.'
2024-07-30T05:08:30.8016268Z 
2024-07-30T05:08:30.8016519Z The above exception was the direct cause of the following exception:
2024-07-30T05:08:30.8016885Z 
2024-07-30T05:08:30.8017007Z Traceback (most recent call last):
2024-07-30T05:08:30.8018153Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/transpiler/passes/scheduling/test_scheduler.py", line 2057, in test_c_if_plugin_conversion_with_transpile
2024-07-30T05:08:30.8019161Z     scheduled = pm.run(qc_transpiled)
2024-07-30T05:08:30.8020034Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/transpiler/passmanager.py", line 466, in wrapper
2024-07-30T05:08:30.8020919Z     raise TranspilerError(ex.message) from ex
2024-07-30T05:08:30.8022167Z qiskit.transpiler.exceptions.TranspilerError: 'c_if control-flow is not supported by this pass. Please apply "ConvertConditionsToIfOps" to convert these conditional operations to new-style Qiskit control-flow.'
2024-07-30T05:08:30.8023149Z 
2024-07-30T05:08:30.8023287Z ======================================================================
2024-07-30T05:08:30.8024126Z ERROR: test_c_if_plugin_conversion_with_transpile (test.unit.transpiler.passes.scheduling.test_scheduler.TestASAPSchedulingAndPaddingPass)
2024-07-30T05:08:30.8025009Z Verify that old format c_if may be converted and scheduled
2024-07-30T05:08:30.8025531Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8025947Z Traceback (most recent call last):
2024-07-30T05:08:30.8026882Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/transpiler/passmanager.py", line 464, in wrapper
2024-07-30T05:08:30.8027665Z     return meth(*meth_args, **meth_kwargs)
2024-07-30T05:08:30.8028508Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/transpiler/passmanager.py", line 226, in run
2024-07-30T05:08:30.8029238Z     return super().run(
2024-07-30T05:08:30.8030022Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/passmanager/passmanager.py", line 231, in run
2024-07-30T05:08:30.8030816Z     out = [
2024-07-30T05:08:30.8031594Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/passmanager/passmanager.py", line 232, in <listcomp>
2024-07-30T05:08:30.8032524Z     _run_workflow(program=program, pass_manager=self, callback=callback, **kwargs)
2024-07-30T05:08:30.8033896Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/passmanager/passmanager.py", line 292, in _run_workflow
2024-07-30T05:08:30.8034795Z     passmanager_ir, final_state = flow_controller.execute(
2024-07-30T05:08:30.8035769Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/passmanager/base_tasks.py", line 218, in execute
2024-07-30T05:08:30.8036558Z     passmanager_ir, state = next_task.execute(
2024-07-30T05:08:30.8037442Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/transpiler/basepasses.py", line 195, in execute
2024-07-30T05:08:30.8038204Z     new_dag, state = super().execute(
2024-07-30T05:08:30.8039048Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/passmanager/base_tasks.py", line 98, in execute
2024-07-30T05:08:30.8039780Z     ret = self.run(passmanager_ir)
2024-07-30T05:08:30.8040797Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/transpiler/passes/scheduling/scheduler.py", line 346, in run
2024-07-30T05:08:30.8041637Z     self._visit_block(dag, wire_map)
2024-07-30T05:08:30.8042612Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/transpiler/passes/scheduling/scheduler.py", line 114, in _visit_block
2024-07-30T05:08:30.8043456Z     self._visit_node(node)
2024-07-30T05:08:30.8044446Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/qiskit_ibm_runtime/transpiler/passes/scheduling/scheduler.py", line 127, in _visit_node
2024-07-30T05:08:30.8045310Z     raise TranspilerError(
2024-07-30T05:08:30.8046506Z qiskit.transpiler.exceptions.TranspilerError: 'c_if control-flow is not supported by this pass. Please apply "ConvertConditionsToIfOps" to convert these conditional operations to new-style Qiskit control-flow.'
2024-07-30T05:08:30.8047498Z 
2024-07-30T05:08:30.8047734Z The above exception was the direct cause of the following exception:
2024-07-30T05:08:30.8048109Z 
2024-07-30T05:08:30.8048230Z Traceback (most recent call last):
2024-07-30T05:08:30.8049367Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/transpiler/passes/scheduling/test_scheduler.py", line 900, in test_c_if_plugin_conversion_with_transpile
2024-07-30T05:08:30.8050463Z     scheduled = pm.run(qc_transpiled)
2024-07-30T05:08:30.8051417Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/qiskit/transpiler/passmanager.py", line 466, in wrapper
2024-07-30T05:08:30.8052217Z     raise TranspilerError(ex.message) from ex
2024-07-30T05:08:30.8053462Z qiskit.transpiler.exceptions.TranspilerError: 'c_if control-flow is not supported by this pass. Please apply "ConvertConditionsToIfOps" to convert these conditional operations to new-style Qiskit control-flow.'
2024-07-30T05:08:30.8054429Z 
2024-07-30T05:08:30.8054572Z ======================================================================
2024-07-30T05:08:30.8055063Z FAIL: test_raise_faulty_edge (test.unit.test_backend.TestBackend)
2024-07-30T05:08:30.8055507Z Test faulty edge is raised.
2024-07-30T05:08:30.8055907Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8056305Z Traceback (most recent call last):
2024-07-30T05:08:30.8057187Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_backend.py", line 93, in test_raise_faulty_edge
2024-07-30T05:08:30.8057923Z     sampler.run([transpiled])
2024-07-30T05:08:30.8058247Z AssertionError: ValueError not raised
2024-07-30T05:08:30.8058483Z 
2024-07-30T05:08:30.8058620Z ======================================================================
2024-07-30T05:08:30.8059247Z FAIL: test_raise_faulty_edge (test.unit.test_ibm_primitives.TestPrimitives)
2024-07-30T05:08:30.8059750Z Test faulty edge is raised.
2024-07-30T05:08:30.8060153Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8060549Z Traceback (most recent call last):
2024-07-30T05:08:30.8061428Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_ibm_primitives.py", line 682, in test_raise_faulty_edge
2024-07-30T05:08:30.8062305Z     estimator.run(transpiled, observable, skip_transpilation=True)
2024-07-30T05:08:30.8062764Z AssertionError: ValueError not raised
2024-07-30T05:08:30.8063008Z 
2024-07-30T05:08:30.8063137Z ======================================================================
2024-07-30T05:08:30.8063732Z FAIL: test_raise_faulty_edge_1_EstimatorV2 (test.unit.test_ibm_primitives_v2.TestPrimitivesV2)
2024-07-30T05:08:30.8064444Z Class for interacting with Qiskit Runtime Estimator primitive service.
2024-07-30T05:08:30.8065011Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8065411Z Traceback (most recent call last):
2024-07-30T05:08:30.8066143Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8066783Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8067829Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_ibm_primitives_v2.py", line 584, in test_raise_faulty_edge
2024-07-30T05:08:30.8068616Z     inst.run(pubs=[pub])
2024-07-30T05:08:30.8068917Z AssertionError: ValueError not raised
2024-07-30T05:08:30.8069152Z 
2024-07-30T05:08:30.8069284Z ======================================================================
2024-07-30T05:08:30.8069963Z FAIL: test_raise_faulty_edge_2_SamplerV2 (test.unit.test_ibm_primitives_v2.TestPrimitivesV2)
2024-07-30T05:08:30.8070671Z Class for interacting with Qiskit Runtime Sampler primitive service.
2024-07-30T05:08:30.8071254Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8071647Z Traceback (most recent call last):
2024-07-30T05:08:30.8072372Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8073018Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8074160Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_ibm_primitives_v2.py", line 584, in test_raise_faulty_edge
2024-07-30T05:08:30.8074924Z     inst.run(pubs=[pub])
2024-07-30T05:08:30.8075331Z AssertionError: ValueError not raised
2024-07-30T05:08:30.8075567Z 
2024-07-30T05:08:30.8075709Z ======================================================================
2024-07-30T05:08:30.8076286Z FAIL: test_v1_sampler_with_accepted_options_1 (test.unit.test_local_mode.TestLocalModeV1)
2024-07-30T05:08:30.8076828Z A fake 5 qubit backend.
2024-07-30T05:08:30.8077216Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8077611Z Traceback (most recent call last):
2024-07-30T05:08:30.8078318Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8078952Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8079870Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_local_mode.py", line 84, in test_v1_sampler_with_accepted_options
2024-07-30T05:08:30.8080853Z     self.assertDictEqual(result.quasi_dists[0], {1: 0.002, 2: 0.001, 0: 0.504, 3: 0.493})
2024-07-30T05:08:30.8081587Z AssertionError: {16: 0.001, 8: 0.002, 0: 0.504, 24: 0.493} != {1: 0.002, 2: 0.001, 0: 0.504, 3: 0.493}
2024-07-30T05:08:30.8082187Z - {16: 0.001, 8: 0.002, 0: 0.504, 24: 0.493}
2024-07-30T05:08:30.8082542Z + {0: 0.504, 1: 0.002, 2: 0.001, 3: 0.493}
2024-07-30T05:08:30.8082773Z 
2024-07-30T05:08:30.8082906Z ======================================================================
2024-07-30T05:08:30.8083579Z FAIL: test_v1_sampler_with_accepted_options_2 (test.unit.test_local_mode.TestLocalModeV1)
2024-07-30T05:08:30.8084121Z A fake 5 qubit backend.
2024-07-30T05:08:30.8084504Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8084903Z Traceback (most recent call last):
2024-07-30T05:08:30.8085616Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8086256Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8087162Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_local_mode.py", line 84, in test_v1_sampler_with_accepted_options
2024-07-30T05:08:30.8088138Z     self.assertDictEqual(result.quasi_dists[0], {1: 0.002, 2: 0.001, 0: 0.504, 3: 0.493})
2024-07-30T05:08:30.8088859Z AssertionError: {16: 0.001, 8: 0.002, 0: 0.504, 24: 0.493} != {1: 0.002, 2: 0.001, 0: 0.504, 3: 0.493}
2024-07-30T05:08:30.8089452Z - {16: 0.001, 8: 0.002, 0: 0.504, 24: 0.493}
2024-07-30T05:08:30.8089795Z + {0: 0.504, 1: 0.002, 2: 0.001, 3: 0.493}
2024-07-30T05:08:30.8090039Z 
2024-07-30T05:08:30.8090172Z ======================================================================
2024-07-30T05:08:30.8090776Z FAIL: test_primitive_v2_with_not_accepted_options_1 (test.unit.test_local_mode.TestLocalModeV2)
2024-07-30T05:08:30.8091379Z Test V2 primitive with not accepted options.
2024-07-30T05:08:30.8091932Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8092341Z Traceback (most recent call last):
2024-07-30T05:08:30.8093056Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8093696Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8094752Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_local_mode.py", line 207, in test_primitive_v2_with_not_accepted_options
2024-07-30T05:08:30.8095695Z     self.assertIn("dynamical_decoupling", str(warns[0].message))
2024-07-30T05:08:30.8098021Z AssertionError: 'dynamical_decoupling' not found in 'The class ``qiskit.qobj.pulse_qobj.PulseLibraryItem`` is deprecated as of qiskit 1.2. It will be removed in the 2.0 release. The `Qobj` class and related functionality are part of the deprecated `BackendV1` workflow,  and no longer necessary for `BackendV2`. If a user workflow requires `Qobj` it likely relies on deprecated functionality and should be updated to use `BackendV2`.'
2024-07-30T05:08:30.8099813Z 
2024-07-30T05:08:30.8099949Z ======================================================================
2024-07-30T05:08:30.8100623Z FAIL: test_primitive_v2_with_not_accepted_options_2 (test.unit.test_local_mode.TestLocalModeV2)
2024-07-30T05:08:30.8101228Z Test V2 primitive with not accepted options.
2024-07-30T05:08:30.8101702Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8102097Z Traceback (most recent call last):
2024-07-30T05:08:30.8102819Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8103459Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8104418Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_local_mode.py", line 207, in test_primitive_v2_with_not_accepted_options
2024-07-30T05:08:30.8105347Z     self.assertIn("dynamical_decoupling", str(warns[0].message))
2024-07-30T05:08:30.8107628Z AssertionError: 'dynamical_decoupling' not found in 'The class ``qiskit.qobj.pulse_qobj.PulseLibraryItem`` is deprecated as of qiskit 1.2. It will be removed in the 2.0 release. The `Qobj` class and related functionality are part of the deprecated `BackendV1` workflow,  and no longer necessary for `BackendV2`. If a user workflow requires `Qobj` it likely relies on deprecated functionality and should be updated to use `BackendV2`.'
2024-07-30T05:08:30.8109450Z 
2024-07-30T05:08:30.8109584Z ======================================================================
2024-07-30T05:08:30.8110256Z FAIL: test_v2_estimator_with_accepted_options_1 (test.unit.test_local_mode.TestLocalModeV2)
2024-07-30T05:08:30.8110803Z A fake 5 qubit backend.
2024-07-30T05:08:30.8111189Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8111582Z Traceback (most recent call last):
2024-07-30T05:08:30.8112304Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8112938Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8114095Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_local_mode.py", line 182, in test_v2_estimator_with_accepted_options
2024-07-30T05:08:30.8114990Z     self.assertEqual(pub_result.data.evs[0], 0.056640625)
2024-07-30T05:08:30.8115456Z AssertionError: np.float64(0.033203125) != 0.056640625
2024-07-30T05:08:30.8115747Z 
2024-07-30T05:08:30.8115886Z ======================================================================
2024-07-30T05:08:30.8116481Z FAIL: test_v2_estimator_with_accepted_options_2 (test.unit.test_local_mode.TestLocalModeV2)
2024-07-30T05:08:30.8117030Z A fake 5 qubit backend.
2024-07-30T05:08:30.8117405Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8117807Z Traceback (most recent call last):
2024-07-30T05:08:30.8118620Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8119279Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8120215Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_local_mode.py", line 182, in test_v2_estimator_with_accepted_options
2024-07-30T05:08:30.8121101Z     self.assertEqual(pub_result.data.evs[0], 0.056640625)
2024-07-30T05:08:30.8121636Z AssertionError: np.float64(0.033203125) != 0.056640625
2024-07-30T05:08:30.8121933Z 
2024-07-30T05:08:30.8122077Z ======================================================================
2024-07-30T05:08:30.8122670Z FAIL: test_v2_estimator_with_accepted_options_3 (test.unit.test_local_mode.TestLocalModeV2)
2024-07-30T05:08:30.8123257Z Noisy quantum circuit simulator backend.
2024-07-30T05:08:30.8123717Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8124112Z Traceback (most recent call last):
2024-07-30T05:08:30.8124825Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8125465Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8126396Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_local_mode.py", line 182, in test_v2_estimator_with_accepted_options
2024-07-30T05:08:30.8127391Z     self.assertEqual(pub_result.data.evs[0], 0.056640625)
2024-07-30T05:08:30.8127846Z AssertionError: np.float64(0.033203125) != 0.056640625
2024-07-30T05:08:30.8128132Z 
2024-07-30T05:08:30.8128275Z ======================================================================
2024-07-30T05:08:30.8128845Z FAIL: test_v2_sampler_with_accepted_options_1 (test.unit.test_local_mode.TestLocalModeV2)
2024-07-30T05:08:30.8129386Z A fake 5 qubit backend.
2024-07-30T05:08:30.8129772Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8130178Z Traceback (most recent call last):
2024-07-30T05:08:30.8130890Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8131530Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8132450Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_local_mode.py", line 172, in test_v2_sampler_with_accepted_options
2024-07-30T05:08:30.8133439Z     self.assertDictEqual(pub_result.data.meas.get_counts(), {"00011": 3, "00000": 7})
2024-07-30T05:08:30.8134115Z AssertionError: {'00000': 8, '11000': 2} != {'00011': 3, '00000': 7}
2024-07-30T05:08:30.8134575Z - {'00000': 8, '11000': 2}
2024-07-30T05:08:30.8134875Z ?           ^   --      ^
2024-07-30T05:08:30.8135152Z 
2024-07-30T05:08:30.8135272Z + {'00000': 7, '00011': 3}
2024-07-30T05:08:30.8135535Z ?           ^      ++   ^
2024-07-30T05:08:30.8135703Z 
2024-07-30T05:08:30.8135707Z 
2024-07-30T05:08:30.8135846Z ======================================================================
2024-07-30T05:08:30.8136413Z FAIL: test_v2_sampler_with_accepted_options_2 (test.unit.test_local_mode.TestLocalModeV2)
2024-07-30T05:08:30.8136962Z A fake 5 qubit backend.
2024-07-30T05:08:30.8137348Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8137754Z Traceback (most recent call last):
2024-07-30T05:08:30.8138466Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8139103Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8140026Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_local_mode.py", line 172, in test_v2_sampler_with_accepted_options
2024-07-30T05:08:30.8140995Z     self.assertDictEqual(pub_result.data.meas.get_counts(), {"00011": 3, "00000": 7})
2024-07-30T05:08:30.8141663Z AssertionError: {'00000': 8, '11000': 2} != {'00011': 3, '00000': 7}
2024-07-30T05:08:30.8142118Z - {'00000': 8, '11000': 2}
2024-07-30T05:08:30.8142407Z ?           ^   --      ^
2024-07-30T05:08:30.8142579Z 
2024-07-30T05:08:30.8142695Z + {'00000': 7, '00011': 3}
2024-07-30T05:08:30.8143026Z ?           ^      ++   ^
2024-07-30T05:08:30.8143195Z 
2024-07-30T05:08:30.8143199Z 
2024-07-30T05:08:30.8143343Z ======================================================================
2024-07-30T05:08:30.8143913Z FAIL: test_v2_sampler_with_accepted_options_3 (test.unit.test_local_mode.TestLocalModeV2)
2024-07-30T05:08:30.8144485Z Noisy quantum circuit simulator backend.
2024-07-30T05:08:30.8144993Z ----------------------------------------------------------------------
2024-07-30T05:08:30.8145402Z Traceback (most recent call last):
2024-07-30T05:08:30.8146106Z   File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/ddt.py", line 221, in wrapper
2024-07-30T05:08:30.8146747Z     return func(self, *args, **kwargs)
2024-07-30T05:08:30.8147677Z   File "/home/runner/work/qiskit-ibm-runtime/qiskit-ibm-runtime/test/unit/test_local_mode.py", line 172, in test_v2_sampler_with_accepted_options
2024-07-30T05:08:30.8148673Z     self.assertDictEqual(pub_result.data.meas.get_counts(), {"00011": 3, "00000": 7})
2024-07-30T05:08:30.8149343Z AssertionError: {'00000': 8, '11000': 2} != {'00011': 3, '00000': 7}
2024-07-30T05:08:30.8149793Z - {'00000': 8, '11000': 2}
2024-07-30T05:08:30.8150158Z ?           ^   --      ^
2024-07-30T05:08:30.8150326Z 
2024-07-30T05:08:30.8150444Z + {'00000': 7, '00011': 3}
2024-07-30T05:08:30.8150702Z ?           ^      ++   ^

kt474 avatar Jul 30 '24 14:07 kt474