Skip to content
Yuri Kobayashi edited this page Oct 28, 2021 · 32 revisions

Frequently Asked Questions

General

How do I submit an answer?

Within each exercise notebook, on the challenge portal, you will find guidelines to submit an answer. For example in the challenge 1 notebook, for exercise 1a:

# Submit your answer using following code
from qc_grader import grade_ex1a
grade_ex1a(qiskit_module_names)

Can I run the challenge notebooks on a local computer?

Yes it is possible. But we strongly recommend you solve the exercises on the challenge portal. If you really want to run the exercises locally, you can download the notebooks from the challenge repository and run using Jupyter notebook.

Can we check answers on a local computer?

Yes it is possible. But similar to the above question, we strongly recommend you solve the exercises and check answers on the challenge portal. If you really want to check answers on a local computer, you need to install the grading client in addition to downloading the notebooks.

For details on how to use the grader locally, Vishal Sharathchandra Bajpe - @mrvee-qC has created an awesome guide which you can check out here.

Do we need to download the notebooks from github?

No, you can run all exercises on the challenge portal itself.

Do I need to take the exercises in order?

We encourage you complete the exercises in the given order as this is the intended structure for the challenge. However, you may take the exercises in any order.

Do I need an IBMid associated with my IBM Quantum Account?

Yes, you'll need an IBMid associated with your IBM Quantum account in order to complete some of the challenges. If you don't already have one, please register a new IBMid using the SAME email address associated with your IBM Quantum account. If you have any questions or face any issues, please let us know in the #challenge-fall-2021 Slack channel.

I encountered “Server error”. What should I do?

We have a lot of participants at the moment. Please be patient, wait and try again.

I encountered this error 401 : Unauthorized You are not Authenticated to do this (1) What should I do?

Please try the following on a notebook on Quantum Lab

import os
os.environ['QXToken'] = 'your token'
print(os.getenv('QXToken'))

You can find your token here: https://quantum-computing.ibm.com/account. Make sure the output matches the token you copied from the account page.

Run the code below to check if authentication is working. If you see a long string in the output, it means 401 error has been resolved.

from qc_grader.api import get_access_token
get_access_token()

Will I receive a badge and what are the qualifications?

You will receive the IBM Quantum Challenge Fall 2021 Achievement digital badge for participating in the IBM Quantum Challenge Fall 2021 and successfully completing all four of the challenges by the deadline of 5 Nov, 12:00 PM (EDT). More details will be shared once the challenge has completed.

YouTube livestream

We will have hosted YouTube Live lectures for four application modules prior to the challenge start.

You can watch the replay here if you missed the livestream.

IBM Quantum Lab

Why am I seeing the error "Failed: 401 Client Error: Unauthorized for URL"?

The challenge platform requires that you are logged in with a full IBMid, and not a social-media account like GitHub. If you are not using an IBMid to login, please register an account using the same email you registered with. This should resolve the above error.

Why am I seeing the error "Login with some authorized provider required."?

This error is shown if you are logging in with a social-media account like GitHub. Please see the solution given for the above question, Why am I seeing the error "Failed: 401 Client Error: Unauthorized for URL"?.

Why am I seeing the error "Your request cannot be processed. The System cannot process your request."?

This error may occur if you have two accounts and one is logging in automatically. To resolve this, navigate to ibm.com, disable auto login, logout, close all IBM tabs except one, and re-login to the challenge website.

Why am I seeing the error "Failed: Gateway Time-out"?

To resolve this issue, try restarting your Python kernel by pressing the refresh icon at the top of the Jupyter notebook/IBM Quantum Lab interface. However, keep in-mind that this will reset all of your Python variables, so you will have to re-run your notebook code cells. If this does not resolve the issue, ping @iqc21-mentor in the challenge Slack channel: #challenge-fall-2021.

Why am I seeing "Error 524" when I load the IBM Quantum Lab?

The IBM Quantum Lab and IBM Quantum Challenge Fall 2021 teams may need to update the platform at certain points during the challenge. If you encounter this error, you should wait about 5-10 minutes before trying again. By that stage, the server should have successfully updated.

Why am I seeing "File Save Error for challenge-x.ipynb, Invalid Response: 403 Forbidden"?

  1. If you see this error for challenge-2.ipynb, remove /comment out the sections in the notebook that is related to the ProgressPlot python object.

  2. If you see this error for challenge-3.ipynb you have two options to fix this issue:
    Option 1: Go to Challenge 3b problem statement (green block) and replace normal quotation ('') with back quotations (``) for seed_simulator=1024 and `seed_transpiler=1024`.
    Option 2: Rename your current notebook to `challenge-3-anythingyoulike` and then go to the challenge dashboard and reload the page. You should see a new `challenge-3.ipynb` created under the challenge-3 folder. Copy-paste any code you wrote in the old notebook to the new one to start from where you left off. Then you can delete the old notebook to stop the error messages to reappear.

Still have more questions?

Please let us know if you have any additional questions in the #challenge-fall-2021 in the Qiskit Slack workspace.

Clone this wiki locally