Skip to content

Qcir read give problem in u3 gates #135

@dvnoble

Description

@dvnoble

Hello! I am using version 0.7.0 and I am having a phase problem with circuits with u3 and u2 gates.
u3 gates require 3 parameters but qcir is able to read 1 parameter.
For example:
u3(0,0,0) q[1];
gives the error message
[error] invalid phase on line u3(0,0,0) q[1];!!

However,
u3(0) q[1];
works but this shouldn't work for this gate type.

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