pyzx icon indicating copy to clipboard operation
pyzx copied to clipboard

Missing documentation and examples: Handling of mixed classical-quantum circuits

Open jvdwetering opened this issue 10 months ago • 9 comments

Over the years, several additional features have been merged into PyZX that have never had documentation written for them. One of these features is the handling of mixed classical-quantum circuits, as implemented by @ABorgna.

To close this issue:

  • Add a relevant section on this functionality to the docs folder.
  • Create a Jupyter notebook in the demos folder that demonstrates how to deal with measurements and classical control using the ground parameters in graphs.
  • Add some of the relevant functions to the demos/AllFeatures notebook.

The functionality that was implemented is described in this paper: https://arxiv.org/abs/2109.06071

jvdwetering avatar Apr 15 '25 19:04 jvdwetering

I've slacked on doing this for too long -.- If someone is tackling this feel free to email/discord me with questions about it.

ABorgna avatar Apr 16 '25 09:04 ABorgna

I would like to be put on the issue @ABorgna

Kitsunp avatar May 29 '25 01:05 Kitsunp

I have made a pr, plz review it

Jayesh1211 avatar May 29 '25 06:05 Jayesh1211

I would like to be put on the issue @ABorgna

Hi. This year for UnitaryHack issues don't get assigned before completion, feel free to open a PR directly.

aborgna-q avatar May 29 '25 07:05 aborgna-q

I have made a pr, plz review it

@Jayesh1211 your PR is not relevant to this issue

aborgna-q avatar May 29 '25 07:05 aborgna-q

I have made a pr, plz review it

@Jayesh1211 your PR is not relevant to this issue

I would also like to work on the issue may I know what is to be added in mixed state

SecludedPerson700 avatar May 29 '25 07:05 SecludedPerson700

I have made a pr, plz review it

@Jayesh1211 your PR is not relevant to this issue

I have made a PR

SecludedPerson700 avatar May 29 '25 07:05 SecludedPerson700

@jvdwetering @ABorgna is this issue still open to new solutions?

limitless-100 avatar Jun 03 '25 06:06 limitless-100

Yes, I have not seen any implementation of this so far, so it is still open :)

jvdwetering avatar Jun 03 '25 18:06 jvdwetering