Comments (6)
Hello. I think you may need to check your Paddle Quantum version. All linear algbrea related functions, including the dagger
function, are compatible with numpy.ndarray
since version 2.2.2
of the Paddle Quantum.
from quantum.
I am on a machine without AVX (rror: Your machine doesn't support AVX, but the installed PaddlePaddle is avx core, you should reinstall paddlepaddle with no-avx core.), so this is what I had to do:
RUN python3.8 -m pip download paddlepaddle==2.3.2 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/noavx/stable.html --no-index --no-deps
# does not work well RUN python3.8 -m pip install paddlepaddle==2.4.1 -i https://pypi.tuna.tsinghua.edu.cn/simple paddle-quantum
RUN python3.8 -m pip install paddlepaddle-2.3.2-cp38-cp38-linux_x86_64.whl paddle-quantum
Python 3.8.10 | packaged by conda-forge | (default, May 11 2021, 07:01:05)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import paddle
>>> import paddle_quantum
>>> paddle_quantum.__version__
'2.2.0'
`ERROR: Cannot install paddle-quantum==2.2.2 and paddlepaddle 2.3.2 (from /paddlepaddle-2.3.2-cp38-cp38-linux_x86_64.whl) because these package versions have conflicting dependencies.
`
Any other option?
from quantum.
Well I am not familiar with AVX. But a possible temporary solution is to run the old tutorials supported by the version 2.2.0 of Paddle Quantum.
But I still recommend you to upgrade Paddle Quantum to the newest version for better user experiences (if you can find other ways to solve the installation problem).
from quantum.
Since paddle-quantum is dependent on paddle, and the latest paddle version for no-avx is 2.3.2, I can not install 2.2.2.
I really want the newest version, but this is an Ubuntu based docker running inside OSX with the M1 chip. See here:
https://github.com/BoltzmannEntropy/QMLDocker
from quantum.
Is it possible to downgrade your PaddlePaddle version to 2.3.0 and then upgrade Paddle Quantum?
from quantum.
Splendid, it works, thank you so much. I updated the docker file.
from quantum.
Related Issues (20)
- 【PaddlePaddle Hackathon】79 图片编码为量子态
- 【PaddlePaddle Hackathon】80 多量子比特独立系统的 Bloch 球展示
- 【PaddlePaddle Hackathon】81 时间演化电路的性能优化 HOT 2
- 【PaddlePaddle Hackathon】82 基于量子卷积神经网络的图片分类
- 【PaddlePaddle Hackathon】Paddle Quantum 任务合集
- 量桨2.1.3版本导入化学分子库报错 HOT 4
- 相关数学推导咨询 HOT 1
- ImportError: cannot import name 'State' from 'sre_parse' HOT 6
- There are no kernels which are registered in the einsum operator. [Hint: Expected kernels_iter != all_op_kernels.end(), but received kernels_iter == all_op_kernels.end().] HOT 3
- (NotFound) There are no kernels which are registered in the einsum operator. HOT 12
- 现在使用量子计算来训练模型,会有速度上的优势吗? HOT 2
- Integration on OSX with the M1 chip (arm64)? HOT 9
- Expectation values of Pauli strings? HOT 21
- Input object type error or incompatible array data type. tensor.set() supports array with bool, float16, float32, float64, int8, int16, int32, int64, uint8 or uint16, please check your input or input array data type. (at /paddle/paddle/fluid/pybind/tensor_py.h:411) HOT 6
- Importing `paddle_quantum` generates warnings that can't be silenced HOT 4
- Medical image classification HOT 1
- Is it possible to use ProcessPoolExecutor to accelerate the for loop in the forward method in QApproximating_EN.ipynb HOT 1
- In the code of VQSVD, why the matrix M doesn`t pre-decomposition to several unitary as the source manuscript?
- 量桨为何不在百度飞桨上更新了?有其他可以在线使用量桨的云平台吗?
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 quantum.