You're interested in quantum computing and machine learning. But you don't know how to get started? Let me help

Do you want to get started with Quantum Machine Learning? Have a look at **Hands-On Quantum Machine Learning With Python****.**

On your way towards quantum computing mastery, you’ll encounter a lot of weird phenomena. Just take the quantum superposition, for instance. It says a quantum bit (qubit) is in a complex linear combination of 0 and 1.

If you’re a mathematician or a physicist, you’ll value when someone uses a correct definition of such a term. But if you’re not, you’ll likely prefer a more anecdotal explanation, such as the qubit is 0 and 1 concurrently.

As a non-mathematician, you…

Do you want to get started with Quantum Machine Learning? Have a look at **Hands-On Quantum Machine Learning With Python****.**

Last week, I had two interesting conversations with fellow quantum machine learning students. Interestingly, they shared one major concern: “** Will my efforts in learning quantum machine learning be recognized? Do I need a formal certification or even a Ph.D. to land a job in quantum machine learning?**”

Of course, it would be presumptuous to claim I knew what exact formal qualification is required to land a job in quantum machine learning. …

Do you want to get started with Quantum Machine Learning? Have a look at **Hands-On Quantum Machine Learning With Python****.**

Quantum computing is a tough nut to crack. Especially if you are used to programming a classical computer. But quantum computing is not as forgiving as classical programming.

Let me briefly depict how I develop software classically. I start with a simple case. And once that works, I cope with edge cases. Additionally, I start with a concrete case. And once that works, I abstract the concreteness away to find a general solution.

That doesn’t work in quantum computing. Quantum…

**Hands-On Quantum Machine Learning With Python****.**

Quantum computing is a different form of computation. A form that can change the complexity of solving problems making them tractable. But this different form of computation brings its own challenges. Digital computers need to distinguish between two states: 0 and 1.

The circuits need to tell the difference between high voltage and low voltage. Whenever there is a high voltage, it is 1, and if there is a lower voltage, it is 0. …

**Hands-On Quantum Machine Learning With Python****.**

The Hadamard gate is one of the fundamental transformation gates of quantum computing. I’d say there is no quantum circuit without it. This is because the Hadamard gate allows the qubit to move away from the basis state vectors |0⟩ and |1⟩.

A qubit in either basis state |0⟩ or |1⟩ almost behaves like a classical bit. A qubit in state |0⟩ is 0, and a qubit in state |1⟩ is 1. Always.

You can even work with qubits in…

**Hands-On Quantum Machine Learning With Python****.**

In my weekly quantum machine learning challenge, I asked a simple question: *“Can a student solve the challenge?”*

**In this post, I want to show you how to answer this question with a quantum Bayesian network (QBN).**

Bayesian networks are probabilistic models that model knowledge about an uncertain domain. We can represent these models as directed acyclic graphs with nodes and edges.

QBNs are great tools to get started with quantum machine learning. …

**Hands-On Quantum Machine Learning With Python****.**

If you want to get started with quantum machine learning, you’ll love quantum Bayesian networks (QBN). They are intuitive, and thus, easy to understand. Yet, they use the fundamental quantum computing concepts. Therefore, you can learn the concepts hands-on.

In my weekly quantum machine learning challenge, I asked a simple question: *“Can a student solve the problem?”*

It turns out that the solution is a quantum Bayesian network.

*“What?!”* you’re thinking, *“this challenge barely contains any information at all. Not…*

Last week, I started my next weekly endeavor. I ask you to solve a small quantum machine learning challenge. This post summarizes the challenge and its solution.

You can join the weekly challenge here.

The goal of machine learning is to train the machine to predict the value of an unknown variable. But before we predict the value of a variable, we usually aim to find its probability distribution. The probability distribution is a function that describes all the possible values and likelihoods that a variable can have.

For instance, let’s say we know that our variable can have only…

**Hands-On Quantum Machine Learning With Python****.**

In the previous posts, we got to know two different perspectives on quantum computing. First, we regarded qubits as probabilistic systems. Second, we applied linear algebra to visualize the qubit state in the Bloch Sphere.

Unfortunately, both points of view are insufficient when we look at qubits when they are most interesting. That is when they are entangled.

We ended up with not less than a huge explosion.

So, why don’t we ask Obi-Wan for his opinion again?

**Hands-On Quantum Machine Learning With Python****.**

In the previous post, we introduced the notion of a quantum system as a probabilistic system. It is a convenient way if you’re a beginner. Yet, it is far from being comprehensive.

We got to know the RY gate to increase the probability of measuring a qubit as 1. For instance, the Hadamard gate lets us measure the qubit as 1 with a probability of 50%. Once we added an RY gate, we increased it to 85%.

This code implements…