qiskit/test/python/circuit
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
..
classical Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
library Deprecation of MCMT in favor of MCMTGate (#13584) 2025-02-07 15:21:31 +00:00
__init__.py Remove coding: utf-8 per PEP 3120 (#4914) 2020-08-12 08:29:16 -04:00
gate_utils.py Use singletons for standard library unparameterized, non-controlled gates (#10314) 2023-09-19 19:41:30 +00:00
test_annotated_operation.py Fix annotated operation is modified during parameter assignment (#12869) 2024-07-31 16:15:31 +00:00
test_bit.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_calibrations.py Deprecate Pulse package and dependencies (#13164) 2024-10-23 07:38:36 +00:00
test_circuit_data.py Remove errant `print` statements from tests (#13702) 2025-01-21 14:45:17 +00:00
test_circuit_find_bit.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_circuit_load_from_qpy.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_circuit_multi_registers.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_circuit_operations.py Change the register name for `measure_active` to `meas` (#13866) 2025-02-18 11:15:55 +00:00
test_circuit_properties.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_circuit_qasm.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_circuit_registers.py Remove consider-using-f-string lint rule and updates (#12423) 2024-06-19 07:05:56 +00:00
test_circuit_vars.py Spellcheck Done [Unitary Hack 2024] (#12501) 2024-06-19 15:50:03 +00:00
test_commutation_checker.py Fix ``CommutationChecker`` for 2q Pauli rotations (#13762) 2025-02-06 16:07:25 +00:00
test_compose.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_control_flow.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_control_flow_builders.py Add `QuantumCircuit.noop` for instructionless qubit use (#13774) 2025-02-04 12:21:56 +00:00
test_controlled_gate.py Small improvement for multi-controlled 1-qubit gates (#13824) 2025-02-13 20:38:21 +00:00
test_delay.py Consider `unit` in `Delay` comparisons (#13816) 2025-02-11 19:06:11 +00:00
test_diagonal_gate.py Remove `assemble` and `assembler` module (#13748) 2025-02-05 09:26:42 +00:00
test_equivalence.py Add Rust representation of `EquivalenceLibrary` (#12585) 2024-09-25 13:29:01 +00:00
test_extensions_standard.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_gate_definitions.py Minor fixes for new adder and multiplier gates classes (#13530) 2024-12-12 12:09:48 +00:00
test_gate_power.py Adding annotated argument to power methods (#12101) 2024-04-23 18:56:37 +00:00
test_hamiltonian_gate.py Remove `assemble` and `assembler` module (#13748) 2025-02-05 09:26:42 +00:00
test_identifiers_circuits.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_initializer.py Remove `assemble` and `assembler` module (#13748) 2025-02-05 09:26:42 +00:00
test_instruction_repeat.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_instructions.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_isometry.py Fix `UnitaryGate.repeat()` method (#12986) 2024-08-26 08:17:49 +00:00
test_operation.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_parameters.py Remove `assemble` and `assembler` module (#13748) 2025-02-05 09:26:42 +00:00
test_piecewise_polynomial.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_random_circuit.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_register.py Effect final removals from Qiskit 1.0 (#11711) 2024-02-01 22:04:16 +00:00
test_registerless_circuit.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_rust_equivalence.py Add inverse function to StandardGate in rust (#13168) 2024-10-08 17:24:18 +00:00
test_scheduled_circuit.py Fix arithmetic bug in estimate_duration method (#13888) 2025-02-20 09:25:25 +00:00
test_singleton.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_store.py Deprecate the condition attribute and related functionality (#13223) 2024-10-31 13:58:26 +00:00
test_templates.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_tensor.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_tools.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_twirling.py Fix registering `global_phase` parameters when creating `CircuitData` (#13538) 2024-12-09 12:34:15 +00:00
test_uc.py Quantum Multiplexer Simplification (#13099) 2024-11-14 07:52:32 +00:00
test_ucx_y_z.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_uniform_superposition_gate.py Add Uniform State Preparation (#12112) 2024-07-03 06:47:55 +00:00
test_unitary.py Remove `assemble` and `assembler` module (#13748) 2025-02-05 09:26:42 +00:00