Giter VIP home page Giter VIP logo

Comments (4)

jvdwetering avatar jvdwetering commented on August 25, 2024

That is so weird. I will take a look.

from pyzx.

jvdwetering avatar jvdwetering commented on August 25, 2024

How do you produce the second graph from the first? Putting the first in the editor and replacing the H-edges by H-boxes one by one still gives me the correct matrix.

from pyzx.

RDPEast avatar RDPEast commented on August 25, 2024

So I just tried to rewrite the diagram now from scratch and now it is giving me the correct thing. That said this issue has appeared before though I now have no idea what the cause is since this seems to have temporarily resolved itself. I note that in all the times it has appeared it is always accompanied by a zero multiplier to the matrix if that is any clue. Alongside the fact that at the time I saw this it resolved itself (and returned to being problematic) based on whether the hadamard boxes were explicit or wire colours.

I'll keep an eye out for the next time this happens.

from pyzx.

jvdwetering avatar jvdwetering commented on August 25, 2024

I'm pretty sure this is fixed now by one of the several fixes for ZH rewrites that have been introduced, so I'm closing it. If something similar comes up you can open a new issue.

from pyzx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.