Skip to content

✨ Implement getUnitaryMatrix() for PowOp #1812

Description

@J4MMlE

Problem Statement

PowOp::getUnitaryMatrix does not return a correct unitary for the general case. Composing multi-gate bodies into a single unitary and raising them to an arbitrary exponent is currently not supported.

Proposed Solution

Compute the full unitary of a PowOp (#1603) by 1.composing the body into a single matrix U (product of all body unitaries in program order), then 2. raising it to the exponent p once a solution for #1811 is implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions