CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 00:54:16 GMT
content-type: text/html; charset=utf-8
cf-ray: 9670e23ee85925e0-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=204b626b-4808-4780-afc4-9c749fbbe984; expires=Thu, 30 Jul 2026 00:54:16 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 777292ec-d866-42d9-aea6-115ee2a7971f
x-worker-origin-response-time: 472000000
x-dns-prefetch-control: off
set-cookie: prov=204b626b-4808-4780-afc4-9c749fbbe984; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=fa0M1sGQQjiAVjSYkFrSGLkkkEdF6Mb3X9.lkEVV8.s-1753836856-1.0.1.1-_3BKdl8qhL0w41yHb9bn_EeP623hQbGYqHMfKahUwuyMHFTTTXYmOGomR1XOjh.oaOl5jA6WP_VrSn7hTBW0EFUaLAlB1Hu2od4plr5jDYg; path=/; expires=Wed, 30-Jul-25 01:24:16 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=k6nxe4kNmpkILkN_G5lRFVMkB4frwsiL6bG51PppkjU-1753836856660-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'qaoa' Questions - Quantum Computing Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more.
View results.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [qaoa]
For questions about the Quantum Approximate Optimization Algorithm (QAOA), first introduced in Farhi, Goldstone, Gutmann 2014 (https://arxiv.org/abs/1411.4028).
198 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
58
views
How to remove ancilla qubits in Qiskit?
I have a circuit that I must optimize using QAOAAnsatz such as the initial state, but the problem is that this circuit has more qubits (unnecessary ancillas at the end) than the qaoa cost operator ...
1
vote
0
answers
167
views
BaseSampler error trying to do VQE/QAOA
Trying to run
from qiskit.primitives import Sampler
But I obtain the following:
...
2
votes
1
answer
128
views
Is QAOA diabatic or adiabatic
I have read that QAOA can be interpreted as a first-order Trotter decomposition of an adiabatic quantum evolution that interpolates between an initial Hamiltonian and the final cost Hamiltonian. On ...
1
vote
1
answer
52
views
How to execute the knapsack problem in cloud service of QC of IBM?
Someone could give a recomendation on how to execute the code show below - knapsack problem using QAOA algorithm, code avaliable on Qiskit documentation - in a quantum computing cloud service of IBM:
...
0
votes
0
answers
27
views
IBM Qiskit not showing usage stats
I've executed QAOA using IBM Qiskit, in my IDE I successfully get an output,
...
1
vote
1
answer
76
views
QAOA Cost Landscape
I am learning quantum computing and I tried to implement QAOA using Qiskit. However, in my implementation, the cost landscape always outputs the same value. In my case its always 3. Can someone ...
0
votes
0
answers
46
views
Can we do QAOA for part of qubits?
For example, there are 10 qubits, the states of the first 5 qubits are fixed, but they still participate in the construction of the cost Hamiltonian. Can I apply QAOA only to the last 5 qubits? I mean,...
1
vote
1
answer
70
views
Qiskit QAOA unexpected estimator
I am doing a portfolio optimisation project using QAOA, I have downloaded stock data with yfinance and framed it my objective function as a qubo problem. Now i am stuck executing
...
1
vote
0
answers
84
views
How are quantum algorithms for decoding fault-tolerant?
There are some great papers that use quantum approximate optimization to perform syndrome decoding (see Lai, Kuo, and Liao (2024), Perez-Garcia and Montanaro (2024), and citations therein).
I am ...
2
votes
2
answers
125
views
Question about QAOA for MaxCut, and adiabatic evoution
I'm experimenting with QAOA for solving some MaxCut instance, and I think I see conflicting explanations online and in the literature. Incidentally, I fail to reproduce the nice decreasing cost/...
1
vote
1
answer
60
views
Determining the J matrix of the ISING Hamiltonian
I am reading from the paper of Utkarsh et al., Solving Vehicle Routing Problem Using Quantum Approximate Optimization Algorithm (arXiv).
And I couldn't quite understand the notation to which the ...
2
votes
0
answers
50
views
How to choose the initial parameters beta and gamma for QAOA classical optimization stage
I read in this question that the initial parameters are chosen randomly, however this can lead to choosing a set of parameters that lead us to be stuck in a local minima.
In this pennylane tutorial ...
0
votes
1
answer
144
views
How to determine the penalty coefficients in QUBO objective functions
I am trying to learn about formulating QUBO problems and their transformation to an ISING problem to be implementable on Quantum Computers.
And I was faced with several variables, that were not clear ...
2
votes
0
answers
92
views
Does quantum algorithm guarantee to solve a combinatorial problem?
One of the applications of quantum computing is to solve practical problems faced in other fields, such as combinatorial problems. One route is encoding the problem into a Hamiltonian and then finding ...
1
vote
1
answer
226
views
Solving a TSP using QAOA
I am reading the QAOA applications and trying the tutorial https://learning.quantum.ibm.com/tutorial/quantum-approximate-optimization-algorithm. I want to just share what I have learnt about QAOA. We ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
qiskit × 76
optimization × 63
programming × 40
quantum-algorithms × 39
vqe × 36
qubo × 12
adiabatic-model × 11
quantum-gate × 9
annealing × 7
resource-request × 5
ibm-q-experience × 5
cirq × 5
quantum-circuit × 5
qiskit-runtime × 5
ising-model × 5
linear-algebra × 4
pennylane × 4
simulation × 4
pauli-gates × 3
more related tags
Hot Network Questions
- LTSpice op-amp non-inverting input acts like pull-up
- char2path not loadable?
- Uniqueness of a Universal Property
- Golden-section optimization with complication
- How can my dwarves keep humans from reverse engineering their technology?
- Is "Every real number is even" a false statement? Is it a statement at all?
- Khovanskii's theorem in nilpotent groups?
- What are these orange and green solid circles painted on a taxiway?
- If I buy spell components for a different price than the official one, does that change anything about how they work as a component?
- Help distinguishing between statistics in Mixed Model output table
- Finite projective plane with trivial automorphism group
- How can I secure an old iron gate with a padlock?
- How to get the index of a point with specific attribute values (using geometry nodes)
- The root neighborhood representation
- Would saying I want to go into industry on a statement of purpose negatively affect PhD admissions?
- Is there a "correct" orientation for roasting a chicken?
- In Euclid's Elements, Book I, Proposition 47, Interpretation in terms of areas
- Is the six million dollar hut challenge real?
- When using Da Capo, does that normally include a pick up?
- Writing a visually-selected couple of files out to a file with an open buffer
- How to intentionally cause a taskbar app to flash?
- Why f[x___] := {x==="To be", x=!="not to be"} is both True for f[]?
- Can I bring mycelium pellets into Greenland?
- What is known about the third time derivate of the expansion of the Universe?