This code is for IBM Quantum devices. You implement this code on IBM Quantum Lab.
If you want to implement this code, change the below code for your access.
service = QiskitRuntimeService(
channel='ibm_quantum',
instance='ibm-q-utokyo/internal/cs-slecture8',
)
You can change the experimental settings by the following code in main.ipynb.
Q = 2 # qubit
L = 2 # fraxis layer
W = 63 # quantum node
N = 63 # training data size
M = 63 # evaluation data size
U = 5 # update
backend = service.backend('ibm_washington')