Skip to content

Make sure all cirq gates decompose to XPow/YPow/ZPow/CZPow + Measurement #4858

Closed
@tanujkhattar

Description

As part of https://tinyurl.com/cirq-organize-decompose-rfc, we want to make sure that all cirq gates decompose to the XPow/YPow/ZPow/CZPow + Measuremet gateset.

This issue is to track all the gates where we need to explicitly add a _decompose_ method to make sure all decompositions end on the above target gateset.
We should also discuss what happens for gates where trivial decomposition is not present?

  1. MatrixGates : Should we add an analytical decomposition to the _decompose_ method of matrix gates?
  2. Same question as above for ControlledGates.

P1 - I need this no later than the next release (end of quarter)

Part of #3242

Metadata

Assignees

No one assigned

    Labels

    area/decomposearea/gateskind/feature-requestDescribes new functionalitypriority/p2Next release should contain ittriage/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