Skip to main content

Questions tagged [quantum-computing]

Questions about simulation of quantum circuits and quantum algorithms in Mathematica.

Filter by
Sorted by
Tagged with
4 votes
1 answer
143 views

I am trying to write a Mathematica program to compute the following: For a given Hermitian matrix $\rho$, the operator $L_\theta$ with respect to a parameter $\theta$ is defined as: \begin{equation} ...
seeker's user avatar
  • 765
2 votes
1 answer
166 views

I'm performing a numerical check of an effective Hamiltonian transformation applied to a driven Jaynes–Cummings (JC) model. After applying a rotating frame transformation and rotating-wave ...
gang liu's user avatar
  • 165
1 vote
0 answers
146 views

When attempting to calculate the Franck Condon Factor for a molecule, I am encountering an issue calculating the higher vibrational levels of the molecule (which is integral to my analysis of the ...
Caroline Studebaker's user avatar
1 vote
1 answer
106 views

I am attempting to use an interpolated potential for a molecule, initially in the form of (x, V(x)), as input for solving the Time Independent Schrodinger Equation. After defining the data points, ...
Caroline Studebaker's user avatar
2 votes
1 answer
153 views

I am seeking to solve a Time-Independent Schrödinger Equation using the Mathematica Platform. I will detail the problem below: Scaling Constant is "K." This is calculated by the formula (2 m ...
Caroline Studebaker's user avatar
0 votes
0 answers
38 views

I am working on a quantum system and need to expand and simplify a Hamiltonian in Mathematica. The Hamiltonian is given as: $$ H_{I} = \hbar \frac{\chi}{2} a_{1}^{\dagger 2} a_{1}^{2} + \left(i\hbar \...
travelInrrj jj's user avatar
6 votes
1 answer
328 views

I am trying to reproduce some figures from this paper. like below: The effective Hamiltonian of the system is \begin{align} H_{\text{eff}} = \frac{3g_x^2}{\omega} |e\rangle \langle e| + \frac{2g_x^...
gang liu's user avatar
  • 165
1 vote
0 answers
73 views

I am trying to reproduce the results shown in Fig. 2(a) of the paper https://journals.aps.org/prresearch/pdf/10.1103/PhysRevResearch.6.033037 to calculate entropy production rates in a cavity ...
Ramzan's user avatar
  • 11
6 votes
4 answers
863 views

I am interested in working with the names of matrices as opposed to the actual matrices themselves. I would like Mathematica to recognise the content of a matrix and output its name rather than its ...
am567's user avatar
  • 997
0 votes
1 answer
131 views

So I want to show that these "stabilizer operators" commute. These operators are the tensor products of $8$ $2 \times 2$ matrices. As such the operators themselves are $256 \times 256$ ...
am567's user avatar
  • 997
0 votes
0 answers
121 views

Hi I am interested in understanding how to use the neural network functions in Mathematica. I have just started learning hence this is a basic query. The simple example I am looking at is as follows: ...
John Doe's user avatar
  • 291
1 vote
0 answers
343 views

Quantum Optics can often require messy algebraic simplifications of noncommuting operators (usually ladder operators and commutators). I've asked here about how to do it before. What are some modern ...
Steven Sagona's user avatar
2 votes
0 answers
84 views

I am currently reviewing a research paper on orbital angular momentum entanglement between two photons (signal and idler) generated from a pump photon via SPDC. The paper introduces the following ...
Qubit's user avatar
  • 45
3 votes
1 answer
530 views

I am trying to solve the following Lindblad equation analytically with Mathematica: $$\frac{d\rho}{dt}=-i[H,\rho]+\sum\nolimits_{i=0}^1 K_i\rho K_i^+-\frac12\cdot\{K_i^+K_i,\rho\},$$ where $$H=\begin{...
QC_Pod's user avatar
  • 53
1 vote
0 answers
101 views

The following code is taken from Wolfram Community "Quantum Error Correction: bit flip". ...
am567's user avatar
  • 997
0 votes
0 answers
102 views

I am trying to solve a system of four matrix equations using Reduce function. The system arises in Quantum Information. The system is solvable with a solution i.e. phi, but the following code gives ...
Ruthless_Tornado's user avatar
1 vote
0 answers
141 views

Update: Attempted 2nd time by replica method I'm trying to implement basic large N expansion in Mathematica. I'm trying to understand what this means on the fly as well. The model I am trying to ...
cows's user avatar
  • 165
4 votes
2 answers
582 views

In quantum mechanics, a qubit can be understood as a 2 by 1 vector denoted by Dirac notation as $$|0\rangle \equiv \left( \begin{array}{c} 1\\ 0\\ \end{array} \right) ,|1\rangle \equiv \left( \...
narip's user avatar
  • 521
6 votes
1 answer
236 views

Any suggestions as to how to speed up the computational time for this quantum walk problem which is coded using a normalized SparseArray coin operator as follows: ...
thils's user avatar
  • 3,303
1 vote
2 answers
148 views

For an $N$-qubit system, I am interested in coding, in an efficient way, the following set of Kraus operators $\{A_c\}_c$ defined in the computational basis as \begin{align} \hat{A}_c := \sum_{m=...
John Doe's user avatar
  • 291
2 votes
1 answer
127 views

I have been using NDEigensystem to solve the Schrodinger equation for different potentials. However, whenever the potential has its minimum in the negative y-axis, ...
user444's user avatar
  • 2,836
2 votes
1 answer
528 views

Does anyone know of a native Mathematica function or a package that allows one to decompose an arbitrary Hamiltonian into Pauli strings? There are a few packages for Python that do this (e.g., one ...
Physics Penguin's user avatar
1 vote
0 answers
341 views

I am having trouble writing the momentum operator in the differential form to complete a piece of code shown here so that I can show a commutator [P,Q] = I . Here is what I have done so far, and I ...
cows's user avatar
  • 165
-4 votes
1 answer
167 views

Hi please can someone help me writing a program of generating a tridiagonal block matrix with dimension of NxN where N is a variable can be 50, 100, 200, 300...etc , Well I don't know how I'm a ...
Med Ch's user avatar
  • 117
0 votes
1 answer
88 views

I'm calculating quantum mechanical expectation value for a very high order truncation value. But due to low ram, it gets hung each time. So I am trying to write those data to a .dat file into the HDD ...
user444's user avatar
  • 2,836