qiskit/test/python/result
Abel Valente 00c47566fb
Fix result.to_dict() following new 2.0 typing (#14124)
* fix result.to_dict() following new 2.0 typing

* Update qiskit/result/result.py

Co-authored-by: Luciano Bello <766693+1ucian0@users.noreply.github.com>

* add result to_dict test

* add release note

* Update type hints to reflect current use of Result. We no longer have any ExperimentHeader class to call  on, so the type can only be dict.

* Remove reno, as the bug is technically unreleased

---------

Co-authored-by: valente <valente@ar.ibm.com>
Co-authored-by: Luciano Bello <766693+1ucian0@users.noreply.github.com>
Co-authored-by: Elena Peña Tapia <epenatap@gmail.com>
2025-03-31 11:40:05 +00:00
..
__init__.py Remove coding: utf-8 per PEP 3120 (#4914) 2020-08-12 08:29:16 -04:00
test_counts.py Fix handling of numpy integers in marginal_distribution() (#9976) 2023-04-17 15:30:33 +00:00
test_memory_marginalization.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_probability.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_quasi.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_result.py Fix result.to_dict() following new 2.0 typing (#14124) 2025-03-31 11:40:05 +00:00
test_sampled_expval.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00