Skip to content

Order of tags: should TaggedOperation(op, "tag1", "tag2")==TaggedOperation(op, "tag2", "tag1")? #7289

@babacry

Description

@babacry

Now

TaggedOperation(op, "tag1", "tag2")!=TaggedOperation(op, "tag2", "tag1")
and
TaggedOperation(op, "tag1", "tag2")==TaggedOperation(op, "tag1", "tag2")

wonder why does the order of tags matter? if not, should serialization/deserialization take tag sorting into consideration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/tagstriage/discussNeeds decision / discussion, bring these up during Cirq Cynquetriage/needs-more-evidence[Feature requests] Seems plausible, but maintainers are not convinced about the use cases yet

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions