Configure Qiskit Runtime for an organization
This documentation is relevant to the new IBM Quantum® Platform. If you need the previous version, return to the IBM Quantum Platform Classic documentation.
Follow these steps to set up Qiskit Runtime.
Configure IAM settings
First, configure the following settings in the administrator's Identity and Access Management (IAM) account. To review and configure these settings, go to Manage → IAM → Settings.
- User list visibility determines whether users can see each other, regardless of project assignment. The
enabled
setting restricts user visibility. That is, users in your account cannot see each other, even if they can access the same resources. Choose the appropriate value for your environment. See Controlling user visibility for more information. - API key creation controls whether users can create API keys. In Qiskit Runtime, it is common to use API keys. If API keys are being used, choose
disabled
. Alternatively, you can give specific permissions to each user.
(Optional) Create resource groups
Skip this step if you are using access groups that directly reference Qiskit Runtime service instances.
If you chose to use resource groups, go to Manage → Account → Resource groups (in Account resources) and click Create.
Create Qiskit Runtime service instances
If you already created Qiskit Runtime service instances, skip this step.
- If you are using resource groups, make sure to create the service instances on the appropriate resource group.
- The service instance name, such as
QR-ml
, is needed for access group references.
Follow the steps in Set up to use IBM Cloud for instructions.
Create access groups for projects
First, create a custom role that allows users to perform actions to work with Qiskit Runtime service instances for each access group. Next, create an access group for each project and give that group the minimum set of permissions that are required to work with the project resources. In a later step, you will map users to access groups.
Follow these steps to set up an access group:
-
Create a custom role.
-
From Manage → IAM → Roles, click
Create
. -
Enter a name, ID, description, and select
Qiskit Runtime
for the service. -
Select the following roles, then click Create.
- quantum-computing.device.read
- quantum-computing.job.cancel
- quantum-computing.job.create
- quantum-computing.job.read
- quantum-computing.program.create
- quantum-computing.program.delete
- quantum-computing.program.read
- quantum-computing.program.update
- quantum-computing.user.logout
- Select quantum-computing.job.delete if you want to allow users to delete jobs.
NoteYou can optionally define more fine-grained roles by following these instructions.
-
-
Create an access group.
- Go to Manage → IAM → Access groups and click Create.
- Enter a name, like
project-ml
, and a description.
-
Assign access to the group.
- Select the Access tab and click Assign access.
- In the Service list, search for Qiskit Runtime and select it, then click Next.
- In Resources, select Specific resources. For Attribute type, choose Service Instance.
- From the drop-down list, select the service instance that you want to add to the access group, for example,
QR-ml
. If you are using resource groups, select the resource group instead of selecting individual service instances. Click Next. - For Roles and actions, select Viewer and the custom role that was created previously. Click Add, then Assign.
- Repeat this step if you want to give an access group permission to several service instances.
Set up your ID provider and assign users
Follow the steps in the appropriate topic, depending on the ID provider you chose to use:
- Use IBM Cloud® as the ID provider for users that have IBM Cloud accounts
- Use IBM Cloud as the ID provider for users that do not have IBM Cloud accounts
- Use an ID provider other than IBM Cloud for users that do not have IBM Cloud accounts