qiskit/test/python
Matthew Treinish a2da24b5ab
Fix arithmetic bug in estimate_duration method (#13888)
In the recently merged #13783 a bug slipped in an unexercised code path
where we were dividing by dt instead of multiplying. This was fixed in
the common code path where dt is an int, but nothing in the data model
disallows float durations for dt units despite it not being real. Since
the data model allowed it the rust code needed to support it and that
path did the wrong operation. This commit fixes that oversight in the
rust code and adds a test for it.
2025-02-20 09:25:25 +00:00
..
circuit Fix arithmetic bug in estimate_duration method (#13888) 2025-02-20 09:25:25 +00:00
classical_function_compiler Fix the possibly-used-before-assignment in pylint (#12542) 2024-06-13 10:47:34 +00:00
compiler Remove use of `BackendProperties` (BackendV1) in transpiler pipeline (#13722) 2025-02-18 17:51:48 +00:00
converters Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
dagcircuit Add option ``max_block_width`` to ``CollectLinearFunctions`` and ``CollectClifford`` passes (#13661) 2025-01-28 06:59:21 +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 Remove pulse from GenericBackendV2 (#13829) 2025-02-13 16:08:52 +00:00
providers Remove pulse from GenericBackendV2 (#13829) 2025-02-13 16:08:52 +00:00
pulse Remove pulse from GenericBackendV2 (#13829) 2025-02-13 16:08:52 +00:00
qasm Remove Sabre's manual insertion-order iteration and unnecessary sorts (#9560) 2023-02-15 00:08:30 +00:00
qasm2 Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
qasm3 Fix an error in qasm3 exporter when operating on unitary gates (#13633) 2025-01-14 15:10:27 +00:00
qobj Remove `assemble` and `assembler` module (#13748) 2025-02-05 09:26:42 +00:00
qpy Remove pulse-related passes (#13798) 2025-02-07 14:15:57 +00:00
quantum_info Fix Y-eigenstate convention in `SparsePauliOp.as_paulis` (#13847) 2025-02-14 18:57:33 +00:00
result Deprecate `qiskit.result.mitigation` (#13351) 2024-10-30 16:44:27 +00:00
synthesis Add 2q fractional gates to the `UnitarySynthesis` transpiler pass (#13568) 2025-02-10 10:40:18 +00:00
transpiler Remove deprecated legacy scheduling passes (#13876) 2025-02-19 10:43:52 +00:00
utils Uppercase `Qiskit` in deprecation warnings (#13452) 2024-12-04 12:06:00 +00:00
visualization Fix barrier label position when bits are reversed (#13780) 2025-02-05 13:50:51 +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
test_util.py Spellcheck Done [Unitary Hack 2024] (#12501) 2024-06-19 15:50:03 +00:00