Note
Go to the end to download the full example code.
Example Sphinx-Gallery demo¶
This tutorial is an example demo generated using Sphinx Gallery. Here are a few references to see what they look like 1 2.
System Info¶
import platform
uname = platform.uname()
Let’s print out the system information.
print("="*20, "System Information", "="*20)
print(f"System: {uname.system}")
print(f"Node Name: {uname.node}")
print(f"Release: {uname.release}")
print(f"Version: {uname.version}")
print(f"Machine: {uname.machine}")
print(f"Processor: {uname.processor}")
==================== System Information ====================
System: Linux
Node Name: build-32059680-project-816245-xanadu-sphinx-theme
Release: 6.17.0-1007-aws
Version: #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026
Machine: x86_64
Processor: x86_64
References¶
- 1
James Stokes, Josh Izaac, Nathan Killoran, and Giuseppe Carleo. “Quantum Natural Gradient.” arXiv:1909.02108 (2019).
- 2
Ryan Sweke, Frederik Wilde, Johannes Jakob Meyer, Maria Schuld, Paul K. Fährmann, Barthélémy Meynard-Piganeau, and Jens Eisert. “Stochastic gradient descent for hybrid quantum-classical optimization.” arXiv:1910.01155 (2019).
gallery/tutorial_demo
Download Python script
Download Notebook
View on GitHub