Skip to main content

Questions tagged [qutip]

For questions about code which makes some use of QuTiP (Quantum Toolbox in Python). It is an open-source software library for simulating the dynamics of closed and open quantum systems. Please don't use the programming tag unless you absolutely think it is related to your question. Basically, questions which involve calculating physical quantities, by doing numerical computations on a computer are suited for this tag.

Filter by
Sorted by
Tagged with
2 votes
2 answers
62 views

I want to convert a Choi matrix into a corresponding set of Kraus operators. I start out from a numpy array representing the Choi matrix. I convert it to a QuTip Qobj object and then convert it to ...
GreenPhi's user avatar
0 votes
0 answers
33 views

The problem I am facing is that I have a circuit of n qutrit all starting in a pure state, after the application of some gates (that keeps states pure), my system will have a final state in the form ...
eddie felson's user avatar
1 vote
1 answer
144 views

I made a qubit simulation in qutip with dephasing and relaxation for a project but there's a problem in my t2 hahn echo simulation. The time I am obtaining is too short compared to the T2 parameter. ...
Zeor137's user avatar
  • 51
1 vote
0 answers
50 views

I am trying to simulate the evolution of a three-level system, using mesolve. Strangely, the state seems to "decohere" without any collapse operators involved. At the moment, I am just ...
danyudi's user avatar
  • 11
1 vote
0 answers
84 views

I am transitioning from using Mathematica to Python for my work on quantum systems, specifically focusing on solving the Lindblad Master Equation. For this purpose, I've started using the mcsolve ...
Eduardo Soares's user avatar
1 vote
0 answers
58 views

I am following the simple tutorial below: (https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v5/time-evolution/003_qubit-dynamics.ipynb) In this they look at single qubit with Hamiltonian $...
LieAlgebraGuy1999's user avatar
2 votes
2 answers
478 views

I am searching for a quantum package in Python that can enable me to calculate, for example, a density matrix symbolically and display the results in variable form rather than numerically. I am aware ...
physicino's user avatar
  • 131
2 votes
1 answer
476 views

I have a qutip density matrix fullsystem for a system composed of two quantum systems with ...
Bebotron's user avatar
  • 455
1 vote
0 answers
72 views

One Hamiltonian corresponding to a qubit is the Zeeman Hamiltonian: $$ \hat{H}_\mathrm{Zeeman} = \frac{\hbar\omega_0}{2}\hat{\sigma_z}$$ The eigenstate corresponding to the eigenvaue $+\hbar\omega_0/2$...
hendlim's user avatar
  • 111
1 vote
0 answers
100 views

I am working with QuTiP to do some calculations based on my proposed Hamiltonian. The Hamiltonian of my system has some coupling constants that show the strength of coupling between matter and light(...
Navid Elyasi's user avatar
2 votes
0 answers
85 views

I want to calculate a superoperator for a small noisy subsystem consisting of $k$ qubits, and expand it to $n > k$ qubits, where the remaining $n-k$ qubits are not subject to any noise. ...
JoJo P's user avatar
  • 442
2 votes
0 answers
270 views

qutip mesolve gives me different population evolve depending on that initial state is state vector or density matrix. And, in some situation, it gives me negative population. It doesn't make sense... ...
eechiki's user avatar
  • 21
1 vote
1 answer
474 views

I am currently trying to adapt a code working well with Qutip to Quspin to optimize it. I managed to create what I believe are the same systems with both libraries, but I don't get the same ...
sebastien finor's user avatar
1 vote
0 answers
100 views

In the QUTIP documentation for the lindblad_dissipator(a,b) function we see that some of the $a$'s have daggers and others do not (link to documentation https://...
Dast's user avatar
  • 121
1 vote
1 answer
56 views

I have a hamiltonian consisting of combinations of a and a(dragger). i need to act this on discrete variable state like |0,0,0,1> and so on. Is there any library to do these kinds of operations?
INDRANIL MAITI's user avatar
1 vote
1 answer
365 views

I want to do some quick GRAPE calculations in Python. The qutip implementation is handy but I can't modify the fidelity function. However, I need to use my own fidelity function to evaluate fidelity. ...
Will Yang's user avatar
  • 327
1 vote
1 answer
110 views

The Monte Carlo solver works with kets instead of density matrices. And it doesn't allow a superoperator (which acts on density matrices or superkets) as a collapse operator. Since my master equation ...
Jiakai Wang's user avatar
0 votes
1 answer
130 views

Trying the following code in qutip rho = basis(6, 5) * basis(6, 5).dag() x = (create(6) + destroy(6)) / np.sqrt(2) Now, ...
sbp's user avatar
  • 113
2 votes
0 answers
171 views

Let's say I have the covariance matrix for a 4-mode system, $\sigma$, which is an $8 \times 8 $ matrix (the first moments are zero). I want to calculate the expectation value for an operator, for ...
Bard's user avatar
  • 337
0 votes
1 answer
376 views

I am looking to calculate the projective probabilities for each measurement outcome in a Clifford circuit and then output its corresponding tableau state. I am performing the measurement in the Z ...
user21113's user avatar
1 vote
0 answers
83 views

This is somewhat a simple question. If we generate random channels using QuTiP, say that we generate a channel that acts on a 3-dim space using rand_super_bcsz(3) ...
R.W's user avatar
  • 2,468
4 votes
1 answer
442 views

Quantum discord of a bipartite system can be determined as: $${D_A}({\rho _{AB}}) = I({\rho _{AB}}) - {J_A}({\rho _{AB}}),$$ The subscript of $A$ denotes that the measurement has been performed on the ...
Paranoid's user avatar
  • 141
1 vote
1 answer
623 views

Using qutip I am trying to implement a qubit rotation according the formula $(25)$ provided in this document "Lecture notes: Qubit representations and ...
Eldar Sultanow's user avatar
1 vote
1 answer
614 views

I get different results from mesolve when I change the number points in tlist. The Hamiltonian and initial vector are the same. The results from mesolve are also incorrect (however, essolve gives me ...
jasmine1323's user avatar