File:Quantum Toffoli Gate Implementation.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 311 × 82 pixels, file size: 32 KB)
Contents
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
| DescriptionQuantum Toffoli Gate Implementation.svg |
English: This quantum circuit implements a three-qubit Toffoli gate composed from one- and two-qubit gates. Each of the three wires represents one qubit, and this circuit diagram should be read left-to-right. The single-qubit gates used are the standard Hadamard gate (H) and the (T) gate, as well as its conjugate transpose, represented by the "dagger" symbol. The only two-qubit gate used is the "CNOT" gate. Given a three-qubit standard-basis input state , the output is . This particular implementation is from the standard library of OpenQASM 2.
The following LaTeX code was used to generate this image: \documentclass[tikz]{standalone}
\usepackage{quantikz}
\begin{document}
\begin{quantikz}[row sep=2mm,column sep=2mm]
& \qw & \qw & \qw & \ctrl{2} & \qw & \qw & \qw & \ctrl{2} & \qw & \ctrl{1} & \gate{T} & \ctrl{1} & \qw \\
& \qw & \ctrl{1} & \qw & \qw & \qw & \ctrl{1} & \qw & \qw & \gate{T} & \targ{} & \gate{T^\dagger} & \targ{} & \qw \\
& \gate{H} & \targ{} & \gate{T^\dagger} & \targ{} & \gate{T} & \targ{} & \gate{T^\dagger} & \targ{} & \gate{T} & \gate{H} & \qw & \qw & \qw
\end{quantikz}
\end{document} |
| Date | |
| Source | Own work |
| Author | Freoh LeRat |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
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
A three-qubit quantum Toffoli gate implemented with only one- and two-qubit gates
Items portrayed in this file
depicts
some value
21 August 2022
image/svg+xml
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 12:40, 21 August 2022 | 311 × 82 (32 KB) | wikimediacommons>Freoh | Uploaded own work with UploadWizard |
File usage
There are no pages that use this file.