diff --git a/docs/changelog.rst b/docs/changelog.rst index 30527692..c6c0f3da 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,11 @@ Changelog ~~~~~~~~~ +Unreleased +---------- + +* Fix: use correct ``instance`` with ``IBMQEmulatorBackend``. + 0.48.0 (January 2024) --------------------- diff --git a/pytket/extensions/qiskit/backends/ibmq_emulator.py b/pytket/extensions/qiskit/backends/ibmq_emulator.py index 5adf8bb4..93297427 100644 --- a/pytket/extensions/qiskit/backends/ibmq_emulator.py +++ b/pytket/extensions/qiskit/backends/ibmq_emulator.py @@ -85,7 +85,9 @@ def __init__( token=token, ) - self._service = QiskitRuntimeService(channel="ibm_quantum", token=token) + self._service = QiskitRuntimeService( + channel="ibm_quantum", instance=instance, token=token + ) self._session = Session(service=self._service, backend="ibmq_qasm_simulator") # Get noise model: