Comments (1)
Hi Ananthakrishna,
QuEST is an imperative simulator; it does exactly what you tell it, step by step. Having a circuit type would indeed be convenient, but we've so far decided this is not worthwhile at the level of QuEST where we are restricted to a C-compatible interface. Unless we can abstract it very well using C++, the necessary C memory management to maintain and modify circuits would be nightmarish.
Instead, we have let downstream projects like QuESTlink and pyQuEST define their own circuit structures natural to their language. For example, QuESTlink uses a list of Mathematica symbols and pyQuEST uses a list of Python objects.
As such, we've so far agreed there is a very small need for a usable user-facing circuit structure at the C level. There is an additional case to be made that such a structure would allow us to do all sorts of additional circuit-wide optimisations to massively speedup subsequent simulation. That would still however mean we must develop a circuit optimiser/compiler in C++, whereas such inexpensive, high-level logic is better suited to high-level languages like Python (indeed, QuESTlink already has such a compiler). We could instead integrate an existing C++ compiler like tket, although this breaks our design rule of "use few, if any, external dependencies".
It remains an interesting idea to optionally integrate with tket, which is incidentally something we recently discussed! Alas, I'm doubtful it will come soon, and certainly cannot be fit into our backlog for our mid-September QuEST v4 release.
I'll keep this issue open to inspire more discussion, and report back to if our plans develop!
from quest.
Related Issues (20)
- Optimise multi-qubit unitary HOT 1
- Catch Header file outdated HOT 3
- error message unclear for initStateFromAmps HOT 1
- Is gcc required to be a specific version HOT 1
- Conflict between MPI and previous installation of anaconda on Ubuntu HOT 2
- Failed ./tests/tests from README in examples/README.md HOT 1
- Failed make. CATCH_BREAK_INTO_DEBUGGER(); unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not? HOT 6
- Is there support for MBQC HOT 2
- Imaginary-Time Evolution HOT 4
- install prefix and library naming conventions HOT 1
- Quantum register questions and MBQC HOT 2
- Build static library HOT 1
- Add new qubits to Qureg after measurements? HOT 6
- Would it be possible to run QuEST with AMD GPUs? HOT 3
- QuEST/CMakeLists.txt broken on arm HOT 4
- Automatically build libQuEST.so
- Is the AVX flag needed HOT 2
- QuEST is now available in Julia HOT 5
- Cannot compile with some MinGW versions
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 quest.