-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
area/interoparea/visualizationkind/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.
Quirk (https://algassert.com/quirk) is an open source quantum circuit editor and simulator. It is a widely used tool for both education and research.
It was proposed in https://tinyurl.com/cirq-visualizations#heading=h.2nfg3hb3jqb to have an integration of the Quirk editor with Cirq. This issue is to discuss the requirements and proposal.
Describe the solution you'd like
Integrate the Quirk editor with Cirq s.t.
- Users should be able to pull up the Quirk editor in ipython notebooks from within Cirq.
- Convert a
cirq.Circuitto a Quirk circuit from within the notebook. - Modify an existing circuit / Build a new circuit using Quirk and export as
cirq.Circuitfrom within the notebook.
[optional] Describe alternatives/workarounds you've considered
- https://github.com/adgt/pyQuirk already exists which can be used to bring up Quirk editor in jupyter notebooks.
cirq.contrib.circuit_to_quirk_urlalso exists which can convert anycirq.Circuitto a Quirk URL.- We can also write another function
cirq.contrib.quirk_url_to_circuitwhich can convert a Quirk URL to a cirq.Circuit to complete the interoperability requirements.
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
cduck and vcatherinefreyam
Metadata
Metadata
Assignees
Labels
area/interoparea/visualizationkind/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