mirror of https://github.com/Qiskit/qiskit-aer.git
![]() * Use versioned base class for BaseEstimatorV1 instead of deprecated unversioned alias * Vendor removed V1 utils * Fix black * Replace bit with qubit * Remove assemble test, as assemble was deprecated in 1.4 and removed in 2.0 * Treat header as dict * Handle header conditionally * c_if is removed in 2.0, keep functionality for compatibility with 1.4 but remove use in tests * Fix access to header in tests * Remove use of instruction_durations in transpile * Attempt at fixing custom gate mapping. Not sure if gate = None is accepted as a gate definition * IfElseOp is not supported by statevector simulator. Reverted uni tests to c_if and added a conditional skip depending on qiskit version * Remove wrong import * Fix failed target construction * Only run tests with c_if with qiskit<2 * Address leftover custom basis gates in transpiler * Attempt at addressing .duration removal * Add unittest import missing in previous commit * Use new target arg in tests for relaxation noise pass * Fix lint * Don't use target with backend props * Attempt at fixing relaxation pass * use hashable type * Fix issue with pickle/dill (temporary skip of fractional gates) * Add missing c_if skip * Skip transpilation to avoid qiskit bug in test * Skipping transpilation affects results * Update truncation test. This test was relying on the transpiler blowing up the circuit to an arbitrary coupling map, which is something independent of the enable_truncation flag. The test now skips transpilation and exclusively tests the truncation (with enable_truncation=True, the test returns 2 instead of 4 qubits) * Apply suggestion to use shots None * Get rid of shot noise * Improve truncation test * Assert number of active qubits |
||
---|---|---|
.. | ||
aer_simulator | ||
__init__.py | ||
simulator_test_case.py | ||
test_aer_provider.py | ||
test_compatibility.py | ||
test_parameterized_circuit.py | ||
test_runtime_parameterization.py |