Quantum Superposition Schematics

Exploring the infinite possibilities

In quantum computing, superposition is a state where a qubit can exist in multiple states simultaneously. This page is a exploration of the absurdities of superposition in web development.

Superposition States

Superposition Schematics

This page is a exploration of the infinite possibilities of superposition in web development.

Here's a simple example:

        
          qubit = 0 | 1;
          if (qubit == 0) { collapse(); }
          if (qubit == 1) { superposition(); }
        
      

Where collapse() is a function that collapses the wave function and superposition() is a function that... well, you get it.

But that's not all, oh no! Superposition also applies to your average web page.

For example:

What's the average user going to see when they visit your site? The answer is:

Anything! Because in superposition, the user can see all possible states of your site.

Want to make it even more interesting? Just add a pinch of quantum non-locality to your CSS:

        
          body {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: rotate(45deg);
          }
        
      

Now, your site will exist in multiple places at once! Well, not really, but it'll be fun to watch the user try to find it.