Comments (2)
Ok, so after tracking down the problem in these platforms, I just find out that Debian based distributions (which seems to be the distribution they use under the hoods), install python stuff in a directory called dist-packages
, instead of site-packages
, so our .so libraries were not being found at runtime by Pyhton.
While trying to find out what can we do to support these kind of installations, on Google Colab you can manually cp the .so files from site-packages
to dist-packages
, like:
!cp /usr/local/lib/python3.6/site-packages/*.so /usr/local/lib/python3.6/dist-packages/
I don't know how to do this on Trinket, but another option that would work on both environments is to manually add the site-packages
directory to the sys.path
:
import sys
sys.path.append('/usr/local/lib/python3.6/site-packages')
from qiskit.providers.aer import Aer
from qiskit-aer.
I have filed a new issue #66 to fix this, so closing this report.
Thanks @quantumjim !
from qiskit-aer.
Related Issues (20)
- EstimatorV2 extended_stabilizer fails" invalid instructions {"instructions": {save_expval}} HOT 10
- extended_stabilizer can't handle rz Clifford gates
- EstimatorV2: from_backend does nothing
- Aer simulator fails when running a runtime sampler with a dynamic circuit HOT 1
- Stabilizer simulator gives wrong wrong answer sometimes HOT 6
- Error with import qiskit_aer
- qc.cx(0, 1, ctrl_state=0) fails - AerError: 'unknown instruction: cx_o0' HOT 4
- Number of qubits (15) in circuit-164 is greater than maximum (14) in the coupling_map HOT 3
- Documentation has not been updated since Qiskit 0.22 HOT 2
- ProcessPoolExecutor can't be used (for CPU-bound tasks)
- Citation BibTeX file is the same as that for Qiskit. Is this correct?
- Migrate from scikit-build to scikit-build-core HOT 2
- Can't set method for EstimatorV2 HOT 2
- Transpile with multiple circuits fails after qiskit 1.1 HOT 1
- cuQuantum(cuStateVec) not invoked by statevector simulator
- AerSimulator seed should accept Numpy random Generator HOT 4
- AerSimulator from V1 backend errors with delay circuits
- Improve support for Pauli error channels for utility experiment-like simulations
- V2 primitives are not listed in API docs
- stabilizer method fails with SamplerV2 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qiskit-aer.