Comments (4)
对,这个确实。你可以下载 GitHub 上当前的源代码,进入到文件夹后,使用 pip install -e .
安装,这个会在下个版本中修复。
from quantum.
pip install -e .
之后,还是看不到
import paddle_quantum
dir(paddle_quantum)
['__builtins__',
'__cached__',
'__doc__',
'__file__',
'__loader__',
'__name__',
'__package__',
'__path__',
'__spec__',
'__version__',
'circuit',
'intrinsic',
'name',
'shadow',
'simulator',
'state',
'utils']
代码里明明有的,不明白为啥拿不到。
from quantum.
应该是能拿到的,我试了下,是可以用的。或者你在 Quantum 文件夹下用 python setup.py sdist bdist_wheel
生成一下 whl 包(在文件夹下的 dist 文件夹中),然后在 dist 文件夹中用 pip install ./paddle_quantum-2.1.3-py3-none-any.whl
试试,这个我测试也是可以的。
from quantum.
使用了最新给的2.1.3版本,在AIStudio环境下正常了。
from quantum.
Related Issues (20)
- 【PaddlePaddle Hackathon】80 多量子比特独立系统的 Bloch 球展示
- 【PaddlePaddle Hackathon】81 时间演化电路的性能优化 HOT 2
- 【PaddlePaddle Hackathon】82 基于量子卷积神经网络的图片分类
- 【PaddlePaddle Hackathon】Paddle Quantum 任务合集
- 相关数学推导咨询 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
- Many of the examples dont work HOT 6
- 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.