qiskit/test/python/quantum_info
Daniel Puzzuoli a9d7705d81
Add methods to QubitSparsePauli, QubitSparsePauliList, and PauliLindbladMap (#14426)
* Add methods to QubitSparsePauli, QubitSparsePauliList, and PauliLindbladMap

This is a roll-up of the previous done on top of the addition of the
`PauliLindbladMap` class to add extra methods to the named structs.

Co-authored-by: Samuele Ferracin <sam.ferracin@ibm.com>
Co-authored-by: Ian Hincks <ian.hincks@gmail.com>

* rebase and tests passing

* adding QubitSparsePauli identity function

* changing n_samples -> num_samples

* formatting

* Fix documentation build

* Fix incorrect method name

* Fix clippy complaint

* responding to comments

---------

Co-authored-by: Samuele Ferracin <sam.ferracin@ibm.com>
Co-authored-by: Ian Hincks <ian.hincks@gmail.com>
Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
2025-06-04 19:51:48 +00:00
..
operators Remove sympy as a hard dependency (#14396) 2025-06-02 15:52:26 +00:00
states Remove sympy as a hard dependency (#14396) 2025-06-02 15:52:26 +00:00
__init__.py Remove coding: utf-8 per PEP 3120 (#4914) 2020-08-12 08:29:16 -04:00
test_analyzation.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_pauli_lindblad_map.py Add methods to QubitSparsePauli, QubitSparsePauliList, and PauliLindbladMap (#14426) 2025-06-04 19:51:48 +00:00
test_quaternions.py Removing broad-exception-raised lint rule and updates (#12356) 2024-05-10 18:43:25 +00:00
test_qubit_sparse_pauli.py Add methods to QubitSparsePauli, QubitSparsePauliList, and PauliLindbladMap (#14426) 2025-06-04 19:51:48 +00:00
test_sparse_observable.py `SparseObservable` evolution (#13836) 2025-03-05 09:45:52 +00:00
test_sparse_z2_symmetries.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00