Questions tagged [machine-learning]

For questions about how quantum computing could improve or affect machine learning i.e. quantum machine learning. Questions about classical machine learning belong on another site, such as Stack Overflow, Cross Validated or Artificial Intelligence SE.

Filter by
Sorted by
Tagged with
3
votes
3answers
35 views

What are the differences between the IBM machines?

I'm quite new to this field, and have started sending jobs to IBM's quantum computers. I have access to around 11 locations. I can see that these have different numbers of qubits within them, and then ...
2
votes
0answers
16 views

Calculating gradient of a gate using Parameter shift rule

I've been following this website to check out how parameter-shift works for calculation of gradients for backpropagation in Variational Quantum Machine Learning Circuits Most of it made makes sense ...
1
vote
1answer
75 views

Quantum-Assisted Neural Network Training (Is my design reasonable?)

I'm a college student with a slight interest in quantum mechanics. I think I have a decent understanding of the Copenhagen and Many Worlds interpretations of quantum mechanics, and was considering how ...
2
votes
1answer
259 views

Quantum Circuit To Compute Any Inner Product

I'm currently reading the paper Classification with Quantum Neural Networks on Near Term Processors It shows a method to determine the following quantity: Where U is a unitary operator acting on $|z,...
2
votes
1answer
31 views

What's the relationship between output of qubit measurements and classification of data in Quantum Machine Learning?

I'm training a model in Q# which has more than 2 features. I have trouble understanding the following things: How is the data classified based on the qubit states? For example: If I have only 2 ...
1
vote
0answers
41 views

How do you decide which rotations to use in a Quantum Machine Learning model?

I am trying to design a model using Q#'s machine learning library that takes in two features (real numbers from 0 to 1) and classifies as 0 or 1. So how do I decide which Rotations and what seeds to ...
2
votes
1answer
37 views

How is back-propagation done in “Transfer learning in hybrid classical-quantum neural networks”

Just read this paper from Xanadu on Quantum Transfer Learning and a couple of things are unclear to me regarding the optimisation step. How is back-propagation done through the classical weights ...
2
votes
2answers
113 views

Q# Error: No namespace with the name “Microsoft.Quantum.MachineLearning” exists

I'm having trouble getting the namespace Microsoft.Quantum.MachineLearning. Here is an example Q# code: ...
4
votes
1answer
91 views

How many samples are required to estimate the probabilities of a state?

Suppose that we have a quantum state of the form: $$|\psi\rangle = \sqrt{p}|0\rangle + \sqrt{1-p}|1\rangle$$ In order to get an estimate of the probability of reading $|0\rangle$ or $|1\rangle$, we ...
3
votes
2answers
48 views

Is there a “parameterized initialization” that I can apply to a QuantumRegister to re-use a circuit?

I'm working on a QuantumCircuit which measures the fidelity of one point (my "test vector") and two other points (my "data set", containing of states phi_1 and <...
1
vote
0answers
24 views

How to turn off multiprocessing in TensorFlow Quantum

Some background: I'm currently running the same training algorithm with a classical neural network and a quantum circuit, respectively. The NN is implemented in Keras with a TensorFlow backend, the ...
1
vote
1answer
60 views

IBM Q Experience - Can it be used draw out ML inferences? [closed]

Are there Quantum-enhanced Machine Learning algorithms that can be implemented via Qiskit in IBM Q Experience and obtain valuable inferences faster than their classical counterparts from datasets of ...
1
vote
1answer
79 views

Initial assumption of the unitary that allows us to estimate the label function

You can find the paper here , in which they describe the architecture of a QNN that can be used to learn binary functions and correctly classify unseen data. They say that for each binary label ...
0
votes
1answer
40 views

Question About Measuring an Operator For Quantum Neural Network Paper

I'm currently reading the paper: https://arxiv.org/pdf/1802.06002.pdf I'm a little bit stuck on the step of how to determine the following quantity: Where U is a unitary operator acting on $|z,1\...
0
votes
1answer
66 views

Why is Farhi and Neven's architecture described in “Classification with Quantum Neural Network on near term processors” called a Neural Network?

In regards to "Classification with Quantum Neural Networks on near term processors" (which you can find here) , there are still a few things that do not make entirely sense to me. First of all, why ...
4
votes
1answer
60 views

Quantum NN vs Quantum-Inspired NN

