Skip to content

Instantly share code, notes, and snippets.

@mortdeus
Created November 30, 2012 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mortdeus/4175835 to your computer and use it in GitHub Desktop.
Save mortdeus/4175835 to your computer and use it in GitHub Desktop.
Bit versus qubit
A bit is the basic unit of computer information. Regardless of its physical realization, a bit is always understood to be either a 0 or a 1. An analogy to this is a light switch— with the off position representing 0 and the on position representing 1.
A qubit has some similarities to a classical bit, but is overall very different. Like a bit, a qubit can have two possible values—normally a 0 or a 1. The difference is that whereas a bit must be either 0 or 1, a qubit can be 0, 1, or a superposition of both.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment