⚙️ doQumentation Settings
Configure the Jupyter server used for executing Python code in tutorials.
Simulator Mode
Enable to run notebooks without an IBM Quantum account. All QiskitRuntimeService calls are redirected to a local simulator. No cell modifications needed. This applies to embedded code execution on this site only — opening a notebook in JupyterLab uses the standard Qiskit runtime.
Transpiled circuits and backend-specific results will differ from real hardware when using simulator mode. Static expected outputs shown on pages reflect real IBM backends.
Display Preferences
Code Font Size
from qiskit import QuantumCircuitPre-computed Outputs
Each notebook page shows pre-computed outputs (images, tables, text) from IBM's original runs. When you click Run to execute code live, both the original outputs and your new live results are shown side by side. Enable this toggle to hide the original outputs during live execution, keeping only your results visible.
Python Warnings
By default, Python warnings (deprecation notices, runtime hints) are suppressed for cleaner notebook output. Disable this to see all warnings — useful for debugging or learning about API changes.
Learning Progress
Your reading and execution progress is tracked locally in your browser. Visited pages show a ✓ in the sidebar; executed notebooks show a ▶.
Other
Advanced Settings
IBM Cloud Code Engine
Code Engine provides a fast, serverless Jupyter kernel powered by your own IBM Cloud account. Startup takes seconds instead of minutes. Free tier covers ~14 hours/month.
Setup Instructions
- Create an IBM Cloud account at cloud.ibm.com (free tier available)
- Create a Code Engine project in your preferred region
- Deploy a new application with image
ghcr.io/janlahmann/doqumentation-codeengine:latest, port 8080 - Set environment variable JUPYTER_TOKEN to a secure token (min 32 characters) and CORS_ORIGIN to your domain
IBM Quantum Account
save_account() method described below instead.Enter your IBM Quantum credentials once here. They will be auto-injected via save_account() when the kernel starts, so you don't need to enter them in every notebook. This applies to embedded code execution on this site only — opening a notebook in JupyterLab requires calling save_account() manually.
- Register at quantum.cloud.ibm.com/registration — no credit card required for the first 30 days
- Sign in at quantum.cloud.ibm.com
- Instance — Create a free Open Plan instance at Instances if you don't have one yet
- API Token — Click your profile icon (top right), then "API token". Copy the key.
- CRN — Copy the CRN string from your Instances page
For detailed steps, see IBM's Set up authentication guide (step 2).