File:VQE.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 380 × 185 pixels, file size: 30 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: High-level demonstration of the Variational Quantum Eigensolver
    Date
    Source Own work
    Author Sjoerd Terlouw
    \documentclass{standalone}
    \usepackage{tikz}
    \usetikzlibrary{quantikz2}
    \begin{document}
         \begin{tikzpicture}[column sep=0.7cm]
            \node(q){\begin{quantikz}
                \lstick{$\ket{0}$} & \gate[4, disable auto height][2cm]{U(\vec{\theta})}\slice{$\vert\psi(\vec{\theta})\rangle$} & \gate[4, disable auto height][2cm]{\begin{gathered}\text{Measure } \langle H \rangle \\ \langle {\psi(\vec\theta)}\vert H\vert{\psi(\vec\theta)}\rangle \end{gathered}} \\
                \lstick{$\ket{0}$} & & \\
                \setwiretype{n}\push{\vdots} & & \arrow[r] & \push{\begin{gathered}
                    \text{Update choice of } \vec\theta \\ \text{ to try reducing }\langle H \rangle
                \end{gathered}}\\
                \lstick{$\ket{0}$} & & 
            \end{quantikz}};
            \coordinate (bottom_text) at ($(q.east)+(-1.5,-1)$);
            \coordinate (bottom_oracle) at ($(q.south)+(-2.7,0.34)$);
            \draw[->] (bottom_text) -- (q.south -| bottom_text) -- (q.south -| bottom_oracle) -- (bottom_oracle);
        \end{tikzpicture}
    \end{document}
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    31,032 byte

    image/svg+xml

    f65a847750449517a1374e4d8e8fa3e3a0e83076

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current14:32, 13 December 2025Thumbnail for version as of 14:32, 13 December 2025380 × 185 (30 KB)wikimediacommons>Sjoerd TerlouwUploaded while editing "Variational quantum eigensolver" on en.wikipedia.org

    There are no pages that use this file.