I can't find the true difference between Quantum Neural Network (QNN) and Quantum-Inspired Neural Network (QINN). I have multiple guesses: QINN and QNN are absolutely the same thing (all QNNs are ...
1
vote
0answers
46 views

New Hybrid-HHL algorithm vs VQLS

A team of researchers has realized hybrid quantum algorithm for solving a linear system of equations with exponential speedup that utilizes quantum phase estimation, the algorithm demonstrates quantum ...
2
votes
1answer
43 views

Will NISQ based algorithms be useful in fault-tolerant Quantum computers?

As a data scientist, I want to use the cutting edge algorithms of machine learning to build my models, I am interested in quantum machine learning, the recent research in QML is about variational ...
1
vote
0answers
20 views

Can We Currently Import Quantum Datasets (Datasets Containing Quantum Data) Onto NISQ-era Quantum Computers?

I'm still investigating the TFQ whitepaper. In one section of the paper, the authors say this with respect to Quantum Datasets In general, [a quantum dataset] might come from a given black-box ...
2
votes
1answer
208 views

How Mature is the Tensorflow Quantum Library [closed]

Where does The Tensorflow Quantum ( TFQ ) library fall on it's maturity curve. In other words can we currently leverage the TFQ ...
1
vote
0answers
51 views

What Are The Most Promising Real-World Applications For Quantum Machine Learning

I know this has been asked before in different ways, however, I am interested in something with a degree of clarity and focus not found in other questions. What I am looking to get is a list of the ...
3
votes
1answer
54 views

QML: “Quantum Data loader” instead of QRAM?

In last year‘s conference "Quantum For Business 2019" Iordanis Kerenidis gave a nice talk about quantum machine learning. At about time 27:10 he mentions a "Quantum Data loader" as an alternativ for ...
2
votes
1answer
50 views

What does the maximum of a Hamiltonian means (in a particular paper)?

In the paper Quantum Observables for continuous control of the Quantum Approximate Optimization Algorithm via Reinforcement Learning, an Hamiltonian is defined in order to solve the MAXCUT problem : $...
0
votes
1answer
120 views

How is data encoded in a quantum neural network?

I am a newbie to quantum machine learning. I am trying to build a quantum neural network (QNN). What I studied so far about QNN is that input would be qubits and hidden layer parameter can be set ...
4
votes
1answer
220 views

How to decompose a multi-target controlled gate?

I'm trying to replicate with qiskit the results of this paper in which basically they implement a quantum version of the Principal Component Analysis applying Quantum Phase Estimation algorithm in ...
0
votes
0answers
59 views

Understanding SGD on a Quantum Circuit

I implemented the following circuit, a very simple circuit: I applied the technique presented on Farhi's paper - which I am so happy people in here are talking about more and more ! - and applied to ...
2
votes
1answer
87 views

Is Industry or PhD programs best for someone wanting to go to quantum machine learning? [closed]

Is Industry and the companies including IBMa and D-wave etc or PhD research programs best for someone wanting to go to quantum statistical/mathematical machine learning in the United States? I mean ...
0
votes
1answer
38 views

Quantum Noise Dataset

Does anyone in here know of an open source source for finding noisy data from quantum gates. I am interested in playing around with in the same way people play around with MNIST. I know it's a long ...
1
vote
0answers
44 views

Software for implementing Quantum Machine Learning

I want to have a software product specifically suited for Quantum Machine Learning. Please help me with a list of software product which has been designed specifically for implementing Quantum Machine ...
1
vote
1answer
133 views

What are the mathematical prerequisites to study machine learning on quantum computers?

Besides machine learning, quantum info theory, optimization, and statistics knowledge, what are the prerequisites to implement existing ML techniques and create new ML techniques that would work on a ...
0
votes
2answers
74 views

Does anyone know how to get a list of all the Qiskit ML datasets, and if they can also be used for classical machine learning?

I am trying to create a Quantum Classifier and would like to try to test it out using a Qiskit ML dataset. However, I only know of the breast cancer dataset and I would like to try it on another ...
2
votes
0answers
29 views

Variances of the principal components in Ewin Tang's PCA algorithm

In Quantum-inspired classical algorithms for principal component analysis and supervised clustering, the PCA algorithm requires that the variances of the principal vectors differ by at least a ...
3
votes
1answer
246 views

Quantum PCA State Preparation

