pyscript icon indicating copy to clipboard operation
pyscript copied to clipboard

Qiskit does not load

Open LosPhilly opened this issue 3 years ago • 1 comments

Qiskit taking a long time to load in the browser

LosPhilly avatar Aug 09 '22 03:08 LosPhilly

Title seems to contradict the contents.🙂 Which is it? Does not load or takes a long time to load?

I suspect it's not a pure Python package and if so, hasn't had the work done to get it importing into Pyodide (which in turn means it won't get imported in PyScript)

nmstoker avatar Aug 14 '22 19:08 nmstoker

There is no pure python or WASM targeted whl published for qiskit as of today(9/25/2022).

As module publishing is handled outside of the PyScript project by module owners, it is thus a module owner issue.

Example:

<html>
<head>
    <link rel="stylesheet" href="https://pyscript.net/unstable/pyscript.css" />
    <script defer src="https://pyscript.net/unstable/pyscript.js"></script>
</head>
<body>
    <py-env>
 - qiskit
    </py-env>
    <py-script>
import qiskit
print(qiskit.version)
    </py-script>
</body>
</html>

tedpatrick avatar Sep 25 '22 23:09 tedpatrick