Xiu-zhe (Roger) Luo
Xiu-zhe (Roger) Luo
Indeed, they are designed for different purpose. I would suggest to convert a `register` with batch size 1 (batch size is usually a type parameter, so it can be dispatched)...
we don't have density matrices backend yet. part of the goal of the new simulator backend https://github.com/QuantumBFS/BQCESubroutine.jl is to provide a density matrix & quantum channel emulation backend. But it's...
> I understand I can export density matrix to QuantumInformation.jl, but it doesn't seem possible to export circuits that include measurements. True. What I can currently promise you is that...
> It is easy to handle U \rho U^\dagger` in Yao in a slightly hacky way I feel sometimes it's actually easier to just call `instruct!` interface and feed the...
> Regarding the instruct! interface, if it is limited to matrices, wouldn't that make it impossible to implement measurement operations within circuits? IIUC, to simulate measurement (or measurement channel) on...
@seadra yes that's just a projection then. Currently measure is also implement as a matrix operation actually it's just Z basis is a special case you can optimize on. The...
YaoBlocks is a mainly a pure quantum circuit representation so sometimes in the case of density matrices it doesn't work well with quantum channels ( tho in your case it's...
> So I gather once such a conversion of Measure to the matrix is implemented in Yao, the code you posted above should also work eventually. And maybe even something...
Thanks for being interested in this! > It can be particularly fast because this restricted set of circuits have efficient classical representations. ~I'm wondering for the circuit simulation, does it...
> How do you deal with "trajectories"-style simulations or Monte Carlo simulations? In such cases the output of the instruction would have different possible values and some form of reduction...