Skip to content

Document in cirq.apply_unitary's docstring that it can operate on qudit subspaces #2862

@Strilanc

Description

@Strilanc

If you have a state tensor defined over qutrits, and you call cirq.apply_unitary targeting this state tensor but give it a qubit gate, apply_unitary will operate on the 01 subspace. This isn't currently documented but it should be mentioned in the docstring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docsarea/protocolsarea/protocols/unitaryarea/quditscomplexity/lowintroduces/modifies 1-2 concepts, should take 1-2 days max for an advanced contributorgood first issueThis issue can be resolved by someone who is not familiar with the codebase. A good starting issue.skill-level/advancedOne or more of the areas need a solid understanding.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