Skip to content

Representing Hamiltonian as Pauli strings #1

@ChenZhao44

Description

@ChenZhao44

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions