Skip to content

Post-selected measurement gates and state preparation gates #71

@vadym-kl

Description

@vadym-kl

Is your feature request related to a problem? Please describe.
In some areas of quantum computing it is common to use post-selected measurement gates to explain
why a circuit works when all measurement outcomes are zero and then proceed to explaining a circuit
for a general case. I would like to be able to visualize such circuits with quantum-viz.js.

Describe the solution you'd like
I would like post-selected Pauli measurement gates to be available as basic gates.

Describe alternatives you've considered
Ability for a user to add custom one, two and multiple-qubit gates with custom drawing of the gates.

Additional context
Below are examples of the gates that would be nice to have
image

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