Giter Club home page Giter Club logo

Comments (9)

Basilewitsch avatar Basilewitsch commented on September 28, 2024 1

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.

Basilewitsch avatar Basilewitsch commented on September 28, 2024 1

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.

goerz avatar goerz commented on September 28, 2024

Prerequisite for #13

from krotov.

goerz avatar goerz commented on September 28, 2024

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.

Basilewitsch avatar Basilewitsch commented on September 28, 2024

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.

goerz avatar goerz commented on September 28, 2024

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.

Basilewitsch avatar Basilewitsch commented on September 28, 2024

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.

goerz avatar goerz commented on September 28, 2024

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.

goerz avatar goerz commented on September 28, 2024

@Basilewitsch I opened #24 to discuss this further

from krotov.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.