I want to initialize an array for a wavefunction that iterates with time and dimension and behaves like a tensor form of a Jaynes-Cummings-like model. How is this possible?
I have simply initialized the wavefunction like np.zeros((itt_time,2*N,1),dtype=np.complex_) but cannot cast into a tensor state that contains the TLS and oscillator. Here, N=50.
In my program, the Hamiltonian looks like this: Quantum object: dims = [[2, 50], [2, 50]], shape = (100, 100), type = oper, isherm = true; where N=50 is the Hilbertspace dimension for the oscillator and 2 for TLS. Regarding this, I want the wavefunction of a quantum object: dims = [[2, 50], [1, 1]], shape = (100, 1), type = ket. I cannot initialize the array of wavefunctions in the previous way, and it changes with time.
The Qobj class is the QuTiP representation of quantum operators and state vectors. This class also implements math operations +,-,* between Qobj instances (and / by a C-number), as well as a collection of common operator/state operations. The Qobj constructor optionally takes a dimension list
and/or shape list
as arguments.
Data for vector/matrix representation of the quantum object.
Dimensions of object used for tensor products.
--
You received this message because you are subscribed to the Google Groups "QuTiP: Quantum Toolbox in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qutip/0efb94a0-4d57-41bd-a889-0f68b6d9c613n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qutip/CAGGS%2B1nWn%2BRME_L0%2BcPoPaoRBhLB-Mm9hrGEH3u%3DXGOHOV_8jg%40mail.gmail.com.