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
    An explanation of the work.
Weighted SubSpace QAOA to find maximum graph cliques
Details Dropdown¶
.. details::
    :title: Usage 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.
Example:
Usage 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.
Gallery Item¶
.. gallery-item::
    :description: :doc:`Getting Started <started>`
    :figure: :figure: _static/teleport.png
.. raw:: html
    <div style='clear:both'>
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'>
YouTube Video¶
.. youtube-video:: WOLzqeuXVT8
    :title: PennyLane, a framework for quantum programming
    :author: Xanadu, a Toronto-based quantum computing company
directives
                Download Python script
                Download Notebook
                View on GitHub
                 
 
         
        