Hardware
De Seitn is no ned ibersetzt worn. Sie schaung de englische Originalversion o.
Masao Tokunari and Tamiya Onodera (14 June 2024)
This course is based on a live course delivered at the University of Tokyo.
This lesson's lecture pdf was split into two parts. Download part 1 and download part 2. Note that some code snippets might become deprecated since these are static images.
1. Introduction​
This lesson explores modern quantum computing hardware.
We will start by verifying some versions and importing some relevant packages.
# Added by doQumentation — required packages for this notebook
!pip install -q qiskit qiskit-ibm-runtime
import statistics
from qiskit_ibm_runtime import QiskitRuntimeService
2. Backend and Target​
Qiskit provides an API to obtain the information, both static and dynamic, about a quantum device. We use a Backend instance to interface with a device, which includes a Target instance, an abstract machine model that summarizes the pertinent features such as its instruction set architecture (ISA) and any properties or constraints associated with it. Let us use these backend instances to get some of the information you see on the Compute resources page on IBM Quantum® Platform. First, we create a backend instance for a device of interest. In the following, we pick "ibm_kyoto" , "ibm_kawasaki" or the least busy Eagle machine. Your access to QPUs might differ; update the backend name accordingly.
service = QiskitRuntimeService()
# backend = service.backend("ibm_kawasaki") # an Eagle, if you have access to ibm_kawasaki
backend = service.least_busy(
operational=True, simulator=False, min_num_qubits=127
) # Eagle
backend.name
'ibm_strasbourg'
We start with some basic (static) information about the device.
print(
f"""
{backend.name}, {backend.num_qubits} qubits
processor type = {backend.processor_type}
basis gates = {backend.basis_gates}
"""
)
ibm_strasbourg, 127 qubits
processor type = {'family': 'Eagle', 'revision': 3}
basis gates = ['ecr', 'id', 'rz', 'sx', 'x']