Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue #6079 - move calibrator from scheduling to transformation folder #6720

Closed
wants to merge 10 commits into from
9 changes: 7 additions & 2 deletions qiskit/transpiler/passes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@
DynamicalDecoupling
AlignMeasures
ValidatePulseGates
RZXCalibrationBuilder

Transformation
=================
RZXCalibrationBuilder

Circuit Analysis
================
Expand Down Expand Up @@ -193,7 +196,9 @@
from .scheduling import DynamicalDecoupling
from .scheduling import AlignMeasures
from .scheduling import ValidatePulseGates
from .scheduling import RZXCalibrationBuilder

# circuit transformation
from .transformation import RZXCalibrationBuilder

# additional utility passes
from .utils import CheckMap
Expand Down
2 changes: 0 additions & 2 deletions qiskit/transpiler/passes/scheduling/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@
from .asap import ASAPSchedule
from .time_unit_conversion import TimeUnitConversion
from .dynamical_decoupling import DynamicalDecoupling
from .calibration_creators import CalibrationCreator, RZXCalibrationBuilder
from .rzx_templates import rzx_templates
from .instruction_alignment import AlignMeasures, ValidatePulseGates
17 changes: 17 additions & 0 deletions qiskit/transpiler/passes/transformation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This code is part of Qiskit.
#
# (C) Copyright IBM 2020.
#
# 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.

"""Module containing circuit transformation passes."""

from .calibration_creators import CalibrationCreator, RZXCalibrationBuilder
from .rzx_templates import rzx_templates

2 changes: 1 addition & 1 deletion test/python/pulse/test_calibrationbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
DriveChannel,
GaussianSquare,
)
from qiskit.transpiler.passes.scheduling.calibration_creators import (
from qiskit.transpiler.passes.transformation.calibration_creators import (
RZXCalibrationBuilderNoEcho,
)
from qiskit.test.mock import FakeAthens
Expand Down