qiskit/test/python
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
..
circuit Fix checking for deprecation warnings to use `assertWarns()` (#14145) 2025-04-01 08:46:22 +00:00
compiler Fix checking for deprecation warnings to use `assertWarns()` (#14145) 2025-04-01 08:46:22 +00:00
converters Remove calibrations APIs and related functionality (#13861) 2025-03-02 16:40:07 +00:00
dagcircuit Fix checking for deprecation warnings to use `assertWarns()` (#14145) 2025-04-01 08:46:22 +00:00
mock Remove deprecated IBMQ dependent functionality (#11513) 2024-01-11 12:39:27 +00:00
passmanager Fix `PropertySet` re-use in `BasePassManager.run` (#11787) 2024-02-22 17:17:17 +00:00
primitives Make PrimitiveJob serializable (#12963) 2025-04-02 16:44:49 +00:00
providers Remove deprecated `BackendV1` elements, including base class, `providers.models` and `qobj` modules (#13793) 2025-03-05 23:11:24 +00:00
qasm Remove Sabre's manual insertion-order iteration and unnecessary sorts (#9560) 2023-02-15 00:08:30 +00:00
qasm2 Correctly handle non-UnitaryGate gates named "unitary" (#14109) 2025-03-27 13:13:58 +00:00
qasm3 [Stretch] Support stretch and duration expressions for `Delay` instruction. (#13853) 2025-03-06 19:39:42 +00:00
qpy Handle an optional symengine and sympy in qpy (#13917) 2025-03-05 19:00:46 +00:00
quantum_info Remove v1 primitive implementations (#13877) 2025-03-05 17:56:31 +00:00
result Fix result.to_dict() following new 2.0 typing (#14124) 2025-03-31 11:40:05 +00:00
synthesis Minor fixes/improvements to some MCX synthesis methods (#14093) 2025-03-27 12:39:05 +00:00
transpiler Do not raise deprecation warnings for internal uses of dag.duration and dag.unit (#14133) 2025-03-31 15:01:43 +00:00
utils Remove pulse module files, pulse visualization and final cleanup (#13872) 2025-03-06 03:01:30 +00:00
visualization Update transpiler pipeline to (only) use target internally (#12850) 2025-03-06 16:25:55 +00:00
__init__.py Remove coding: utf-8 per PEP 3120 (#4914) 2020-08-12 08:29:16 -04:00
legacy_cmaps.py Deprecate fake backends based on BackendV1 (#12660) 2024-07-29 10:09:40 +00:00
test_user_config.py Remove consider-using-f-string lint rule and updates (#12423) 2024-06-19 07:05:56 +00:00