Directives¶
The Xanadu Sphinx Theme implements the custom Sphinx directives listed below. For more information, consult the relevant Python module in the directives package.
Community Card¶
.. community-card::
:title: Weighted SubSpace QAOA to find maximum graph cliques
:date: 03/07/2022
:author: John Smith, Jane Doe
:paper: https://example.com
:code: https://code.com
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Weighted SubSpace QAOA to find maximum graph cliques
John Smith, Jane Doe
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Read more.. raw:: html
<div class="row g-3">
<div class="col-lg-6 col-md-6 col-12">
.. community-card::
:title: Weighted SubSpace QAOA to find maximum graph cliques
:date: 03/07/2022
:author: John Smith, Jane Doe
:paper: https://example.com
:code: https://code.com
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.. raw:: html
</div>
<div class="col-lg-6 col-md-6 col-12">
.. community-card::
:title: Quantum-Train Long Short-Term Memory (QT-LSTM) for Wave Prediction
:date: 09/04/2024
:author: John Smith, Jane Doe
:paper: https://example.com
:code: https://example.com
In this demo we introduce our new Momentum-QNG optimization algorithm and benchmark it with Momentum and QNG.
.. raw:: html
</div>
</div>
Weighted SubSpace QAOA to find maximum graph cliques
John Smith, Jane Doe
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Read moreQuantum-Train Long Short-Term Memory (QT-LSTM) for Wave Prediction
Lakshay Goel, Kovid Tandon
In this demo we introduce our new Momentum-QNG optimization algorithm and benchmark it with Momentum and QNG.
Read moreDetails Dropdown¶
.. details::
:title: Important Details
:href: important-details
In general, the block takes D parameters and **must** have the following signature:
.. code-block:: python
unitary(parameter1, parameter2, ... parameterD, wires)
For a block with multiple parameters, ``n_params_block`` is equal to the number of parameters in ``block``.
For a block with a single parameter, ``n_params_block`` is equal to the length of the parameter array.
.. details::
:title: Usage Details
This function can be used with any of the supported autodifferentiation frameworks. It also supports
just-in-time compilation with JAX:
.. code-block:: python
jax.jit(unitary)(parameter1, parameter2, ... parameterD, wires)
Example:
Important Details
In general, the block takes D parameters and must have the following signature:
unitary(parameter1, parameter2, ... parameterD, wires)
For a block with multiple parameters, n_params_block is equal to the number of parameters in block.
For a block with a single parameter, n_params_block is equal to the length of the parameter array.
Usage Details
This function can be used with any of the supported autodifferentiation frameworks. It also supports just-in-time compilation with JAX:
jax.jit(unitary)(parameter1, parameter2, ... parameterD, wires)
Gallery Item¶
.. raw:: html
<div class="gallery-grid">
.. gallery-item::
:description: Getting Started
:figure: _static/teleport.png
.. gallery-item::
:description: Installation
:figure: _static/teleport.png
.. gallery-item::
:description: Configuration
:figure: _static/teleport.png
.. gallery-item::
:description: API Reference
:figure: _static/teleport.png
.. gallery-item::
:description: Development Guide - API
:figure: _static/teleport.png
.. gallery-item::
:description: Plugin Tutorials Quantum Chemistry
:figure: _static/teleport.png
.. gallery-item::
:description: Device Docs
:figure: _static/teleport.png
.. gallery-item::
:description: Optimization
:figure: _static/teleport.png
.. gallery-item::
:description: Templates
:figure: _static/teleport.png
.. gallery-item::
:description: Demos
:figure: _static/teleport.png
.. gallery-item::
:description: Machine Learning
:figure: _static/teleport.png
.. gallery-item::
:description: Quantum Chemistry
:figure: _static/teleport.png
.. raw:: html
</div>
Index Card¶
.. index-card::
:name: Using the theme
:link: started.html
:description: Get started using the Xanadu Sphinx theme
Title Card¶
.. title-card::
:name: 'lightning.qubit'
:description: A fast state-vector qubit simulator written in C++
:link: https://docs.pennylane.ai/projects/lightning
.. raw:: html
<div style='clear:both'>
.. raw:: html
<div class="row g-3">
.. title-card::
:name: Installation
:description: Install and configure PennyLane in development mode.
:link: guide/installation.html
.. title-card::
:name: Contribution guide
:description: How to get involved in the PennyLane community and start contributing through issues, discussions, and pull requests.
:link: guide/contributing.html
.. title-card::
:name: Software tests
:description: Running tests.
:link: guide/tests.html
.. raw:: html
</div>
<div class="row g-3 mt-1">
.. title-card::
:name: Documentation
:description: Building and contributing modules and packages to the PennyLane documentation.
:link: guide/documentation.html
.. title-card::
:name: Architecture Design Records
:description: Proposing important architectural decisions and tracking design rationale over time.
:link: guide/adr.html
.. title-card::
:name: Deprecations and Removals
:description: Ensuring safe migration paths when introducing breaking changes.
:link: guide/deprecations_removals.html
.. raw:: html
</div>
YouTube Video¶
.. youtube-video:: WOLzqeuXVT8
:title: PennyLane, a framework for quantum programming
:author: Xanadu, a Toronto-based quantum computing company
Author bio¶
.. bio:: John Smith
:photo: _static/teleport.png
Write the author bio content here. It must be preceded by a blank line.