Questions tagged [quantum-enhanced-machine-learning]

For questions about quantum algorithms tackling machine learning tasks (e.g. the HHL algorithm or questions about quantum neural networks). For questions about applying classical machine learning to quantum-information-related problems, use machine-learning instead.

39 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
222 views

Is VQA quicker than classical machine learning?

Variational Quantum Algorithm (VQA) is a kind of quantum algorithm corresponding to classical machine learning. Unlike the square speed up of Grover's algorithm, the circuit in VQA does not seem to ...
narip's user avatar
  • 2,912
5 votes
0 answers
341 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 ...
MetaInformation's user avatar
4 votes
0 answers
92 views

Reconstructing classical data from quantum feature maps

In the paper [Supervised learning with quantum enhanced feature spaces (Nature, arxiv) by Havlicek et al., a feature map is defined by $$| \Phi(\bar{x})\rangle=U_{\Phi(\bar x)}H^{\otimes n} U_{\Phi(\...
Haim's user avatar
  • 247
4 votes
0 answers
243 views

Comparison of matrix inversion algorithms

Since 2009, many matrix inversion algorithms have appeared. Is there somewhere a table, or recently released overview, comparing the speed of matrix inversion algorithms, like done in this table taken ...
Iskander's user avatar
3 votes
0 answers
53 views

What ways are there to use parallelisation in quantum machine learning?

In classical machine learning, GPUs have been used successfully to parallelise the training as well as the inference process. Does quantum machine learning have the same potential to operate with ...
Simon Yin's user avatar
  • 334
2 votes
1 answer
123 views

Detailed references on Quantum Principal Component Analysis

I am looking for review articles and other online resources on qPCA based on Lloyd's original proposal. I have found the original source to be slightly hand-wavy with the details so I am having ...
Song of Physics's user avatar
2 votes
0 answers
62 views

RealAmplitudes ansatz

Does someone know why RealAmplitudes ansatz is made like this ? I can't find any research paper on it. Why does it use 4 Ry Gate for one qubit ?
Duen's user avatar
  • 296
2 votes
0 answers
50 views

A path towards building quantum Computing graduation project for undergraduates

I need help. I'm a computer science student with a Data science major. I have a final graduation project this year. With that, I want to create a project in the Quantum computing field. I'm already ...
Hamza Kamel Ahmed's user avatar
2 votes
0 answers
193 views

Calculating the Inner Product using Quantum Phase Estimation

I'm following the method laid out in https://arxiv.org/abs/2011.03429 (Page 23 Equations 13-23) to calculate the inner product of two amplitude embedded vectors using Quantum Phase Estimation. I'm ...
user19571's user avatar
2 votes
0 answers
152 views

How can I change the default mapping function in ZZ feature map?

I am working with QSVM and have been reading a few things about this. I tried QSVM from the qiskit documentation as well. I also went through the link Quantum circuit for the ZZ feature map which ...
quantipai's user avatar
2 votes
0 answers
98 views

Does anyone know how to use TF Quantum with real hardware data?

I'm currently trying to embed a tensorflow model for denoising measurements as a tensorflow quantum model, and at some point I'd like for this to be able to run on hardware. After reading through all ...
Cuhrazatee's user avatar
1 vote
0 answers
10 views

Outputing classification probability from the Qiskit VQC

I am new to Qiskit. For the last few days, I have been trying to train my first VQC to do some classification task. Now the VQC is successfully running but it could only output a label whenever I ask ...
Zhelun Li's user avatar
1 vote
0 answers
40 views

Could kernels also be used for Reinforcement Learning?

In this paper Kernel-Based Reinforcement Learning (2002), a classical kernel-based method was demonstrated for Reinforcement Learning , which indicates that classical research in this direction is ...
BootBootBoot's user avatar
1 vote
0 answers
27 views

Tensorflow_quantum hybrid models tf-quantum

I am trying to QCNN for MNIST classification equivalent to that built in. I’m having problems trying to pass my quantum circuit built with cirq as a Keras layer. Here’s what I have: ...
Kieran McDowall's user avatar
1 vote
0 answers
51 views

The possibility of an image classifier using quantum computer architecture?

Consider an exhaustive database of all contour images that can ever be created on a 16x16 grid. Out of the $2^{256}$ unique possibilities, could a quantum computer classify all the resulting images ...
Manish K's user avatar
  • 111
1 vote
0 answers
30 views

How to take gradient of the `tfq.layers.State` output?

I am using the following code for building a quantum circuit as a custom tf.keras.layers.Layer: ...
Shuhul Handoo's user avatar
1 vote
0 answers
74 views

I am optimising a variational quantum circuit to learn a distribution $p(x)$, but it doesn't converge over a training set $\mathcal{X}$?

I am training a variational quantum circuit to learn distributions: given data $s(\vec{\lambda})$, what is the probability distribution for the parameterisation $\vec{\lambda}$, i.e. the posterior ...
JoJo's user avatar
  • 99
1 vote
0 answers
105 views

What is the relationship between the number of shots and the performance of a quantum agent?

What is the relationship between number of shots and the performance of quantum agent in Quantum neural network? and what is the limit of number of shoots in QASM simulator?
Getahun Fikadu's user avatar
1 vote
0 answers
71 views

keras agents fails in DQNAgent using PQC during clonation for target

I have some issues using keras-rl2 with tensorflow_quantum and VQC (using identical architecture as https://www.tensorflow.org/quantum/tutorials/quantum_reinforcement_learning) After the creation of ...
Eva Andres's user avatar
1 vote
0 answers
128 views

Implementing Logistic Regression on IBMQ Hardware

I'm trying to implement a logistic regression inference circuit on NISQ hardware by following some of the proposed approaches below, [1] Hai-Ling Liu et al.Quantum algorithm for logistic regression. ...
user19571's user avatar
1 vote
1 answer
352 views

Quantum GAN implementation

Can anyone provide a good link to understand how to implement qgan using pytorch in qiskit. Trying to understand this ( https://qiskit.org/documentation/machine-learning/tutorials/...
user14924's user avatar
  • 317
1 vote
0 answers
28 views

Implementation of Quantum PAC learning classifier

I am working on a project related to Boosting of Quantum Classifiers of PAC format. And I am a little confused about how do we go about implementing a PAC classifier. The basic idea is that we have to ...
Parmeet Singh EP 066's user avatar
1 vote
0 answers
202 views

How to train a Quantum Neural network for regression model in supervised learning

We want to train a parameterised circuit(which is our neural network - from this paper. Now our final circuit looks a little like Let's say there are n training cases. So I have n |gt> vectors ...
Parmeet Singh EP 066's user avatar
1 vote
0 answers
73 views

Quantum Boltzmann Machine and Gibbs state

I was looking into Quantum Boltzmann Machine and ran into Gibbs State as a part of training. Since new to this field, it would be good to have good intuitions why Gibbs state is related. Is Gibbs ...
John Parker's user avatar
  • 1,031
1 vote
0 answers
72 views

Quantum Machine Learning: how to get effective time of training/scoring

I am trying to examine the potential of Quantum Machine learning in terms of performance and time compared to classical algorithms. I am using both Qiskit's QSVM and scikit's SVM with Qiskit Quantum ...
Arturo's user avatar
  • 11
1 vote
0 answers
103 views

How do we implement QKNN algorithm on our dataset

What could be the steps to implement a distance based classifier (eg Qknn) on our dataset using quantum computing? I read a paper on "Distance based classifier using Iris dataset". I wanted ...
user14924's user avatar
  • 317
1 vote
0 answers
40 views

Methods for encoding non-linear probabilities as data

I am working on translating a computing method I developed to model complex non-linear systems with classical computational methods into a form that is natural to quantum computing. The technique ...
Daro Gross's user avatar
0 votes
0 answers
56 views

Qiskit Variational Quantum Regressor - Qiskit VQR

I am new to quantum machine learning and I am trying to build a VQR with Qiskit. The input and target data to my model both have shape (32,4), where 32 is the number of samples and 4 is the number of ...
Jean-Gabriel Chenard's user avatar
0 votes
0 answers
28 views

How to go from a classical LSTM cell to a quantum LSTM cell where the neural network parts in the LSTM cell's gates are replaced by quantum circuits?

The input data I have is a tensor with shape (num_samples, num_timesteps, num_features). A single datapoint in my problem case is a feature vector of dim = 4 which conceptually corresponds to an ...
Jean-Gabriel Chenard's user avatar
0 votes
0 answers
24 views

Quanvolutional NN vs Quantum Convolution NN

There are 2 primary approaches for Image recognition using Quantum Neural Networks: 1. Quanvolutional one and 2. Quantum Convolutional Neural Networks. The primary difference is that in 1 we don't ...
Chan's user avatar
  • 121
0 votes
0 answers
21 views

The necessity of a qRAM-based state preparation in qSVT-type problems

I've been reading a couple of papers regarding qPCA and its dequantisation. In the course of my reading, it appears to me that one of the ingredients that makes this dequantisation meaningful is the ...
Song of Physics's user avatar
0 votes
0 answers
23 views

How can i get the superposition of 8 bits from 26 bits outputs in qiskit

the only idea i see is get state vector from density_matrix for example, i have the circult: ...
qin guang's user avatar
0 votes
0 answers
62 views

Most promising QML algorithms in the NISQ era

This question was asked in the previous years, but how is 2023 state of the art Quantum Machine Learning ? Things seem to go fast in this area, for instance I saw Thales used 4 qubits for quantum ...
Duen's user avatar
  • 296
0 votes
0 answers
69 views

Python implementation of Matthew Hastings' Tensor PCA algorithm

Is there any publicly available implementation of the algorithm presented in the paper Classical and Quantum Algorithms for Tensor Principal Component Analysis by Hastings?
Omar Shehab's user avatar
0 votes
0 answers
38 views

Plotting an ROC Curve with Qiskit's VQC

I'm trying to compare VQC to another algorithm using the ROC curve. I thought of using sklearn, but I am having problem replicating a decision_function for the VQC. The sklearn.metrics.roc_curves ...
rishivarshil's user avatar
0 votes
0 answers
133 views

Pennylane: Pennylane can not train the parameters of the problem

I asked this question in the Pennylane forum, but there was no reply for a long time, the link is: https://discuss.pennylane.ai/t/why-does-the-embedding-metric-learning-case-not-work/2211?u=rx1 The ...
Ren-Xin Zhao's user avatar
0 votes
0 answers
59 views

Quantum Kernel Method: If the input is the QK provided by the variable qiskit, is it still true?

The puzzle is from Case 1: https://qiskit.org/documentation/machine-learning/tutorials/03_quantum_kernel.html Case 2: https://qiskit.org/documentation/machine-learning/tutorials/...
Ren-Xin Zhao's user avatar
0 votes
0 answers
70 views

Quantum Kernel Machine Learning loss function and the plot of kernel?

When I was doing quantum machine learning, after building the quantum kernel, I drew the graph of the loss function changing with the iteration function and the graph of the quantum kernel, but I ...
Mistico013's user avatar
0 votes
0 answers
223 views

How to implement purification of the density matrix into a pure state of enlarged system in the quantum PCA algorithm?

I am trying to implement the quantum PCA algorithm to reduce the number of features (over 700 features) for a machine learning model. The original algorithm is proposed in this paper. I found a ...
Liuji's user avatar
  • 21