Published on Mar 7, 2020
Disclaimer. I actually know a little of quantum computing, if I am wrong, correct me where possible.
If you are a total beginner to this, start here!
Quantum computer with 2 qubits
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.
Bill Gates
Some concepts adapted from scientists in the Twentieth Century to describe quantum mechanics include:
They were both right
Quantum devices can be used to accelerate machine learning.
For linear algebra we need to encode the data to quantum bits.
Quantum computers will speed up some AI algorithms, enable new AI algorithms and help AI learn new quantum algorithms.
One of the methods to perform the classical Principal Component Analysis(PCA) algorithm is to take the eigen value decomposition of a data covariance matrix. However, this is not so efficient in case of high dimensional data.
Quantum PCA of an unknown low-rank density matrix can reveal the quantum eigenvectors associated with the large eigenvalues exponentially faster than a linearly-scaled classical algorithm.
The quantum algorithms presented here for computing nearest neighbours, that are used in supervised and unsupervised learning, place an upper bound on the number of queries to the input data required to compute distance metrics such as the Euclidean distance and inner product. The best cases show exponential and super-exponential reductions in query complexity and the worst case still shows polynomial reduction in query complexity over the classical analogue.
Machine learning is taking data and finding patterns in the data, e.g., voice recognition listens to what your speak and tries to determine what you are saying and consequently your intentions.
It is still hard to extract patterns from data with our classical computers.
So this is just a problem in linear algebra in high vector spaces. There are alot of machine learning algorithms that depend on linear algebra in high dimensional vector spaces.
Methods that lie under the hood for most machine learning algorithms are:
Vectors are in high dimensional space.
We need to encode data from classical data to quantum mechanical state.
For classical data we have d=2^(2).
For the quantum system we have states which is equal to,
where n is the number of possible states
This means that we have exponentially compressed the data in representation.
As we can see quantum states have exponentially reduced the number of bits. For classical systems they have many data bits hence they preprocess the data in order to reduce it to fit in a higher dimensional space, e.g., Netflix.
For a terabyte of data we only need to use a circuit with only 40 qubits.
Quantum deep learning doesn't necessitate faster processes but will necessitate faster linear algebra computations.
Subscribe to get future posts via email