qiskit/test/python/primitives
Kevin Tian 5557271ef8
Make PrimitiveJob serializable (#12963)
* Make PrimtiveJob serializable

* fix style

* fix init param order & ignore pylint

* add reno

* Remove default none

* Add comment in _prepare_dump()

* Update qiskit/primitives/primitive_job.py

Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com>

* formatting

* Update releasenotes/notes/serialize-primitive-job-aa97d0bf8221ea99.yaml

Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com>

* implement __getstate__ and __setstate__

* lint

* Update releasenotes/notes/serialize-primitive-job-aa97d0bf8221ea99.yaml

Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com>

* Update test/python/primitives/test_primitive_job.py

Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com>

---------

Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com>
Co-authored-by: Takashi Imamichi <imamichi@jp.ibm.com>
2025-04-02 16:44:49 +00:00
..
containers feat: add method to convert `BitArray` into boolean array (#13653) 2025-01-21 09:52:10 +00:00
__init__.py Reference implementation of Estimator and Sampler Primitives (#7780) 2022-03-25 16:46:20 +00:00
test_backend_estimator_v2.py Remove fake backends based on `BackendV1` and related tools (#13805) 2025-02-28 12:46:24 +00:00
test_backend_sampler_v2.py Remove pulse module files, pulse visualization and final cleanup (#13872) 2025-03-06 03:01:30 +00:00
test_primitive_job.py Make PrimitiveJob serializable (#12963) 2025-04-02 16:44:49 +00:00
test_result.py Remove v1 primitive implementations (#13877) 2025-03-05 17:56:31 +00:00
test_statevector_estimator.py Expose seed in `Estimator` and `StatevectorEstimator` (#12862) 2024-08-08 12:21:16 +00:00
test_statevector_sampler.py Remove condition/c_if, duration, and unit from instructions (#13506) 2025-02-24 15:33:45 +00:00
test_validation_base_primitives_v1.py Remove v1 primitive implementations (#13877) 2025-03-05 17:56:31 +00:00