Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [simulation]

For questions about simulating either quantum computers or simulating things on quantum computers.

Filter by
Sorted by
Tagged with
1 vote
1 answer
67 views

Why use superpositions to write states even when they are not entangled?

I am reading book "Dancing with Qubits. How quantum computing works". I had learned the rule of entangled state: when quantum state is separable(i.e. it can be written as such a tensor ...
user avatar
  • 11
2 votes
3 answers
91 views

Why do we need physical qubit if qubit can be simulated?

I do not see any advantage in constructing very costly and imperfect physical qubit while this qubit can be simulated with using conventional computer memory (noise-free). So what is the purpose when ...
user avatar
  • 364
0 votes
1 answer
35 views

what is difference between the following two results

If this question sounds trivial please bear with me as I am beginner in QC. Code 1 ...
user avatar
1 vote
0 answers
37 views

How to simulate $H(\theta) = B(\sin\theta S_1^x +\cos\theta S_1^z +\sin\theta S_2^x +\cos\theta S_2^z)+aS_2^zI_z$ on IBM Qiskit

I am trying to simulate this Hamiltonian on IBM Qiskit, for varying values of $\theta$: $H(\theta) = B(\sin\theta S_1^x +\cos\theta S_1^z +\sin\theta S_2^x +\cos\theta S_2^z)+aS_2^zI_z$ Where S is ...
user avatar
2 votes
0 answers
45 views
+50

What are the main approaches allowing to efficiently simulate quantum circuits, and which hypotheses those circuits have to fulfill

In general, it is very computationally intensive to simulate the evolution of a quantum system. However, in some particular cases, an efficient classical simulation of a quantum algorithm is possible. ...
user avatar
2 votes
2 answers
31 views

Why does VQE with pennylane and scikit-optimize gp_minimize give 'func must be scalar' error?

I am trying to replace the SPSA optimizer in the VQE tutorial of pennylane by the bayesian optimizer of scikit-opimize. When running the code below I get the error "func should return a scalar&...
user avatar
2 votes
1 answer
37 views

Quantum Annealing vs Quantum Monte Carlo: can QMC do all that QA can?

I'm working on an essay about quantum technology, and the connection between the annealing algorithm and quantum computing hardware is an important transition in the text. I'd like to know if there is ...
user avatar
  • 21
4 votes
2 answers
81 views

Gottesman Knill theorem - why $O(n)$ operations for **arbitrary** *unitary* gates

My question is closely related to this one but the answer focused mainly on measurements while my question is for unitary Clifford operations: why do we need $O(n)$ operations to update a quantum ...
user avatar
2 votes
0 answers
19 views

What is a realistic model for simulating physical tampering of a channel? (ex: nearby vibrations)

Somewhat related to this question. Imagine a fully functioning quantum network, where qubits are transported via fiber optic cable. If vibrations were to physically tamper with a channel in such a ...
user avatar
2 votes
0 answers
43 views

Recommendation for Efficient Lindblad Simulator Packages

Could anyone recommend some efficiently established packages to simulate Lindblad dynamics? I wrote some codes using numpy to solve the vectorized superoperator equation but it's rather slow. Update: ...
user avatar
  • 123
0 votes
1 answer
59 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 ...
user avatar
  • 19
2 votes
2 answers
57 views

why does this definition of multi qubit Clifford Tableaus not pass symplectic test?

I am attempting to write a module for composition of Clifford Tableaus using only elementary arithmetic and logical operations. Everything seems to be working fine, except that as far as I understand, ...
user avatar
  • 988
2 votes
1 answer
40 views

Framework for PEPS of Surface Code

I am reading this article about the implementation of Surface Code with noise in PEPS tensor network. I am looking for a framework/library (preferred python) that is the nearest for such an ...
user avatar
  • 821
1 vote
0 answers
17 views

Platform to Simulate FLO of Majorana

Is there any python (other languages are also OK) library/platform/toolbox, open-source, to simulate Majorana in FLO (Fermion Linear Optics) as done in this article. I tried to look for the platform ...
user avatar
  • 821
6 votes
1 answer
150 views

Why am I able to simulate such high qubit numbers on my laptop?

Recently I've been working on a VQE-related project, for which I'm using Qiskit's TwoLocal variational form (qiskit version 0.34.2). I noticed that I was able to simulate this circuit up to ...
user avatar
1 vote
0 answers
34 views

Add noise_model when using 'ibmq_qasm_simulator' backend and provider.runtime.run() function

I am trying to test some qiskit code that employs readout-error mitigation using the ibmq_qasm_simulator backend and Qiskit Runtime. I am getting the backend as ...
user avatar
  • 11
2 votes
1 answer
32 views

Efficient Representation of Qubits on a Digital Simulator

I was wondering about quantum simulators recently, and I was thinking about how a qubit could be represented on a digital machine. This Stack Overflow post seems to say that one will need at least $a2^...
user avatar
2 votes
1 answer
58 views

How do Qiskit simulators generally work? [duplicate]

Qiskit offers a number of quantum simulators (e.g. AerSimulator, QasmSimulator, StatevectorSimulator). But I don't know how these simulators actually work. Quantum operators and quantum states can be ...
user avatar
  • 21
1 vote
0 answers
17 views

Question about performing VQE with an embedded Hamiltonian

Say I have a physical Hamiltonian $\mathcal{H}$ which is $D$-dimensional and I encode it into a larger matrix $M$ which is $\Delta$-dimensional. In the cases I care about $\Delta$ is strictly greater ...
user avatar
0 votes
0 answers
28 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 ...
user avatar
  • 21
4 votes
3 answers
96 views

Simulate Surface /Topological Code with Majorana - Huge Complexity Saving

This article "Correcting coherent errors with surface codes" is talking in the methods section, about simulating topological codes / surface codes, using Majorana equivalent. It is also ...
user avatar
  • 821
2 votes
2 answers
92 views

Different results with the same circuit depending on whether executed on a simulator or on a real backend. Could you help me in understanding why?

The same 4 qubits circuit yields different results whether it runs on a simulator or on a real system and I would appreciate if you could help me in understanding the reason of this difference or ...
user avatar
  • 21
1 vote
2 answers
54 views

How to manipulate the phase of the electromagnetic radiation in the Hamiltonian

The papers describing the Honeywell trapped ion quantum computer say that rotations of the qubit about an axis in the xy plane of the Bloch sphere are accomplished by applying a slightly detuned pair ...
user avatar
2 votes
2 answers
85 views

How much information we can get about eigenstate from phase estimation?

I'm learning about the standard phase estimation algorithm. Here's a diagram from Qiskit tutorial. Suppose we use $\mathcal{C}$ to represent the entire circuit, and $|\psi\rangle$ is an eigenstate of ...
user avatar
  • 229
1 vote
1 answer
201 views

How to get probabilities from a simulator without sampling for a Qiskit circuit with measurement throughout

Suppose we have a Qiskit circuit like from qiskit import QuantumCircuit qc = QuantumCircuit(1,1) qc.h(0) qc.measure(0,0) If we want to find the probabilities for ...
user avatar
4 votes
1 answer
64 views

compatibility of stim's error model with conventional decoding schemes

I am working with stim's excellent code generator together with pymatching, using stim's generated error model and the glue code in the tutorial here. I am trying to understand better what the output ...
user avatar
  • 988
2 votes
1 answer
75 views

How to run qiskit using HPC in order to run a high depth circuit?

We are trying to implement an algorithm which uses Amplitude estimation as one of its subroutines. Now we are pretty sure that the algorithm is working, like we have done testing of the algorithm by ...
user avatar
3 votes
1 answer
153 views

Weak simulation of Clifford circuits

Quantum circuits composed by Clifford gates can be simulated by classical computation in polynomial time. More precisely, this simulation should be a weak simulation, i.e. it is possible to sample the ...
user avatar
1 vote
0 answers
21 views

QuTip - Is there a way to simulate more than one inital state in one simulation?

I'm trying to use QuTip for a simulation of a qutrit system and I want to see how my system evolves under different initial states. Is there a way to do it using QuTip without running the simulation ...
user avatar
6 votes
1 answer
136 views

What is the relationship between the size of the Hilbert space for boson sampling and the complexity of classical simulating it?

My intuition is that the fastest classical algorithm for simulating some kind of noiseless quantum sampling process should scale roughly with the dimension of the Hilbert space: you would need to ...
user avatar
  • 2,067
5 votes
1 answer
137 views

How big is the Hilbert space of a boson sampling experiment?

Boson sampling experiments are typically characterized by two key parameters: the number of photons $M$ and the number of modes $N$. A recent experimental demonstration (arXiv:2106.15534) with $M = ...
user avatar
  • 2,067
2 votes
1 answer
73 views

How to simulate the state of a system after partial measurement?

Based on the answers at here and here, I have a quantum simulator which implements the operations described in the classic Teleporting an Unknown Quantum State. Careful comparison of circuits with the ...
user avatar
3 votes
0 answers
34 views

Why the pulse scheduler produces a different output from the original circuit?

As part of a larger code, I have to convert a quantum circuit into a Pulse scheduler. The problem is that the scheduler output is incompatible with the circuit output. In particular, the difference ...
user avatar
4 votes
1 answer
77 views

How to order results after multi-circuit qiskit.execute parallel run?

I'm kinda new to qiskit and I find really fascinating its parallelization capabilities, then I'm trying to creating all the needed circuits for my application at once and transpile, assemble and ...
user avatar
  • 115
1 vote
1 answer
79 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(): <...
user avatar
3 votes
1 answer
79 views

Simulators vs Real Backends

I am using Qiskit to run some circuits and a question arises in my mind. I know that when we run in the simulators we are running in "ideal" environments. This means there is no noise that ...
user avatar
  • 31
3 votes
1 answer
134 views

What is the fastest classical simulator for quantum circuits with only Clifford gates?

What is the fastest classical simulator for quantum circuits with only Clifford Gates? And is there any "friendly" implementation e.g. in Python (or in some well-known libraries like Qiskit)?...
user avatar
  • 141
5 votes
1 answer
43 views

Is it possible to set quantum volume in IBM Quantum simulator?

A quantum volume serves as a metric of a quantum processor quality. So far, IBM Quantum provides processors with quantum volume up to 128. Freely accessbile processors have QV up to 32. A user using ...
user avatar
1 vote
1 answer
43 views

Simulating readout errors on aer simulator

I'm trying to simulate quantum experiments using a customized noise model. Here's my code: ...
user avatar
  • 2,188
6 votes
3 answers
462 views

Is the SWAP gate a Clifford Gate? How would I express it using the Clifford Gate generators?

By my calculations, it looks like the SWAP gate is a Clifford Gate. See the following table: I follow the same method as in this paper for showing a gate is a Clifford Gate. I got the above table by ...
user avatar
4 votes
2 answers
128 views

How is Quantum Phase Estimation useful for simulating dynamics of a many-body system?

I am quite aware of the Quantum Fourier Transform (QFT) as well as the very closely related topic of Quantum Phase Estimation (QPE). The latter is usually motivated as follows: Given a unitary $U$ and ...
user avatar
  • 441
2 votes
0 answers
40 views

Does noise model in qiskit impact the optimized parameters for QAOA?

I have read this paper about the effects of quantum noise on QAOA. In the conclusion, it says: QAOA is a noise-tolerant algorithm, quantum noise does not change the QAOA quantum circuit parameter ...
user avatar
  • 1,223
7 votes
1 answer
491 views

Roughly speaking, How many qubits will be needed to study (or simulate) a molecule such as: C29H31N7O?

It is often said that one of the early applications for Quantum Computers will be drug discovery. Q: Roughly speaking, How many qubits will be needed to study (or simulate) a molecule such as: $C_{29}...
user avatar
  • 305
4 votes
0 answers
36 views

Any simulator packages for quantum annealing/adiabatic quantum computation?

Are there any simulator packages for quantum annealing/adiabatic quantum computation, like Qiskit Aer but for quantum annealing? There seems to be only classical heuristics in D-Wave Ocean package, ...
user avatar
  • 166
1 vote
0 answers
73 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 ...
user avatar
  • 2,188
0 votes
1 answer
166 views

Calculating measurement probabilities from a quantum circuit

Currently I'm trying to calculate the circuits I'm building and show that they work as intended. Somehow, my measurments do not, at all, represent my calculated expectancies. This is my circuit in <...
user avatar
  • 147
3 votes
1 answer
377 views

Difference between Aer.get_backend('aer_simulator') and AerSimulator()

In Qiskit, there are several ways to choose simulator: one is from qiskit import Aer backend = Aer.get_backend('aer_simulator') result = backend.run(circ).result() ...
user avatar
  • 101
3 votes
1 answer
107 views

How to import a generic stabilizer code in stim

I just started using stim to simulate the performance of quantum error correcting codes. I hope this is the right place to ask questions about the subject. The example code with the repetition code ...
user avatar
  • 702
0 votes
1 answer
86 views

Random circuits with google cirq

For my dissertation I need to simulate random circuits and I have been trying to use google Cirq for that. Looking at the documentation I have seen how to create my own circuit and simulate it, but it ...
user avatar
  • 15
2 votes
0 answers
55 views

What are the evidences that quantum simulation have a future?

Here future means orders of improvement which can solve rather different problems e.g. emergent phenomenon. For example, the first integrated logic only have several transistors, now it have billions ...
user avatar
  • 171

1
2 3 4 5