Quantum Bayesian Networks

September 19, 2008

Quantum Circuits in ASCII

Filed under: Uncategorized — rrtucci @ 4:50 am

I think quantum computing is the wave of the future. That’s why my quantum computer software QuanSuite uses futuristic, advanced computer graphics techniques like ASCII art. For example, behold how QuanSuite renders a 4-qubit quantum Fourier transform circuit:

4-qubit quantum Fourier transform

In these types of diagrams, time points downward, and

  • “|” stands for a qubit wire (connecting the same qubit at two successive times)
  • “–” stands for a piece of a connector between two different qubits
  • “H” stands for a Hadamard gate
  • “@” or “0” stands for the 2 possible kinds of control qubits of a controlled gate
  • “X” stands for the target qubit of a controlled gate.

, etc.

A simple CNOT looks like this: |   X---@    |

A swap looks like this: <---+--->   |

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: