-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In Yao, Hamiltonians are represented as general blocks. And expect
function is implemented as copy(st)' * apply!(st, H)
. It works perfect for pure states. But when using stabilizer tableau representation, apply!
means applying an operator on a density matrix. So we need to overload expect
for stabilizer states.
Currently, QuantumClifford support expectation value of Pauli operators on stabilizer states. However, converting a general block into Pauli strings is not easy in general. We should have some requirements on the block that we use to represent Hamiltonians. Do you have any ideas on this issue?
@Roger-luo @GiggleLiu
Metadata
Metadata
Assignees
Labels
No labels