File:Qcircuit Toffoli.svg
Original file (SVG file, nominally 250 × 330 pixels, file size: 2 KB)
Captions
Summary
[edit]DescriptionQcircuit Toffoli.svg |
English: Quantum circuit diagram of a Toffoli gate, which is a controlled-controlled-NOT three qubit gate. The gate matrix is in the basis . |
Date | |
Source | Own work |
Author | Geek3 |
SVG development InfoField |
Source Code
[edit]Created in LaTeX using Q-circuit by the following code:
\documentclass[border=10pt]{standalone}
\input{Qcircuit} % available on http://physics.unm.edu/CQuIC/Qcircuit/
\usepackage{graphicx}
\begin{document}
\scalebox{5}{%
\Qcircuit @C=1.4em @R=1.8em {
& \ctrl{1} & \qw \\
& \ctrl{1} & \qw \\
& \targ & \qw
}}
\end{document}
Postprocessing with pdf2svg, Inkscape and Scour:
x=Qcircuit_Toffoli;
pdflatex $x.tex;
pdf2svg $x.pdf $x_.svg;
inkscape --verb=EditSelectAll --verb=SelectionUnGroup --verb=FileVacuum --verb=FileSave --verb=FileClose $x_.svg;
scour -i $x_.svg -o $x.svg --renderer-workaround --remove-metadata --enable-id-stripping --create-groups --enable-viewboxing
Licensing
[edit]- 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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 16:49, 29 April 2017 | 250 × 330 (2 KB) | Geek3 (talk | contribs) | =={{int:filedesc}}== {{Information |description={{en|1={{W|Quantum circuit}} diagram of a {{W|Toffoli gate|Toffoli}} {{W|Quantum gate|gate}}, which is a controlled-controlled-NOT three qubit gate. The gate matrix is <math>\left(\begin{array}{cccccccc}1... |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on eu.wikipedia.org
- Usage on nl.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 200.25pt |
---|---|
Height | 263.76pt |