You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background: There was an issue with fidelities in Qiskit Algorithms exhibiting random failures and was corrected by qiskit-community/qiskit-algorithms#92 This needed to change what was computed in the threading context of the job and a change to the private base class method _run was made - it now returns a job that can fetch the result rather than the result.
This affects the MockFidelity class where that is used in tests.
Some tests error this way AttributeError: 'StateFidelityResult' object has no attribute 'submit' since now a job is expected.
This internal change will come about in the next release of Qiskit Algorithms. I noticed the failure when running ML tests locally as I have algorithms installed off the repo main branch where that change already exists.
The text was updated successfully, but these errors were encountered:
Background: There was an issue with fidelities in Qiskit Algorithms exhibiting random failures and was corrected by qiskit-community/qiskit-algorithms#92 This needed to change what was computed in the threading context of the job and a change to the private base class method _run was made - it now returns a job that can fetch the result rather than the result.
This affects the
MockFidelity
class where that is used in tests.qiskit-machine-learning/test/kernels/test_fidelity_qkernel.py
Line 255 in 1e7dc7a
Some tests error this way
AttributeError: 'StateFidelityResult' object has no attribute 'submit'
since now a job is expected.This internal change will come about in the next release of Qiskit Algorithms. I noticed the failure when running ML tests locally as I have algorithms installed off the repo main branch where that change already exists.
The text was updated successfully, but these errors were encountered: