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
\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:
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. https://creativecommons.org/licenses/by-sa/4.0 CC BY-SA 4.0 Creative Commons Attribution-Share Alike 4.0 true true English Add a one-line explanation of what this file represents
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time Thumbnail Dimensions User Comment
current 14:32, 13 December 2025 380 × 185 (30 KB) wikimediacommons>Sjoerd Terlouw Uploaded while editing "Variational quantum eigensolver" on en.wikipedia.org
File usage
There are no pages that use this file.