From 40c85ccc17bdd278803fe2c2b955751c64b6ffbf Mon Sep 17 00:00:00 2001 From: Thomas Alexander Date: Wed, 24 Mar 2021 22:18:18 -0300 Subject: [PATCH] Add dumping of backend configuration channels field and update mock backends (Qiskit/qiskit-terra#5577) * Add support for dumping channels to pulse backend configuration. * Added reno. * Fix some tests broken by mock backend updates. * Correct sequencer test behaviour. * Update travis install order to install qiskit-aer earlier. * Update mock backends. * Add additional basis gates rz, sx, x, with gphase to basicaer. * Update basicaer to use qiskit gates. * Fix lint * Fix some test failures * Fix lint * Update mock backends. * Add mock backends for casablanca, lima, quito and sydney. * Fix bugs resulting from new calibrations. * Update api snapshots to latest versions * Fix test that expected identical behaviour between sequencer and scheduler. Co-authored-by: Kevin Krsulich Co-authored-by: Matthew Treinish Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- test/test_measure_error_mitigation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_measure_error_mitigation.py b/test/test_measure_error_mitigation.py index 18393b35..6bc18b64 100644 --- a/test/test_measure_error_mitigation.py +++ b/test/test_measure_error_mitigation.py @@ -121,7 +121,7 @@ def test_measurement_error_mitigation_with_vqe(self): result = vqe.compute_minimum_eigenvalue(operator=h2_hamiltonian) self.assertGreater(quantum_instance.time_taken, 0.) quantum_instance.reset_execution_results() - self.assertAlmostEqual(result.eigenvalue.real, -1.86, places=2) + self.assertAlmostEqual(result.eigenvalue.real, -1.86, delta=0.05) if __name__ == '__main__':