File:Reversible circuit composition.svg

Summary

Description
English: Classical reversible circuit composition, bit processing, see en:Quantum circuit for more info.
Source

Created in LaTeX using Q-circuit by the following code:

\documentclass[11pt]{article}
\input{Qcircuit}
\thispagestyle{empty}
\begin{document}
\begin{align*}
 \Qcircuit @C=1em @R=.1em {
  & \multigate{4}{f} & \qw              & \qw\\
  & \ghost{f}        & \qw              & \qw\\
  & \ghost{f}        & \multigate{6}{g} & \qw\\
  & \ghost{f}        & \ghost{g}        & \qw\\
  & \ghost{f}        & \ghost{g}        & \qw\\
  & \qw              & \ghost{g}        & \qw\\
  & \qw              & \ghost{g}        & \qw\\
  & \qw              & \ghost{g}        & \qw\\
  & \qw              & \ghost{g}        & \qw \gategroup{1}{2}{9}{3}{.5em}{--}\\
 }
\end{align*}
\end{document}
Author Self

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.
Category:CC-BY-SA-3.0#Reversible%20circuit%20composition.svg
Category:Self-published work Category:Reversibles circuits Category:Images with LaTeX source code
Category:CC-BY-SA-3.0 Category:Images with LaTeX source code Category:Reversibles circuits Category:Self-published work