Comments (9)
Yes and as far as I remember from our discussion, this was also the initial idea. I can't remember to be involved in any Lambda system example.
from krotov.
Now, the only issue left with this example is that we have to pass to the optimization objectives as target a state that is defined on the bipartite system of qubit and TLS. However, our target in the optimization is a reduced state of the qubit only (see explanation in the example notebook), while our initial state is defined on the bipartite system.
from krotov.
Prerequisite for #13
from krotov.
So do you want to use the notebook from #22 for this issue? As far as I'm concerned, the example doesn't have to be the Lambda system, as long as density matrices are used.
It would be good to have an example where the objectives contain Lindblad c_ops
(instead of a Lindbladian in the H attribute of the objective), just to make sure that works. I could do that in #12, though.
from krotov.
Passing initial_state
and target_state
with different shapes, i.e., that are defined on different parts of Hilbert/Liouville space, is not possible in the current version. Otherwise we can not compute the overlap of forward propagated state and target state. Since I consider having this feature not crucial right now, though it might possibly be handy, I consider this example closed.
from krotov.
I’m not sure I understand. Can you elaborate on what you mean by initial state and final state being in different Hilbert spaces? Isn’t this just a matter of the functional/the chis? I’m fine with the example as is, obviously, but I’d like to understand what capability we might need to extend in the future.
from krotov.
For instance in the current example we have a two qubit system with the initial state being defined on the joint system, i.e., it is a 4x4 matrix, and the target state is defined on the reduced space of one qubit, i.e., it is a 2x2 matrix. If we now want to compute the overlap of the forward propagated state with the target state, which is always done in the current implementation, that is given the troubles right now. Therefore, I have to pass a dummy target state that is only need for these overlaps.
from krotov.
I see what you mean, and I think this points to a design problem with the objectives that I have some thoughts about. I'll get back to you on this sometime later this week, probably in a new issue.
from krotov.
@Basilewitsch I opened #24 to discuss this further
from krotov.
Related Issues (20)
- Optimization backend for qutip-qip HOT 1
- Modernize tooling
- Rename `Objective` to `Trajectory`
- Use stateful solver class in QuTiP 5.0
- Allow keep_original_objectives=False in ensemble_objectives
- Switch documentation hosting to gh-pages/doctr
- Update external Time Discretization notebook HOT 1
- Possible to have correlated pulses? HOT 4
- Discretization may lead to numerical instabilities HOT 1
- Replace uniseg with grapheme
- How did you get this conclusion? HOT 5
- Need to check for array controls in optmize._initialize_krotov_controls HOT 2
- Definition of co-states wrong in example "Optimization of Dissipative Qubit Reset"
- Switch to Github Actions
- sphinxcontrib-bibtex broke backwards compatibility
- Is there a modify_params_after_update? HOT 1
- Yield from mesolve/sesolve HOT 2
- ValueError when plotting guess pulses HOT 3
- g_a_integrals: possible missing a coefficient of lambda/S ? HOT 6
- using different form of cost function instead of fidelity HOT 3
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 krotov.