Skip to content

Draw circuits with midcircuit-measurement and conditional gates #50

Open
@royess

Description

@royess

Issue Description

Draw circuits with conditional gates. Currently, such attempt will raise a qiskit.extensions.exceptions.ExtensionError: 'Input matrix is not unitary.'

Proposed Solution

I am not very sure whether it is easy to implement by still using the drawing utilities of qiskit. So I do not have very good solution proposed.

Additional References

In qiskit, it is done by introducing classical registers, e.g. https://quantum-computing.ibm.com/lab/docs/iql/manage/systems/midcircuit-measurement/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestfeedback welcomeWe'd like to listen to the feedback from everyone

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions