bloqade-python icon indicating copy to clipboard operation
bloqade-python copied to clipboard

API for specifying initial state

Open Roger-luo opened this issue 2 years ago • 2 comments

It should be possible to allow users to start with some preparable states such as product state, MPS, etc. I think this is a use case we are missing, there were some very early discussions between me and @weinbe58 but we never write down anything, please also feel free to provide a more concrete example if you can @jon-wurtz

we should have a look at state preparation protocols and decide if we want to solve this by supporting mixing pulse with the gate or just providing some specialized APIs (if the type of preparable states is very limited)

Roger-luo avatar Jul 18 '23 23:07 Roger-luo

@Roger-luo I think this should be a larger discussion about the API for shot based measurements vs. expectation values with the full state.

weinbe58 avatar Aug 11 '23 14:08 weinbe58

why measurement API is related to initialization?

Roger-luo avatar Aug 11 '23 18:08 Roger-luo