-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
area/gatescomplexity/mediumintroduces/modifies 3-5 concepts, takes max up to a month for an advanced contributorintroduces/modifies 3-5 concepts, takes max up to a month for an advanced contributorgood first issueThis issue can be resolved by someone who is not familiar with the codebase. A good starting issue.This issue can be resolved by someone who is not familiar with the codebase. A good starting issue.kind/feature-requestDescribes new functionalityDescribes new functionalitytriage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on
Description
Is your feature request related to a use case or problem? Please describe.
A very common pattern in building quantum circuits is to have a bunch of two qubit gates that you want to put into a circuit, and you do this by acting on qubits from two lists
for q0, q1 in zip(qubits0, qubits1):
cirq.CNOT.on(q0, q1)
In a similar way to having on_each
we could, for two qubit gates, have zip
:
cirq.CNOT.zip(qubits0, qubits1)
I'm unsure if this could also be extended across multiple qubit gates (or even be another way to do on_each
).
What is the urgency from your perspective for this issue? Is it blocking important work?
P2 - we should do it in the next couple of quarters
Metadata
Metadata
Assignees
Labels
area/gatescomplexity/mediumintroduces/modifies 3-5 concepts, takes max up to a month for an advanced contributorintroduces/modifies 3-5 concepts, takes max up to a month for an advanced contributorgood first issueThis issue can be resolved by someone who is not familiar with the codebase. A good starting issue.This issue can be resolved by someone who is not familiar with the codebase. A good starting issue.kind/feature-requestDescribes new functionalityDescribes new functionalitytriage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on