diff --git a/tests/conftest.py b/tests/conftest.py index 44d09f7..97f534b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -10,6 +10,8 @@ # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. +"""Fixtures used on the tests""" + import logging import pytest import numpy as np diff --git a/tests/parametrize_functions.py b/tests/parametrize_functions.py index 17125a6..58fc8f0 100644 --- a/tests/parametrize_functions.py +++ b/tests/parametrize_functions.py @@ -10,6 +10,8 @@ # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. +"""Common parametrize functions. The ones that are only used in one file are on that file""" + import pytest diff --git a/tests/test_ai_routing_pass.py b/tests/test_ai_routing_pass.py index 2f09a21..305ad13 100644 --- a/tests/test_ai_routing_pass.py +++ b/tests/test_ai_routing_pass.py @@ -10,9 +10,10 @@ # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. -"""Unit-testing routing_ai""" +"""Tests for the ai routing pass""" import pytest + from qiskit import QuantumCircuit from qiskit.transpiler import PassManager from qiskit.transpiler.exceptions import TranspilerError diff --git a/tests/test_ai_synthesis_pass.py b/tests/test_ai_synthesis_pass.py index af7ffa4..507144a 100644 --- a/tests/test_ai_synthesis_pass.py +++ b/tests/test_ai_synthesis_pass.py @@ -10,9 +10,12 @@ # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. -"""Unit-testing ai clifford syhtesis for both local and cloud modes""" +"""Tests for the ai synthesis pass""" + import pytest + from qiskit import QuantumCircuit + from qiskit.transpiler import PassManager from qiskit_ibm_transpiler.ai.collection import ( diff --git a/tests/test_collection_pass.py b/tests/test_collection_pass.py index a793a03..bdcadfc 100644 --- a/tests/test_collection_pass.py +++ b/tests/test_collection_pass.py @@ -10,17 +10,20 @@ # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. -"""Unit-testing collection""" +"""Tests for the collector pass""" + import pytest from qiskit import QuantumCircuit from qiskit.transpiler import PassManager from qiskit.transpiler.preset_passmanagers import generate_preset_pass_manager -from qiskit_ibm_transpiler.ai.collection import CollectPermutations -from qiskit_ibm_transpiler.ai.collection import CollectLinearFunctions -from qiskit_ibm_transpiler.ai.collection import CollectCliffords -from qiskit_ibm_transpiler.ai.collection import CollectPauliNetworks +from qiskit_ibm_transpiler.ai.collection import ( + CollectPermutations, + CollectLinearFunctions, + CollectCliffords, + CollectPauliNetworks, +) def create_linear_circuit(n_qubits, gates):