Skip to content

Add state_result support for Stim #54

@jake-arkinstall

Description

@jake-arkinstall

state_result is currently only supported with the QuEST plugin.

This is the logic of state printing:

  • A user can call state_result("some_label", qubit, another_qubit, some_qubit_list)
  • In this case we call the 'qubit, another_qubit, some_qubit_list' list the "requested qubits".
  • This is generally a subset of the available qubits.
  • They need to be able to extract meaningful state information from this

The caveat: the qubits they request are generally not the full qubit register, so the 'state' of the qubits they request is generally a mixed state.

We could do with the equivalent functionality for the Stim plugin so that users can inspect the state of larger registers, either with a small number of requested qubits (in which case a statevector/density matrix representations are reasonable) or with a large number of requested qubits (in which case equivalent tableau representations are reasonable)

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