File size: 1,041 Bytes
b7d9967
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This code is part of Qiskit.
#
# (C) Copyright IBM 2019.
#
# 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.

"""Scheduling utility functions."""

from qiskit.utils.deprecation import deprecate_function
from qiskit.pulse import macros, utils

format_meas_map = deprecate_function(
    '"format_meas_map" has been moved to "qiskit.pulse.utils"',
    since="0.15.0",
)(utils.format_meas_map)

measure = deprecate_function('"measure" has been moved to "qiskit.pulse.macros"', since="0.15.0")(
    macros.measure
)

measure_all = deprecate_function(
    '"measure_all" has been moved to "qiskit.pulse.macros"', since="0.15.0"
)(macros.measure_all)