Questions tagged [quantum-computing]
Questions about simulation of quantum circuits and quantum algorithms in Mathematica.
53 questions
6
votes
1
answer
184
views
How to calculate symmetry factor of one Feynman diagram using Mathematica?
I've been reading Srednicki's Quantum Field Theory lately. I'm wondering how to calculate symmetry factor of one Feynman diagram using Mathematica?
Do QuCalc, QuantumUtils or any package help?
...
4
votes
1
answer
155
views
How to implement a 2x2 operator in Mathematica?
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}
...
1
vote
0
answers
83
views
Numerical inconsistency between two Interaction Pictures in NDSolveValue
I'm solving for a quantum system's evolution operator $U_S(t)$ using two different Interaction Pictures.
The physical evolution is described by the Schrodinger equation for the evolution operator $U(t)...
2
votes
1
answer
168
views
Why does NDSolve fail or slow down when simulating a driven JC model with time-dependent terms, even when the drive is off?
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 ...
0
votes
0
answers
98
views
Diagonalization of Matrix for Coupled Channels Calculation [duplicate]
I am attempting to diagonalize a 2x2 matrix that includes two vibrational eigenstates and their spin-orbit coupling function. Within the code, they are referred to as follows:
...
1
vote
0
answers
146
views
Overload Issue with Solving Schrödinger Equation in Mathematica [closed]
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 ...
0
votes
1
answer
98
views
Error When Computing Integral with Schrodinger Equations as Inputs [closed]
I am attempting to compute the Franck Condon Factor for a molecular system. This is the "overlap integral" between two energy states. In simple terms, I define two wavefunctions and find the ...
1
vote
1
answer
106
views
Issue with Interpolated Potential for Time-Independent Schrodinger Equation
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, ...
1
vote
0
answers
61
views
QuantumFramework, Diagram attribute of QuatumCircuitOperator is not working properly [closed]
I'm working on wolfram cloud notebook to simulate Discrete-Time Quantum Random Walk on hypercube. But, in the QuatumCircuitOperator, I found an unexpected behaviour. Here is my code:
...
2
votes
1
answer
158
views
Seeking Recommendation on Time-Independent Schrödinger Equation Solving Method in Mathematica
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 ...
3
votes
1
answer
164
views
How to correctly solve the Schrödinger equation when the Hamiltonian is driven at high frequencies?
We know that a unitary transformation should not change any physical information. In the program I’m working on, my model is like the driven Jaynes-Cummings model. I want to compute the dynamics ...
3
votes
2
answers
385
views
How to set a symbol to be commutative?
ccr = a ** ad :> ad ** a + 1
comm[A_, B_] := ExpandAll[A ** B - B ** A //. ccr];
these two commands should be enough to ...
6
votes
1
answer
338
views
How to Numerically Solve the Steady State of a Lindblad Equation with Parity Symmetry?
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^...
3
votes
1
answer
134
views
Ket[{0}] output does not display as expected
Bug introduced in 14.0, fixed in 14.1.
The Wolfram documentation says that Ket[{k}] is displayed as
$$
\vert k \rangle
$$
However, I am following the discussion ...
1
vote
0
answers
73
views
Entropy Production Rates
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 ...