CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 00:46:39 GMT
content-type: text/html; charset=utf-8
content-encoding: gzip
cf-ray: 966899b95e7a755c-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=f0f8adcb-2a61-48b9-96a9-7db756be7557; expires=Wed, 29 Jul 2026 00:46:39 GMT; domain=.stackexchange.com; path=/; secure; httponly
set-cookie: prov=f0f8adcb-2a61-48b9-96a9-7db756be7557; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=1dOeY.egp9bbkKsVbWylE_S4SHoc6PZjC97ZzL3_spE-1753749999-1.0.1.1-NKbscSIKIWp5Wl8E2L4k4tjDZlwRJSITfy.BRrsBvx5hbAC.tGtB9Nrnv5GZOZNPsCy0DV_m7.v1i5D3uaMintFSyPgT2IJ5SZSPFCIRRH4; path=/; expires=Tue, 29-Jul-25 01:16:39 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=gmv1jRwGxc.YiDluKfXudCUp6yWor7LHXC_.GM8pd2Q-1753749999977-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
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: 151e6f1d-d43e-4b4d-92a2-2cbaa8024f3a
x-worker-origin-response-time: 393000000
x-dns-prefetch-control: off
server: cloudflare
Newest 'programming' 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 ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [programming]
For any questions whose answer is expected to require code or programming notions. For questions about a specific framework (e.g. qiskit or cirq) please also include a more specific tag. If your question is about installation or any specific framework error, consider posting it in https://stackoverflow.com/ instead.
1,740 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
48
views
Qiskit versions:
I am taking a course of quantum computing, and as it is old, i have been using other imports. For example, now instead of from qiskit import Aer, you need to import from qiskit_aer import Aer(I have ...
1
vote
1
answer
111
views
Low Fidelity For QFT on IBM
I implemented a 5-qubit QFT circuit using Qiskit and performed quantum state tomography using an IBM backend. However, the reported process fidelity is only ~20%, which seems very low. I am trying to ...
-1
votes
0
answers
26
views
How to start in Quantum Computing [duplicate]
I am a 19 year old engineering college student currently pursuing CS, my previous 2 sem had courses : C, Python, Data Structures, Calculus, Linear Algebra and Optimization, WebD, Digital Logic Design.
...
0
votes
1
answer
52
views
How to construct an oracle and flips the phase of the solution bit strings?
I am trying to solve the boolean problem (x1 or x2) and (~x1 or ~x2 or x3) using Grover's algorithm. The only measured bits are q0, q1, and q2. This is my oracle:
...
1
vote
0
answers
43
views
Stabilizers for the XYZ^2 code
From looking at this paper: https://arxiv.org/pdf/2112.06036, I was wondering if there was a straightforward way to code up and explicitly find the stabilizer generators for any arbitrary code ...
2
votes
0
answers
47
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 ...
0
votes
0
answers
50
views
How to make a phase oracle that marks the largest number?
I have a list of strategies each with a corresponding score, I want my oracle to apply the phase shift on the strategy with the largest score value. Without knowing the values beforehand how would I ...
1
vote
0
answers
19
views
How can I generate a sample of a unitary 1-design defined via Pauli twirling and a change of basis in Python?
I am working with a linear map $V: A \to B$, and I want to generate a sample of a unitary 1-design over the Hilbert space $A$ in Python. Specifically, the 1-design is defined as:
$$
\chi_0 = \left\{ Q ...
1
vote
2
answers
72
views
Is there a way to assign different weights to and get the decoding edges from 2D graphs in each round when using pymatching to decode 3D graph
It seems that when decoding 3D graph, pymatching only gives the overall decoding edges and only takes spacelike-weights in 2D graph which means the weights are the same in each round.
So I'd like to ...
0
votes
1
answer
137
views
Logical error on Grover's Algorithm protected by Shor's error correction
Hey guys I need some help figuring out why this code will not return the correct keyed result
Basically it is Gorver's Algorithm that is protected by Shor's error correction but when run '000' always ...
1
vote
1
answer
57
views
Fake backendfor ibm_aachen
I am doing some experiments where I am using ibm_aachen. I want to conduct some experiments on Fake backend of ibm_aachen but ...
1
vote
0
answers
165
views
BaseSampler error trying to do VQE/QAOA
Trying to run
from qiskit.primitives import Sampler
But I obtain the following:
...
0
votes
0
answers
314
views
Library import error in qiskit
I am new to quantum comupting qiskit library. I am trying to explore the optimization problems using qiskit. I found the following from the documentation
...
1
vote
0
answers
42
views
What does BP-OSD"W" mean?
I'm using ldpc library to analyze bp-osd decoder.
When I read the source of this, I found the OSD-W method. What does this mean? Does this mean the higher order OSD method?
0
votes
1
answer
74
views
Circuits generated by qiskit.circuit.library import StatePreparation cannot be transpiled into basis gates
The circuit generated by qiskit.circuit.library import StatePreparation can no longer be transpiled into basis gates in qiskit. I tested it with ...
- The Overflow Blog
-
- Featured on Meta
-
-
Related Tags
qiskit × 1044
ibm-q-experience × 266
quantum-gate × 205
quantum-algorithms × 155
quantum-state × 150
q# × 115
circuit-construction × 92
cirq × 86
simulation × 77
quantum-circuit × 70
vqe × 66
measurement × 48
grovers-algorithm × 45
ibm-quantum-devices × 44
error-correction × 43
optimization × 40
qaoa × 40
qutip × 37
qasm × 35
resource-request × 32
noise × 31
pennylane × 31
stim × 31
more related tags
Hot Network Questions
- How Does Code Reuse Work at NASA
- Reason why golems do not run on wheels
- Self explanatory
- Extract archives within archives using 7zip CLI
- What is the outcome when an officer's statement under oath contradicts video evidence
- Why did many arcade games have separate sound CPUs?
- Do police need a search warrant to chase a fugitive onto private property?
- Leibniz's monadology and free will
- The puzzle of chess pieces beating one another in “rock—paper—scissors” way
- What is the weight of holy water?
- объект as an animate noun
- I struggle to draft without editing
- Why did the Holy Spirit send Jesus to the wilderness to be tempted by Satan?
- suppress space in ^{-1}
- Why do we name and separate invisible bands even though the EM spectrum is continuous?
- What causes or how can I determine what causes this runaway argument when trying to emulate ltproperties in memoize?
- Unable to mount ISO via iDRAC remoteimage2 despite successful ping and direct download
- If I buy spell components for a different price than the official one, does that change anything about how they work as a component?
- Can ffmpeg record screen on wayland?
- Will a reinforced 1" concrete slab be durable?
- Khovanskii's theorem in nilpotent groups?
- Would saying I want to go into industry on a statement of purpose negatively affect PhD admissions?
- How to find all PDAs before closing a program
- How to formally define aggregated index sets based on shared attributes?