From 7614084e32521bd5b15d8e9a32af129feb7d6fd0 Mon Sep 17 00:00:00 2001 From: Jake Lishman Date: Thu, 23 Mar 2023 13:12:14 +0000 Subject: [PATCH 1/2] Move OQ3 exporter tests to qasm3 module These previously lived in `test/python/circuit` just for historical reasons (the OQ2 exporter lives there because it's a method on `QuantumCircuit`). Since we have a dedicated `qasm3` module now, including in the test suite, it makes sense to move the file there. --- .../{circuit/test_circuit_qasm3.py => qasm3/test_export.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/python/{circuit/test_circuit_qasm3.py => qasm3/test_export.py} (100%) diff --git a/test/python/circuit/test_circuit_qasm3.py b/test/python/qasm3/test_export.py similarity index 100% rename from test/python/circuit/test_circuit_qasm3.py rename to test/python/qasm3/test_export.py From 22d8870f5cfae53c1bea9669ea66b5e56ee009f1 Mon Sep 17 00:00:00 2001 From: Jake Lishman Date: Thu, 23 Mar 2023 14:20:50 +0000 Subject: [PATCH 2/2] Add missing __init__.py --- test/python/qasm3/__init__.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/python/qasm3/__init__.py diff --git a/test/python/qasm3/__init__.py b/test/python/qasm3/__init__.py new file mode 100644 index 000000000000..599302dae7b0 --- /dev/null +++ b/test/python/qasm3/__init__.py @@ -0,0 +1,13 @@ +# This code is part of Qiskit. +# +# (C) Copyright IBM 2023. +# +# This code is licensed under the Apache License, Version 2.0. You may +# obtain a copy of this license in the LICENSE.txt file in the root directory +# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# +# Any modifications or derivative works of this code must retain this +# copyright notice, and modified files need to carry a notice indicating +# that they have been altered from the originals. + +"""QASM3 tests."""