Comments (5)
the tensor
or kron
function, seems to be only defined for Kets, Bras, and Operators, is it still necessary to write methods for the super operators
from quantumtoolbox.jl.
I can’t figure out what a tensor product between two superoperators should make, physically. So, I think that the definition of tensor product on the superoperators is meaningless
from quantumtoolbox.jl.
It is defined in the qutip permute
for these types but i'm not sure how to think about them either atm.
from quantumtoolbox.jl.
@albertomercurio @aarontrowbridge
There are some rare situations which we want the SuperOperator
to be in block matrix form (easier to analyze the dynamics in some specific topics).
Consider a Operator
with sub-systems SuperOperator
could be written as:
What I have in my mind is some functions that allow me to obtain the SuperOperator
with the following Hilbert space order:
But this could actually be done by transferring the SuperOperator
back to Operator
form, apply the permute
, and then transfer it back to SuperOperator
type:
A = Qobj(rand(NA, NA))
B = Qobj(rand(NB, NB))
AB = tensor(A, B)
S = spre(AB) # super operator
op1 = Qobj(S, type = Operator, dims = [NA, NB, NA, NB])
op2 = permute(op1, [1, 3, 2, 4])
S_new = Qobj(op2, type = SuperOperator, dims = [NA, NB])
So, yes !
I think for current stage, we can just focus on permute
for Ket
, Bra
, and Operator
types of QuantumObject
.
from quantumtoolbox.jl.
@ytdHuang thanks for the feedback! I'm in the process of making all of the changes you suggested. I'm in the process of groking what's going on in the ptrace
function as it relates to permutations, it is definitely a more elegant approach than mine!
from quantumtoolbox.jl.
Related Issues (20)
- Move repository to qutip.org HOT 1
- Add a the iterative solvers and eigensolver for `steadystate` HOT 3
- Improve the Floquet solver, with the possibility to get also the time-dependent components HOT 1
- Make a logo, possibly using `QuantumToolbox.jl` HOT 2
- ODE-based `steadystate` solving method HOT 3
- Symmetry decomposed evolution
- Plot wigner
- GPU asynchronous computations
- Reorganize the keywords `import`, `using`, and `export`
- Make `QuantumObject` immutable HOT 1
- Consider reversing order of arguments to `kron` in `tensor` HOT 4
- Writing Change Log
- `expect` type after solving dynamics HOT 1
- Functions for generating quantum states
- Functions for generating quantum operators
- Attribute functions operating on `Qobj`
- Raise exception for incorrect input (`dims`) in `basis` and `fock`
- Type instabilities when generating a `QuantumObject`
- Support different representations for `SuperOperator`
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 quantumtoolbox.jl.