Skip to content

Commit

Permalink
Remove old Deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ElePT authored Mar 29, 2023
1 parent 11e74bd commit 6924130
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions qiskit/utils/measurement_error_mitigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_measured_qubits(
transpiled_circuits: List[QuantumCircuit],
) -> Tuple[List[int], Dict[str, List[int]]]:
"""
Deprecation: Retrieve the measured qubits from transpiled circuits.
Retrieve the measured qubits from transpiled circuits.
Args:
transpiled_circuits: a list of transpiled circuits
Expand Down Expand Up @@ -87,7 +87,7 @@ def get_measured_qubits(
)
def get_measured_qubits_from_qobj(qobj: QasmQobj) -> Tuple[List[int], Dict[str, List[int]]]:
"""
Deprecation: Retrieve the measured qubits from transpiled circuits.
Retrieve the measured qubits from transpiled circuits.
Args:
qobj: qobj
Expand Down Expand Up @@ -141,7 +141,7 @@ def build_measurement_error_mitigation_circuits(
compile_config: Optional[Dict] = None,
mit_pattern: Optional[List[List[int]]] = None,
) -> Tuple[QuantumCircuit, List[str], List[str]]:
"""Deprecation: Build measurement error mitigation circuits
"""Build measurement error mitigation circuits
Args:
qubit_list: list of ordered qubits used in the algorithm
fitter_cls: CompleteMeasFitter or TensoredMeasFitter
Expand Down
4 changes: 2 additions & 2 deletions qiskit/utils/mitigation/_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

class MeasurementFilter:
"""
Deprecation: Measurement error mitigation filter.
Measurement error mitigation filter.
Produced from a measurement calibration fitter and can be applied
to data.
Expand Down Expand Up @@ -219,7 +219,7 @@ def _apply_correction(self, resultidx, raw_data, method):

class TensoredFilter:
"""
Deprecation: Tensored measurement error mitigation filter.
Tensored measurement error mitigation filter.
Produced from a tensored measurement calibration fitter and can be applied
to data.
Expand Down
6 changes: 3 additions & 3 deletions qiskit/utils/mitigation/circuits.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
additional_msg="This function was used by the deprecated QuantumInstance class. For code migration guidelines, visit https://qisk.it/qi_migration.",
)
def count_keys(num_qubits: int) -> List[str]:
"""Deprecation: Return ordered count keys.
"""Return ordered count keys.
Args:
num_qubits: The number of qubits in the generated list.
Expand All @@ -51,7 +51,7 @@ def complete_meas_cal(
circlabel: str = "",
) -> Tuple[List["QuantumCircuit"], List[str]]:
"""
Deprecation: Return a list of measurement calibration circuits for the full
Return a list of measurement calibration circuits for the full
Hilbert space.
If the circuit contains :math:`n` qubits, then :math:`2^n` calibration circuits
Expand Down Expand Up @@ -132,7 +132,7 @@ def tensored_meas_cal(
circlabel: str = "",
) -> Tuple[List["QuantumCircuit"], List[List[int]]]:
"""
Deprecation: Return a list of calibration circuits
Return a list of calibration circuits
Args:
mit_pattern: Qubits on which to perform the
Expand Down
2 changes: 1 addition & 1 deletion qiskit/utils/mitigation/fitters.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def readout_fidelity(self, label_list=None):

class TensoredMeasFitter:
"""
Deprecation: Measurement correction fitter for a tensored calibration.
Measurement correction fitter for a tensored calibration.
"""

@deprecate_func(
Expand Down
2 changes: 1 addition & 1 deletion qiskit/utils/quantum_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def type_from_instance(meas_instance):


class QuantumInstance:
"""Deprecation: Quantum Backend including execution setting."""
"""Quantum Backend including execution setting."""

_BACKEND_CONFIG = ["basis_gates", "coupling_map"]
_COMPILE_CONFIG = ["initial_layout", "seed_transpiler", "optimization_level"]
Expand Down
4 changes: 2 additions & 2 deletions qiskit/utils/run_circuits.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
def find_regs_by_name(
circuit: QuantumCircuit, name: str, qreg: bool = True
) -> Optional[Union[QuantumRegister, ClassicalRegister]]:
"""Deprecation: Find the registers in the circuits.
"""Find the registers in the circuits.
Args:
circuit: the quantum circuit.
Expand Down Expand Up @@ -120,7 +120,7 @@ def run_circuits(
max_job_retries: int = 50,
) -> Result:
"""
Deprecation: An execution wrapper with Qiskit-Terra, with job auto recover capability.
An execution wrapper with Qiskit-Terra, with job auto recover capability.
The auto-recovery feature is only applied for non-simulator backend.
This wrapper will try to get the result no matter how long it takes.
Expand Down

0 comments on commit 6924130

Please sign in to comment.