Comments (1)
Hi Mark,
Six qubits is indeed low, but saying this method does not scale well with qubit number would be an understatement, the truth is this method does not scale all. Keep in mind it generates all linear combinations, i.e. (1 << num_qubits) - 1
!, which for the most cases, if not all, is an overkill. Moreover, only to run linear_synth_gray
would take a big amount of memory. So to prevent myself and others from shooting ourselves in the foot, I decided to impose such restriction.
It is true that the number 6 was arbitrarily chosen and we could make it slightly bigger. I think we could go as far as 32 qubits, but no further as it would require bigger changes to the implementation.
I will have a look a bit into this code, as it is a bit old, just to make sure I can indeed make this number bigger. Do you have a specific number in mind? Or would you go to the maximum?
from tweedledum.
Related Issues (20)
- CMake: doesn't install anything if -DTWEEDLEDUM_PYBINDS=OFF HOT 2
- Add support for python dimacs reader in memory HOT 2
- Import tweedledum failing on MacOS HOT 11
- DOC: error in README.md
- pip install fails HOT 3
- ability to specify a timeout on exact synthesis
- compute_depth() crashes on empty circuit
- Building fails HOT 6
- Build failure of tests (catch2) with gcc 10.3.0, glibc 2.34 HOT 1
- macOS 13 could not install tweedledum with CMake issue HOT 1
- With TWEEDLEDUM_PYBINDS=OFF fewer C++ files are compiled but still produces the same result
- Tests fail: E ModuleNotFoundError: No module named 'pybind11_tests'
- 3313 assertions in 73 test cases
- Python build should reuse the C++ library
- Install Issue on m1 macs HOT 4
- Build fails with Python 3.11 because of outdated pybind11 HOT 2
- "license_file" will be deprecated 10/30/2023 (replaced with "license_files") HOT 2
- Failure reading DIMACS files with 10 variables or more
- Unable to pip install -- invalid pyproject.toml configuration HOT 5
- Push a release with python 3.9 wheels HOT 1
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 tweedledum.