qiskit/qiskit
Archit Chadalawada f59779d047
Added circuit start table to the QPY file header (#14571)
* Modified the dump method to include byte offsets in QPY header

* Updated interface.py

* Updated interface.py

* Serial dump and load with byte offsets + Code refactoring

* Refactored to use hard-coded version for QPY version 16+ support

* Updated interface.py

* Updated interface.py

* Added support for circuit table header with byte offsets in QPY

* Added release notes

* Updated format specification in __init__.py

* Added named tuple for CIRCUIT_TABLE_ENTRY

* Updated dump to seek to end of file after writing byte offsets

* Updated __init__.py

* Use formats for writing the offsets.

Co-authored-by: Kevin Hartman <kevin@hart.mn>

* Update __init__.py

Co-authored-by: Kevin Hartman <kevin@hart.mn>

* Fixed linting

* Updated __init__.py to explicitly describe older formats.

Co-authored-by: Kevin Hartman <kevin@hart.mn>

* Removed redundant description from __init__.py

Co-authored-by: Kevin Hartman <kevin@hart.mn>

* Update __init__.py to capitalize "Rust"

Co-authored-by: Kevin Hartman <kevin@hart.mn>

* Update release notes to label this change as a feature rather than an update.

Co-authored-by: Kevin Hartman <kevin@hart.mn>

* Update interface.py to use offset in the named tuple of circuit table entry (instead on [0])

Co-authored-by: Kevin Hartman <kevin@hart.mn>

* Update interface.py

* Fixed indentation error

---------

Co-authored-by: Kevin Hartman <kevin@hart.mn>
2025-06-24 18:37:08 +00:00
..
circuit Fixes for dimacs-related boolean expression code (#14636) 2025-06-18 18:06:01 +00:00
compiler Fix default optimization level in comment (#14045) 2025-03-21 17:42:32 +00:00
converters Add method `has_control_flow_op()` to `QuantumCircuit` (#13936) 2025-05-28 23:23:13 +00:00
dagcircuit Adding BlockCollector classes to documentation (#14575) 2025-06-12 07:14:59 +00:00
passmanager Delegate `BasePass.__call__` to `PassManager.run` (#13820) 2025-03-06 02:01:25 +00:00
primitives Fix indendation of bit array docs (#14649) 2025-06-23 16:19:20 +00:00
providers Port QubitProperties to Rust and integrate with Target module (#14306) (#14563) 2025-06-17 15:51:25 +00:00
qasm/libs Update version of OpenQASM 3.0 standard library (#12387) 2024-07-22 15:44:46 +00:00
qasm2 Remove condition/c_if, duration, and unit from instructions (#13506) 2025-02-24 15:33:45 +00:00
qasm3 Annotation serialisation framework (#14439) 2025-06-04 20:20:27 +00:00
qpy Added circuit start table to the QPY file header (#14571) 2025-06-24 18:37:08 +00:00
quantum_info Introduce PauliLindbladMap (#14383) 2025-06-04 17:51:55 +00:00
result Add QubitSparsePauli and QubitSparsePauliList classes to quantum_info (#14283) 2025-05-30 10:42:35 +00:00
synthesis Fixes for dimacs-related boolean expression code (#14636) 2025-06-18 18:06:01 +00:00
transpiler Explicitly specify that `Target` cannot be modified by indexing. (#14379) 2025-06-17 20:25:14 +00:00
utils Add ParameterExpression in Rust (#13278) 2025-05-16 15:53:06 +00:00
visualization Reduce space inside BoxOps and fix layering issues with boxes (#14529) 2025-06-04 00:35:11 +00:00
VERSION.txt Bump main branch version post 2.1.0rc1 tag (#14546) 2025-06-06 07:53:19 +00:00
__init__.py Add missing stacklevel to deprecation warning for 3.9 (#14651) 2025-06-23 14:25:38 +00:00
_numpy_compat.py Spellcheck Done [Unitary Hack 2024] (#12501) 2024-06-19 15:50:03 +00:00
exceptions.py Introduction of ExperimentalWarning (#11326) 2024-01-31 12:16:46 +00:00
user_config.py Add minimum QPY version to user config (#14505) 2025-06-19 11:09:02 +00:00
version.py Remove __qiskit_version__ (deprecated in Qiskit Terra 0.25) (#11305) 2023-11-24 09:31:09 +00:00