diff --git a/qiskit_ibm_runtime/estimator.py b/qiskit_ibm_runtime/estimator.py index db8308eec..a46c6f2c4 100644 --- a/qiskit_ibm_runtime/estimator.py +++ b/qiskit_ibm_runtime/estimator.py @@ -22,7 +22,6 @@ from qiskit.quantum_info.operators.base_operator import BaseOperator from qiskit.primitives import BaseEstimator -# TODO import _circuit_key from terra once 0.23 is released from .runtime_job import RuntimeJob from .ibm_backend import IBMBackend from .options import Options diff --git a/qiskit_ibm_runtime/qiskit_runtime_service.py b/qiskit_ibm_runtime/qiskit_runtime_service.py index 2a05afcab..2a9abd080 100644 --- a/qiskit_ibm_runtime/qiskit_runtime_service.py +++ b/qiskit_ibm_runtime/qiskit_runtime_service.py @@ -970,15 +970,6 @@ def run( RuntimeProgramNotFound: If the program cannot be found. IBMRuntimeError: An error occurred running the program. """ - # TODO: Remove this after 3 months - if program_id in ["hello-world", "vqe", "qaoa"]: - raise IBMInputValueError( - "The hello-world, vqe, and qaoa programs have been retired in the " - "Qiskit Runtime service. Please visit https://qiskit.org/ecosystem/ibm-runtime " - "for an introduction on Sessions and Primitives, and to access " - "tutorials on how to execute VQE and QAOA using Qiskit Runtime Primitives." - ) - qrt_options: RuntimeOptions = options if options is None: qrt_options = RuntimeOptions() diff --git a/test/integration/test_backend.py b/test/integration/test_backend.py index 683d10d8f..a1d1bb209 100644 --- a/test/integration/test_backend.py +++ b/test/integration/test_backend.py @@ -135,7 +135,7 @@ def test_backend_properties(self): properties_today = backend.properties(datetime=datetime.today()) self.assertIsNotNone(properties) self.assertIsNotNone(properties_today) - self.assertEqual(properties, properties_today) + self.assertEqual(properties.backend_version, properties_today.backend_version) @production_only def test_backend_pulse_defaults(self): diff --git a/test/unit/test_logger.py b/test/unit/test_logger.py index 986ce3e5e..3fa558ad9 100644 --- a/test/unit/test_logger.py +++ b/test/unit/test_logger.py @@ -108,7 +108,6 @@ def test_valid_log_levels_mixed_casing(self): "be {}.".format(logger.level, level_value), ) - # TODO: NamedTemporaryFiles do not support name in Windows @skipIf(os.name == "nt", "Test not supported in Windows") def test_log_file(self): """Test setting up a logger by specifying a file and log level.""" diff --git a/test/utils.py b/test/utils.py index 5ae84b371..284ec0220 100644 --- a/test/utils.py +++ b/test/utils.py @@ -134,8 +134,7 @@ def wait_for_status(job, status, poll_time=1, time_out=20): def get_real_device(service): """Get a real device for the service.""" try: - # TODO: Remove filters when ibmq_berlin is removed - return service.least_busy(simulator=False, filters=lambda b: b.name != "ibmq_berlin").name + return service.least_busy(simulator=False).name except QiskitBackendNotFoundError: raise unittest.SkipTest("No real device") # cloud has no real device