Skip to content

Output sxdg instead of rx(pi*-0.5) for X**-0.5 qasm #3728

@Strilanc

Description

@Strilanc

Converting a circuit with X**0.5 in it into qasm produces an rx(pi*0.5) operation. This operation is correct, but e.g. qiskit's stabilizer simulator doesn't understand that it is a stabilizer operation.

Should probably check other stabilizer operations like X**-0.5, Y**0.5, Y**-0.5, Z**0.5 too.

Metadata

Metadata

Assignees

Labels

area/interopgood first issueThis issue can be resolved by someone who is not familiar with the codebase. A good starting issue.kind/bug-reportSomething doesn't seem to work.triage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions