First, write your title. No, actually write your title last. In fact, write it first, then write your post, then go back to the title and change it.

Photo by Dominik VO on Unsplash

Write short, concise articles

Your posts should be no more than 500 words each. If you write more, nobody will want to even click on it. Think about it, how many people want to waste their time reading your amazingly thought-through opinion, on the subject that they love?

In today’s world you are fighting for people’s attention, don’t ever forget about that! And once you get their attention, you don’t want to keep it for very…


Demystifying Phase Kickback, defining a State Machine, and recreating an actual Quantum Algorithm

After we get an intuition about Phase Kickback, we start getting into actual Computer Science, through building a State Machine, and recreating an actual Quantum Algorithm.

Image by Author
  1. Quantum Programming by abstracting ourselves from Quantum Mechanics: Abstraction level 0
  2. Quantum Programming — Abstraction level 1: Logic Gates
  3. Quantum Programming — Abstraction level 2: State Machine and Algorithms (this)

We have been on quite the adventure so far. Let’s recap our progress.

  • We’ve shown that by encoding information onto n qubits in superposition, we can manipulate the whole system of 2^n states by only changing the state of one qubit.
  • We represented the…


For the majority of our time spent programming on the quantum computer, we will be thinking of the qubits in their state of superposition. What would be useful for our intuition now, is to have a way to visualise superposition, so we can analyse the effects each logical gate has on it.

Image by Author
  1. Quantum Programming by abstracting ourselves from Quantum Mechanics: Abstraction level 0
  2. Quantum Programming — Abstraction level 1: Logic Gates (this)

We have previously worked out that a quantum computer operates logically on qubits, which are the quantum counterparts of classical bits. We’ve learned that a qubit can stay…


Just as we know that in classical computers we manipulate logical zeroes and ones, we can get an idea of what we are dealing with in the lowest level of logic in a quantum computer.

Image by Author
  1. Quantum Programming by abstracting ourselves from Quantum Mechanics: Abstraction level 0 (this)
  2. Quantum Programming — Abstraction level 1: Logic Gates

The invention of the personal computer, and the further development of the hundreds of programming languages which utilise it has allowed us programmers to completely abstract ourselves from the world of electrons flowing through solid matter, and further from the low level programming of turning…

Kiril P. Blagoev

A physicist, software engineer and idealist. Blogging from: https://kblagoev.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store