PennyLane
    • Research
    • Features
    • Performance
    • Hardware & Simulators
    • Learn
    • Teach
    • Install PennyLane
    • Documentation
    • Catalyst Compilation Docs
    • Development Guide
    • How-to Demos
    • API
    • GitHub
    • Demos
    • Quantum Compilation
    • Quantum Datasets
    • Codebook
    • Coding Challenges
    • Videos
    • Hamiltonian Simulation
    • Fault-Tolerant Quantum Computing
    • Quantum Gradients
    • Blog
    • FAQs
    • Discussion Forum
    • Submit a Demo
    • Get Involved
  • Install
    • Research
    • Features
    • Performance
    • Hardware & Simulators
    • Learn
    • Teach
    • Install PennyLane
    • Documentation
    • Catalyst Compilation Docs
    • Development Guide
    • How-to Demos
    • API
    • GitHub
    • Demos
    • Quantum Compilation
    • Quantum Datasets
    • Codebook
    • Coding Challenges
    • Videos
    • Hamiltonian Simulation
    • Fault-Tolerant Quantum Computing
    • Quantum Gradients
    • Blog
    • FAQs
    • Discussion Forum
    • Submit a Demo
    • Get Involved
  • Install

Navigation

  • index
  • modules |
  • next |
  • previous |
  • PennyLane Sphinx Theme 0.24.0 documentation »
  • Gallery »
  • Example Sphinx-Gallery demo

PennyLane Sphinx Theme

  • Overview
  • Release notes

Usage

  • Getting Started
  • Elements
  • Directives
  • Gallery
  • Configuration

API

  • pennylane_sphinx_theme
  1. Docs
  2. Gallery
  3. Example Sphinx-Gallery demo

Note

Click here to download the full example code

Example Sphinx-Gallery demo¶

This tutorial is an example demo generated using Sphinx Gallery.

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}")

Out:

==================== System Information ====================
System: Linux
Node Name: build-3288312-project-9734-xanaduai-pennylane-sphinx-theme
Release: 6.8.0-1021-aws
Version: #23-Ubuntu SMP Mon Dec  9 23:59:34 UTC 2024
Machine: x86_64
Processor: x86_64

Author¶

John Smith

John Smith

Write the author bio content here. It must be preceded by a blank line.

Total running time of the script: ( 0 minutes 0.010 seconds)

Download Python source code: tutorial_demo.py

Download Jupyter notebook: tutorial_demo.ipynb

Gallery generated by Sphinx-Gallery

gallery/tutorial_demo
 
Download Python script
 
Download Notebook
 
View on GitHub
Previous
Next

Contents

  • Release notes

Usage

  • Getting Started
  • Elements
  • Directives
  • Gallery
  • Configuration

API

  • pennylane_sphinx_theme

Navigation

  • index
  • modules |
  • next |
  • previous |
  • PennyLane Sphinx Theme 0.24.0 documentation »
  • Gallery »
  • Example Sphinx-Gallery demo

PennyLane

PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Built by researchers, for research. Created with ❤️ by Xanadu.

Research

Research Performance Hardware & Simulators Demos Quantum Compilation Quantum Datasets

Education

Teach Learn Codebook Coding Challenges Videos Glossary

Software

Install PennyLane Features Documentation Catalyst Compilation Docs Development Guide API GitHub
Stay updated with our newsletter

Copyright © 2025 | Xanadu | All rights reserved

TensorFlow, the TensorFlow logo and any related marks are trademarks of Google Inc.

Privacy Policy
Terms of Service
Cookie Policy
Code of Conduct