Skip to main content
IBM Quantum Platform

Use virtual private endpoints for VPC to privately connect to IBM Quantum Platform

Use Virtual Private Endpoints (VPE) for VPC to connect to IBM Quantum® from your VPC network by using IP address that you specify, allocated from a subnet within your VPC.

VPEs are virtual IP interfaces that are bound to an endpoint gateway created on a per-service basis. The endpoint gateway is a virtualized function that scales horizontally, is redundant and highly available, and spans all availability zones of your VPC. Endpoint gateways enable communications from virtual server instances within your VPC and IBM Cloud® service on the private backbone. VPE for VPC lets you control all private addressing within your cloud. For more information, see About virtual private endpoint gateways.

Within IBM Quantum Platform, all customer data is transmitted over the private network regardless of whether it is accessed through a public endpoint or VPE.

Connecting to IBM Quantum Platform through the public endpoints transmits all request and response data over the public internet. To connect to IBM Quantum Platform by using a VPE, you must use the IBM Quantum Platform API or SDK. IBM Quantum Platform can only be accessed through the public network.


Before you begin

Before you target a VPE for IBM Quantum Platform, complete the following steps:


Set up a VPE for IBM Quantum Platform

There are several ways to create a VPE gateway. If you use the CLI or API, you must specify the Cloud Resource Name (CRN) of the region in which you want connect to IBM Quantum Platform. Review the following table for the available regions and CRNs.

RegionPlansFully Qualified Domain Name (FDQN)Cloud Resource Name (CRN)
eu-deStandardprivate.eu-de.quantum-computing.cloud.ibm.comcrn:v1:bluemix:public:quantum-computing:eu-de:::endpoint:qiskit-runtime.private.eu-de.quantum-computing.cloud.ibm.com
Channel Partnerqiskitruntime.private.eu-de.quantum-computing.cloud.ibm.com, scheduler.private.eu-de.quantum-computing.cloud.ibm.comcrn:v1:bluemix:public:quantum-computing:eu-de:::endpoint:qiskit-runtime.private.eu-de.quantum-computing.cloud.ibm.com

Configuring an endpoint gateway

To configure a VPE gateway, follow these steps:

  1. List the available services, including IBM Cloud infrastructure services available (by default) for all VPC users.
  2. Create an endpoint gateway for IBM Quantum Platform that you want to be privately available to the VPC.
  3. Bind a reserved IP address to the endpoint gateway.
  4. View the created VPE gateways associated with IBM Quantum Platform.

Now your virtual server instances in the VPC can access your IBM Quantum Platform instance privately.


Use your VPE for IBM Quantum Platform

After you create an endpoint gateway for IBM Quantum Platform, follow these steps:

Use the VPE with qiskit-ibm-runtime (Python SDK)

Note

VPE support requires qiskit-ibm-runtime v0.24.0 or later.

When instantiating QiskitRuntimeService, specify private_endpoint=True.

service = QiskitRuntimeService(token="APIKEY", instance="SERVICE_CRN", channel="ibm_cloud", private_endpoint=True)

Use the VPE with the IBM Quantum API

After creating an endpoint gateway for IBM Quantum Platform, use the service endpoint's FQDN for the target region.

  curl -X POST https://private.$REGION.quantum-computing.cloud.ibm.com/jobs -H "Authorization: Bearer $BEARER_TOKEN" -H "Service-CRN: $SERVICE_INSTANCE_CRN" -d '{
    "backend": "backend",
    "program_id": "sampler"
  }'
Was this page helpful?
Report a bug or request content on GitHub.