Questions tagged [variational-quantum-algorithms]
The variational-quantum-algorithms tag has no summary.
38 questions
0
votes
1
answer
115
views
Why does my hybrid CNN-VQC model predict only one class on my medical imaging dataset?
I'm working on a hybrid quantum-classical neural network that augments a classical CNN with a variational quantum circuit (VQC) for image classification for a medical image dataset.
Model architecture ...
-1
votes
1
answer
170
views
AlgorithmError: 'The primitive job to evaluate the energy failed!'
i used code from below and getting error like AlgorithmError: 'The primitive job to evaluate the energy failed!' i need help regarding this, i was trying to calculate binding energy of deuteron by ...
1
vote
2
answers
133
views
controllable approximation to an arbitrary unitary matrix
What is the optimal gate structure for a quantum circuit on N qubits to controllably approximate an arbitrary (2^N x 2^N) unitary matrix, having as few number of total (gate) parameters as possible ?
...
0
votes
0
answers
92
views
understanding the Ansatz in VQC, QML
My question is specifically about VQC and the working of Ansatz. Let me put my understanding first: Data values of classical dataset are encoded into the qubits using angle encoding (I used ...
1
vote
0
answers
53
views
Question on a research paper for solving the Poisson equation using a variational quantum algorithm
I am reading a research paper: "Variational Quantum Algorithm Based on the Minimum Potential Energy for Solving the Poisson Equation". [ArXiV]
In the paper, the authors try to solve the ...
0
votes
2
answers
115
views
How to map expectation values to continuous values [closed]
I am attempting to do a variational quantum algorithm where the circuit is parameterized with ${\theta}$ and then I calculate the expectation value of the qubit, plug it in a cost function and then an ...
0
votes
1
answer
110
views
motivation behind using PQCs in QML and Variational Algorithms
Parameterized quantum circuits (PQCs) are a key component in many quantum machine learning (QML) and variational quantum algorithms, such as the Variational Quantum Eigensolver (VQE) and quantum ...
2
votes
0
answers
141
views
Error code 1217: "Session has been closed"
I am currently studying algorithms related to VQA. I have built a circuit to calculate the cost function and optimized it using a classical optimizer. During the initial optimization iterations, ...
1
vote
0
answers
60
views
Implementation of identity block initialisation strategy for mitigating barren plateaus
I have been trying to implement this paper on identity block initialisation strategy for barren plateau mitigation but I don't really understand how one would apply it to a parameterised circuit with ...
1
vote
0
answers
81
views
VQLS behaves badly under simulation with noise
I was studying VQLS in https://qiskit.org/textbook/ch-paper-implementations/vqls.html and since I could not understand the circuit created by the new Hadamard test (...
2
votes
1
answer
166
views
Truncated Qumode States and Support
I am currently running numerical simulations of a single qumode state acted upon by a parameterised unitary. The qumode state is realised as a Fock state with a fixed cutoff dimension $(d)$ and is ...
1
vote
1
answer
232
views
What's the case when parameter-shift rule does not hold?
When the parameterized unitary is of the form $e^{-i\theta V}$, where $V$ is a Hermitian operator of the unitary, we can use parameter shift rule to calculate the gradient.
In this paper, it says: &...
2
votes
0
answers
117
views
Why EfficientSU2 in QGAN
In Qiskit's QGAN example, the parameterised quantum circuit to be trained is the EfficientSU2. I have not found any citation there on the choice of this circuit, and the only justification is that it ...
1
vote
1
answer
130
views
Pennylane variational classifier demo - need for padding
In the variational classifier demo from Pennylane, the data loading is performed with
...
4
votes
2
answers
215
views
Is there a way I can create an ansatz such that the number of 1 is same in all the superposition states? [duplicate]
So I am working with a variational quantum algorithm and I realised that it would be very beneficial if I could create an ansatz where all the states in the superposition have same numbers of 1s. For ...
1
vote
1
answer
129
views
Image classification using quantum variational circuit?
Image classification using variational quantum circuit is described in here.
3 image clusters having clearly separable 3 feature coordinates have been chosen to be:
There are classical clustering ...
1
vote
0
answers
116
views
an issue with the execution time of a VQC classifier on an IBM quantum machine
I tried to use the available open-source IBM quantum machines. I’m trying to do a classification using the VQC classifier to classify data, but I encountered a problem. The VQC keeps fitting on the ...
1
vote
1
answer
246
views
Getting High cost function in code implementation of VQLS pennylane tutorial
I am currently trying to implement the tutorial in pennylane
https://pennylane.ai/qml/demos/tutorial_vqls.html
for very complex example in 3 Qubit and cost function is very high in spite of adding ...
1
vote
2
answers
403
views
How are the parameters in a variational circuit optimized?
I'm quite new to QML and I don't understand how the parameters in a variational circuit are optimized.
I read about the parameter shift rule but what happens after the gradient is calculated ? How do ...