Add note about recent change to sessions (#955)

Closes #921
This commit is contained in:
abbycross 2024-03-04 15:48:03 -05:00 committed by GitHub
parent ac6d5dc88a
commit 69d76a1041
2 changed files with 8 additions and 1 deletions

View File

@ -8,6 +8,10 @@ description: How to run a quantum computing job in a Qiskit Runtime session.
There are several ways to set up and use [sessions](sessions). It is recommended that you do not run a session with a single job in it.
<Admonition type="caution" title="Important">
The way sessions are started within Qiskit Runtime has changed. **By 1 April 2024**, upgrade to `qiskit-ibm-runtime` version 0.20.0 or later, or `qiskit-ibm-provider` version 0.10.0 or later. In addition, ensure you are using Qiskit version 0.45.0 or later. Starting 1 April, session calls made in earlier versions of these packages will fail.
</Admonition>
## Set up to use sessions
Before starting a session, you must [set up Qiskit Runtime](../start/install) and initialize it as a service:

View File

@ -3,9 +3,12 @@ title: Sessions
description: An overview of Qiskit Runtime sessions and when to use them.
---
# Introduction to Qiskit Runtime sessions
<Admonition type="caution" title="Important">
The way sessions are started within Qiskit Runtime has changed. **By 1 April 2024**, upgrade to `qiskit-ibm-runtime` version 0.20.0 or later, or `qiskit-ibm-provider` version 0.10.0 or later. In addition, ensure you are using Qiskit version 0.45.0 or later. Starting 1 April, session calls made in earlier versions of these packages will fail.
</Admonition>
A session is a Qiskit Runtime feature that lets you efficiently run multi-job iterative workloads on quantum computers. Using sessions helps avoid delays caused by queuing each job separately, which can be particularly useful for iterative tasks that require frequent communication between classical and quantum resources.
<Admonition type="note">