All Questions
75 questions
1
vote
1
answer
153
views
Simulating readout errors on aer simulator
I'm trying to simulate quantum experiments using a customized noise model. Here's my code:
...
1
vote
1
answer
91
views
Can I extract information from a single shot efficiently?
I'm running a quantum simulation and want to obtain some information from a single shot of an experiment. Here's part of the code I'm working on:
...
1
vote
1
answer
29
views
Unexpected behavior of trapped ion's motional mode (phonon) heating simulation
I'm a novice at qutip simulation.
I was recently trying to use qutip to simulate the heating effect of a trapped ion by defining a jump operator defined with heating rate.
Below is the code of my ...
1
vote
2
answers
422
views
Using GPUs with Statevector Simulator in Qiskit 1.0
I'm trying to use the AerStatevector method with GPUs. I know that GPUs on my server are correctly configured, and indeed, if I use ...
1
vote
1
answer
1k
views
How to use qiskit.utils.QuantumInstance API of qiskit?
I am quite struggling with the usage of QuantumInstance API.
This API is present in qiskit version 0.32.1
Below is small code:
<...
1
vote
1
answer
46
views
Microsoft Classic QDK simulator
Is it possible to change the simulator used by the Classic QDK with Python simulation ?
It's reported that Classic QDK supports several simulators (sparse, full-state...). Which one is used when ...
1
vote
1
answer
571
views
Insufficient memory to run circuit using the statevector simulator
I am a newbie to quantum and have been trying qiskit library for learning quantum computing (in order to explore quantum effects on cryptography). I am basically ...
1
vote
1
answer
66
views
How do I export the rightmost state of circuit wires (qbits and cbits) in a qiskit simulation
qiskit has a quantum teleportation tutorial which winds up with this simulation code:
...
1
vote
1
answer
191
views
Is there a faster way to get 'a list of' result from 'a list of inputs'?
I had a question about obtaining the probability of a certain state from the histogram, still using this example, suppose there's a variable in my quantum circuit, it's values are stored in an 'np....
1
vote
1
answer
1k
views
Unable to retrieve result for Job Error during VQE simulation
I am attempting to run a VQE calculation on the 'ibmq_qasm_simulator'. The job is failing with a series of errors caused by:
...
1
vote
1
answer
181
views
IBMQ_Melbourne Readout error
I am trying to simulate an experiment on IBM's melbourne quantum computer and here are the results
Qasm simulator :
ibmq_16_melbourne:
error
why is there such high probability of unwanted states i....
1
vote
1
answer
138
views
A question about how does the single qubit gate simulated in simulator?
I have found the procedure of simulation process as this picture :
Image reference. So in the low-level compilers, all single-qubit gates are approximated by the universal gate set (CNOT, H, T, S).
...
1
vote
0
answers
14
views
Periodic electric field link operator in QuSpin
I am trying to implement a truncated bosonic Hilbert space as described in Eqs. (15) and (16) of this paper on simulating the Schwinger model. However, I am unable to implement the "periodic ...
1
vote
0
answers
101
views
How to use GPU with qiskit as default and then use parallel GPU setup in distributed computing?
I have a GTX 1600 GPU on my computer and I am confused on how to use cuQuantum, Tensorflow or torch etc to enable GPU for qiskit. Further, one of my friends also have a GPU, we want to use both GPUs ...
1
vote
1
answer
97
views
Phase shift on qiskit quantum teleportation simulation
I wonder in Qiskit why the phase shift occurred in my simulation and how I can turn it off.
I posted another question regarding the same simulation here, and while I tried to solve this on my own, I ...
1
vote
0
answers
25
views
projectq code hangs with only 8 qibts
I have written a simple projectq code with 8qbits in order to perform full addition but it gets stuck somewhere between without generating any error message. It worked fine for 4 qbits.
...
1
vote
0
answers
177
views
qutip.sesolve and qutip.optimize_pulse_unitary produce different results
I'm currently trying out some things with qutip in the field of optimal control (state-to-state transfer) and have some trouble to reproduce my results from the optimization process with sesolve.
My ...
1
vote
0
answers
192
views
How can I get the results from simulating noise models?
I'm trying to run some simulations of my quantum circuits using qasm simulator. I first tried to import the noise data from a quantum device and then use that information on qasm. Here's part of my ...
1
vote
0
answers
339
views
How can I fix the BrokenProcessPool error in Qiskit?
I'm running a set of quantum circuits using the ibmq_qasm_simulator. However, sometimes my code works for the simulation, but sometimes it doesn't, and the system ...
1
vote
1
answer
289
views
What does a statevector with 3 elements (in Qiskit) represent?
I wasn't quite sure where to post this as I don't know if this is a Qiskit specific thing or not, but I'm not sure how to interpret this result I got from running a simulation.
from result.data():
<...
0
votes
1
answer
292
views
How the simulator work?
Recently I focused on how to simulate in classical computer, and I found Qiskit offers qasmsimulator and statevector simulator. ...
0
votes
1
answer
658
views
Can my MatLab code be used as a good simulator of a quantum computer?
I have tried to program universal quantum computer simulator in MatLab.
Please find a code here:
https://www.mathworks.com/matlabcentral/fileexchange/73035-quantum-computer-simulator
Can be this ...
0
votes
1
answer
504
views
Enable qiskit backends in google colab
I am trying to enable backends by using qiskit.IBMQ.backends() methods in google colab. but it is showing error. How to enable this? AL time this backend showing an error. i have tried by using some ...
0
votes
1
answer
141
views
Inconsistency in Qiskit Aqua CircuitSampler from Operator Flow
I am trying to wrap my head around Qiskit Aqua Operators and I stumbled upon this:
My code
...
0
votes
0
answers
52
views
State of the art stabilizer decomposition quantum circuit simulators - Suggestions
I've programmed an algorithm which decomposes a quantum circuit $U$ (and given initial state $|s\rangle$) into a sum of $N$ stabilizer states $|\phi_i\rangle$:
$
\begin{equation}
U|s\rangle=|\psi\...