Skip to content

Support commuting P(pi/2) past non-Clifford PPR #1713

Open
@sengthai

Description

@sengthai

Currently, commute_ppr (#1563) considers only commutes P(pi/4). However, P(pi/2) can also be commuted. The catch is that it applies a different commutation rule from P(pi/4)P', so if the rule for P(pi/2) states that PP' = -P'P, then: P(pi/2) P'(x) = -P'(x) P(pi/2).

This support should be extended to commute_ppr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions