Comments (3)
For collective spin calculations, if either
$$
\begin{align}
\langle \hat{J}_x\rangle &= (N/2)(\langle \hat{\sigma}_1^{12}\rangle+\langle \hat{\sigma}_1^{21}\rangle),\
\langle \hat{J}_y\rangle &= (iN/2)(\langle \hat{\sigma}_1^{12}\rangle - \langle \hat{\sigma}_1^{21}\rangle),\
\langle \hat{J}_z\rangle &= (N/2)(2\langle \hat{\sigma}_1^{22}\rangle - 1).
\end{align}$$
from quantumcumulants.jl.
Hi @Papageno2,
You used the ClusterSpace
which is outdated. Please use the Symbolic Sums and Indices
instead. This should resolve your problem.
The superradiant laser example might be useful for you: https://qojulia.github.io/QuantumCumulants.jl/stable/examples/superradiant_laser_indexed/
Here's some documentation about the symbolic sums: https://qojulia.github.io/QuantumCumulants.jl/stable/symbolic_sums/
from quantumcumulants.jl.
Hi @Papageno2, You used the
ClusterSpace
which is outdated. Please use theSymbolic Sums and Indices
instead. This should resolve your problem. The superradiant laser example might be useful for you: https://qojulia.github.io/QuantumCumulants.jl/stable/examples/superradiant_laser_indexed/ Here's some documentation about the symbolic sums: https://qojulia.github.io/QuantumCumulants.jl/stable/symbolic_sums/
Thank you for reminding me about the new API: Sumbolic Sums
and Indices
, now I get the same results for order=2
and order=3
. The inconsistency in results that I previously encountered may be attributed to the instability of the ODE due to the sizable detuned parameter
from quantumcumulants.jl.
Related Issues (20)
- Defining Pauli Matrices
- CorrelationFunction with steady_state = false HOT 2
- Superradiant Example: Correlation between atoms
- _new_operator(nOp::NumberedOperator) HOT 1
- scale sums: prefactor N or (N-1) HOT 4
- Correlation functions with time dependent Hamiltonians fails to solve HOT 1
- define real number parameter? HOT 3
- How can I define the transition operator with two subscripts? HOT 1
- Including noise terms in the symbolic derivation HOT 2
- How to choose the right algorithm to compute the differential equation HOT 1
- How to represent sigma_z ? HOT 1
- Sums with different sum indices don't get simplified HOT 1
- Sums with IndexedVariable simplifies incorrectly HOT 1
- Periodic boundary conditions HOT 1
- `change_index` not working for a summed term HOT 2
- `IndexedVariable` with a time-dependence HOT 3
- Typed parameters
- How to represent the number $N$ of atom in an atomic ensemble with collective spin operators?
- metadata function for QAdd HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quantumcumulants.jl.