This is a file from the Wikimedia Commons

File:Shore code.svg

From Wikipedia, the free encyclopedia
Original file (SVG file, nominally 420 × 211 pixels, file size: 126 KB)
Page Module:Message box/fmbox.css has no content.

Summary

Description
English: Quantum circuit of the Shor code. Created in LaTeX using Q-circuit. Source code below.
Date
Source Own work
Author Bender2k14
SVG development
InfoField
 The SVG code is valid.
 This vector image was created with LaTeX.
 and with Inkscape.

Source code

\documentclass[11pt]{article}
\input{Qcircuit}
\thispagestyle{empty}
\begin{document}
\begin{align*}
 \Qcircuit @C=1em @R=.7em {
   \lstick{|\psi\rangle} & \ctrl{3} & \ctrl{6} & \gate{H} & \ctrl{1} & \ctrl{2} & \multigate{8}{E} & \ctrl{1} & \ctrl{2} & \targ     & \gate{H} & \ctrl{3} & \ctrl{6} & \targ     & \rstick{\ket{\psi}} \qw\\
   \lstick{\ket{0}}      & \qw      & \qw      & \qw      & \targ    & \qw      & \ghost{E}        & \targ    & \qw      & \ctrl{-1} & \qw      & \qw      & \qw      & \qw       & \qw \\
   \lstick{\ket{0}}      & \qw      & \qw      & \qw      & \qw      & \targ    & \ghost{E}        & \qw      & \targ    & \ctrl{-2} & \qw      & \qw      & \qw      & \qw       & \qw \\
   \lstick{\ket{0}}      & \targ    & \qw      & \gate{H} & \ctrl{1} & \ctrl{2} & \ghost{E}        & \ctrl{1} & \ctrl{2} & \targ     & \gate{H} & \targ    & \qw      & \ctrl{-3} & \qw \\
   \lstick{\ket{0}}      & \qw      & \qw      & \qw      & \targ    & \qw      & \ghost{E}        & \targ    & \qw      & \ctrl{-1} & \qw      & \qw      & \qw      & \qw       & \qw \\
   \lstick{\ket{0}}      & \qw      & \qw      & \qw      & \qw      & \targ    & \ghost{E}        & \qw      & \targ    & \ctrl{-2} & \qw      & \qw      & \qw      & \qw       & \qw \\
   \lstick{\ket{0}}      & \qw      & \targ    & \gate{H} & \ctrl{1} & \ctrl{2} & \ghost{E}        & \ctrl{1} & \ctrl{2} & \targ     & \gate{H} & \qw      & \targ    & \ctrl{-6} & \qw \\
   \lstick{\ket{0}}      & \qw      & \qw      & \qw      & \targ    & \qw      & \ghost{E}        & \targ    & \qw      & \ctrl{-1} & \qw      & \qw      & \qw      & \qw       & \qw \\
   \lstick{\ket{0}}      & \qw      & \qw      & \qw      & \qw      & \targ    & \ghost{E}        & \qw      & \targ    & \ctrl{-2} & \qw      & \qw      & \qw      & \qw       & \qw
 }
\end{align*}
\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 3.0 Unported 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

image/svg+xml

129,270 byte

ee8ed08d630463c632f9eb4ec2006582ab6ee4ab

File history

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

Date/TimeThumbnailDimensionsUserComment
current05:37, 11 March 2011Thumbnail for version as of 05:37, 11 March 2011420 × 211 (126 KB)wikimediacommons>Bender2k14{{Information |Description ={{en|1=Quantum circuit of the Shore code.}} |Source =Created in LaTeX using [http://www.cquic.org/Qcircuit/ Q-circuit]. Source code below. |Author =Self |Date = |Permission = |other_versions = }
No pages on the English Wikipedia use this file (pages on other projects are not listed).