In Quantum Algorithm Implementations for Beginners is an example of the Quantum PCA with an given 2 x 2 covariance matrix $\sum$. The steps for state preparation are given in the paper. The steps are: ...
3
votes
1answer
197 views

Quantum Principal Component analysis by Seth Lloyd

I am currently reading the paper quantum principal component analysis from Seth Lloyd's article Quantum Principal Component Analysis There is the following equation stated. Suppose that on is ...
3
votes
1answer
347 views

Quantum speedup in Bayesian machine learning on NISQ computers

It is well known that in Bayesian learning, applying Bayes' theorem requires knowledge on how the data is distributed, and this usually requires either expensive integrals or some sampling mechanism, ...
0
votes
0answers
77 views

How to preprocess data to fit Qiskit QSVM

I want to start experimenting with quantum machine learning using Qiskit library, but I have come across an issue. All tutorials I have seen so far like this one import datasets using custom packages. ...
5
votes
3answers
492 views

Pennylane and Qiskit for quantum machine learning

I'm interested in quantum computing, specifically in “quantum machine learning” (QML). I'm going to start my masters program in computer science and have previous experience in classical machine ...
3
votes
1answer
58 views

Low-dimensional data and quantum machine learning

Ewin Tang says to not expect exponential speed-ups from quantum machine learning using low-dimensional data because, in such cases, quantum analogues of classical algorithms will not provide ...
1
vote
0answers
46 views

Transfer trained machine learning model

I know just the basics of quantum computer i.e. superposition, entanglement, gates and few other kinds of stuff. Now the question is it possible to transfer a trained machine learning model from IBM ...
10
votes
1answer
231 views

Can quantum computing contribute to the development of artificial intelligence?

I am interested how quantum computing can contribute to the development of artificial intelligence, I did some searching, but could not find much. Does somebody have an idea (or speculations)?
6
votes
2answers
136 views

Distance calcluation between two vectors

In Quantum Machine Learning for data scientists, Page 34 gives an algorithm to calculate the distance between two classifical vectors. As mentioned in this question, it is not clear how the SwapTest ...
1
vote
0answers
43 views

Encoding Binary Data into Quantum Basis

I am working on implementing a paper on QNNs. I have successfully been able to resize a MNIST digit to be able to meet the size of quantum circuit. But I am not clear of how to convert the resized ...
3
votes
0answers
125 views

Quantum Optimization via Quantum Label Classification in Quantum Circuits

I have been reading Farhi and Neven's paper on quantum neural networks on quantum circuits. I also found an example - albeit not ideal as pointed out by a couple of users - thank you - in here. ...
1
vote
0answers
795 views

How to run quantum SVM algorithm from Qiskit in real IBM Quantum Computer using IBMQ?

I'm trying to run QSVM algorithm in IBMQ experience, want to run in one of those real quantum computers. ...
1
vote
0answers
54 views

How to plot decision boundary with support vectors when running quantum SVM algorithm?

I'm working on QSVM to know the difference between SVM and QSVM. How much better quantum machine learning can do when compared to classical machine learning algorithms? Part of my code: ...
1
vote
0answers
123 views

Reinforcement learning with a quantum agent [closed]

Is it an open question whether we can do reinforcement learning where the quantum agent is not present in the environment, that is, doesn't contribute noise to the environment? In a classical ...
5
votes
1answer
241 views

How to encode MNIST data set on a quantum circuit to study supervised learning with QNN?

I am trying to implement arXiv:1802.06002†. I do not understand how to take the data set from MNIST and apply it to a quantum circuit. [†]: Classification with Quantum Neural Networks on Near Term ...
4
votes
0answers
228 views

How to build a quantum circuit representing the Ising Model?

Can someone explain to me how to build a quantum circuit representing the Ising Model? I just want to understand how to represent the Ising Model for the purposes of quantum state label classification....
2
votes
3answers
362 views

Swap Test for vector difference - how are different sized inputs combined?

I'm working on a similar problem of that raised by Aman in Inner product of quantum states Concerning the use of Swap Test for calculating the difference of two vectors. An example of the original ...
4
votes
1answer
293 views

What language is more suitable for quantum machine learning algorithms?

What language is more suitable for quantum machine learning algorithms? Is it right that it's Python + Pyquil? Or something else? And do you know the sources where you can see the sample codes of ...