Giter Club home page Giter Club logo

Comments (3)

josh146 avatar josh146 commented on June 11, 2024

Nice catch @chaeyeunpark! Although I wonder why the automatic tests that are being run by cibuildwheel after the Windows wheel is created isn't catching this?

As this only a few people use Pennylane on Windows and this is almost nothing to do with a user code, I don't think this is an urgent issue.

Could a user have the same issue if they repeat the same code that is written in the tests? Or are the tests explicitly setting complex256 as a test case?

from pennylane-lightning.

chaeyeunpark avatar chaeyeunpark commented on June 11, 2024

Hi @josh146! Thanks for the comments/questions. Currently, our GitHub action only runs pl-device-test not the whole pytest.

In addition, the errors are raised only because there is no attribute named complex256 in numpy on Windows as it is just an alias defined in Linux (https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.clongdouble). 256 bit complex numbers are not supported by lightning even in Linux environments.

from pennylane-lightning.

mlxd avatar mlxd commented on June 11, 2024

I think we can remove the complex256 from checks/tests. No long-term hardware support exists on any platform, and as reported the tooling only supports this on Linux.

from pennylane-lightning.

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.