John van de Wetering

Results 21 issues of John van de Wetering

Can I just uninstall telepot, install telepota, and everything should still work as expected?

See the picture below. Source: https://www.arxiv-vanity.com/papers/2012.09061/ ![image](https://user-images.githubusercontent.com/15610543/108069593-d4d90e00-7063-11eb-9f8a-510007654c49.png)

Over the years, several additional features have been merged into PyZX that have never had documentation written for them. These include: * CNOT circuit routing, as implemented in the `pyzx.routing`...

unitaryhack-bounty

NumPy 1.20 added type annotations, which broke mypy. I've added dummy `type: ignore`s in the relevant places, but at some point appropriate types for numpy have to be added.

bug
good first issue

As noted in #44, the qasm parser currently doesn't understand the `ry` gate. By looking at the definition of this gate in the Qiskit source, it should be relatively straightforward...

enhancement
good first issue

I suggest two new features for the d3 drawing of diagrams (using zx.draw()): * When two spiders significantly overlap, there should be some kind of visual indication that allows you...

enhancement
unitaryhack-bounty

When considering Hadamard nodes as gates acting between nodes I often find myself wanting to have the hadamard node living on the line that connects the nodes: ![hadamard node](https://user-images.githubusercontent.com/15610543/44582276-5d330c80-a7a1-11e8-826f-8ad0c33661b7.png) This...

ui
feature

The following rule ![image](https://user-images.githubusercontent.com/15610543/40655151-baa0977a-6340-11e8-8e8c-4845d7a3b30d.png) Does not match this graph: ![image](https://user-images.githubusercontent.com/15610543/40655188-da18cb7c-6340-11e8-8998-92942bcd85b4.png) Although of course it should

rewriting
bug

The following rewrite rule removes multiple self-loops at the same time: ![image](https://user-images.githubusercontent.com/15610543/40654908-e4a2f398-633f-11e8-836d-a94226b766ba.png) when it matches it introduces new boundary nodes: ![image](https://user-images.githubusercontent.com/15610543/40654966-14c44e32-6340-11e8-9e59-33d6a1ff5713.png)

rewriting
bug

- [x] #150 - [x] #189 - [ ] #188

Collection