hsim13372 / qcompress Goto Github PK
View Code? Open in Web Editor NEWA Python framework for the quantum autoencoder
License: Apache License 2.0
A Python framework for the quantum autoencoder
License: Apache License 2.0
Hi,
I tried accessing this file over the browser on github but below message is displayed.
Sorry, something went wrong. Reload?
I tried around 10 times, but same message. Let me know if I am missing anything.
Out of 3 notebook files for QCompress, i am able to access only
https://github.com/hsim13372/QCompress/blob/master/examples/qae_h2_demo.ipynb
rgds,
Chandra.
Hello, I cannot run your example due to encountering the following errors.
When running qae_h2_demo, I have the following error:
ImportError Traceback (most recent call last)
in
5 import os
6
----> 7 from openfermion.hamiltonians import MolecularData
8 from openfermion.transforms import get_sparse_operator, jordan_wigner
9 from openfermion.utils import get_ground_state
ImportError: cannot import name 'MolecularData' from 'openfermion.hamiltonians' (/Downloads/QML/OpenFermion/src/openfermion/hamiltonians/init.py)
ModuleNotFoundError Traceback (most recent call last)
in
6 import scipy.optimize
7
----> 8 from pyquil.gates import *
9 from pyquil import Program
10
~/opt/anaconda3/lib/python3.8/site-packages/pyquil/init.py in
1 from pyquil._version import pyquil_version
----> 2 from pyquil.quil import Program
3 from pyquil.api import list_quantum_computers, get_qc
4
5 version = pyquil_version
~/opt/anaconda3/lib/python3.8/site-packages/pyquil/quil.py in
38
39 import numpy as np
---> 40 from rpcq.messages import NativeQuilMetadata, ParameterAref
41
42 from pyquil._parser.parser import run_parser
~/opt/anaconda3/lib/python3.8/site-packages/rpcq/init.py in
----> 1 from rpcq._client import Client, ClientAuthConfig
2 from rpcq._server import Server, ServerAuthConfig
3 # These are imported so that the corresponding data classes are
4 # registered whenever rpcq is imported. Without which one would have
5 # to import the messages and core_messages modules directly before
~/opt/anaconda3/lib/python3.8/site-packages/rpcq/_client.py in
24 import zmq.asyncio
25
---> 26 from rpcq._base import to_msgpack, from_msgpack
27 import rpcq._utils as utils
28 from rpcq.messages import RPCError, RPCReply
~/opt/anaconda3/lib/python3.8/site-packages/rpcq/_base.py in
20 import msgpack
21 import rapidjson
---> 22 from ruamel import yaml
23
24 if sys.version_info < (3, 7):
ModuleNotFoundError: No module named 'ruamel'
When running run_landscape_scan, I have the similar error as above:
ModuleNotFoundError Traceback (most recent call last)
in
6 import scipy.optimize
7
----> 8 from pyquil.gates import *
9 from pyquil import Program
10
~/opt/anaconda3/lib/python3.8/site-packages/pyquil/init.py in
1 from pyquil._version import pyquil_version
----> 2 from pyquil.quil import Program
3 from pyquil.api import list_quantum_computers, get_qc
4
5 version = pyquil_version
~/opt/anaconda3/lib/python3.8/site-packages/pyquil/quil.py in
38
39 import numpy as np
---> 40 from rpcq.messages import NativeQuilMetadata, ParameterAref
41
42 from pyquil._parser.parser import run_parser
~/opt/anaconda3/lib/python3.8/site-packages/rpcq/init.py in
----> 1 from rpcq._client import Client, ClientAuthConfig
2 from rpcq._server import Server, ServerAuthConfig
3 # These are imported so that the corresponding data classes are
4 # registered whenever rpcq is imported. Without which one would have
5 # to import the messages and core_messages modules directly before
~/opt/anaconda3/lib/python3.8/site-packages/rpcq/_client.py in
24 import zmq.asyncio
25
---> 26 from rpcq._base import to_msgpack, from_msgpack
27 import rpcq._utils as utils
28 from rpcq.messages import RPCError, RPCReply
~/opt/anaconda3/lib/python3.8/site-packages/rpcq/_base.py in
20 import msgpack
21 import rapidjson
---> 22 from ruamel import yaml
23
24 if sys.version_info < (3, 7):
ModuleNotFoundError: No module named 'ruamel'
Please shed light on it, thanks a lot!
I noticed in the documentation you note that an automated qubit mapper "to determine the optimial or near-optimal abstract-to-physical qubit mappings" would be a feature you would like added to QCompress. I am new to quantum, but this sounds like a fun project to get myself more acquainted. Are there any resources you might suggest looking at to implement this feature before I dive in to the literature myself?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.