lanl-ansi / dwig Goto Github PK
View Code? Open in Web Editor NEWD-Wave Instance Generator (D-WIG)
License: Other
D-Wave Instance Generator (D-WIG)
License: Other
Add proper doc strings to code.
When generating many cases accessing the QPU properties and setting up the data structures is a significant overhead. This should be broken into two steps, so batches of cases can be generated much faster.
So that parameters can be within coupler ranges but you can still get your objective value in the correct units.
Checker for values being equal to 0.0 should use an isclose() function.
Will this yield interesting test cases?
Implement the instance generation procedure from, https://arxiv.org/abs/1705.07452
When the command dwig.py
is run without a generator the error message should be more informative.
Standardize the parameters for random-gauge-transformation
and simple-ground-state
.
dev is in the max-clq branch.
Add a translator from bqp-json to the qbsolv data format.
This function is not supported in python 3.5, we should work around it so that the code is more portable.
When using the following command:
./dwig.py -pp -cs 0,4 0,5 1,4 1,5 const -cp 0.2 -f -0.5
dwig will crash, stating "a spin pair must be x,y integers". The parser is attempting to take an arbitrary number of qubit pairs, and is unable to differentiate the "const" subparser. This can easily be worked around by swapping the order of the -pp and -cs arguments, as shown:
./dwig.py -cs 0,4 0,5 1,4 1,5 -pp const -cp 0.2 -f -0.5
The cause of this issue is in the argument parsing, and there is not an immediately obvious fix that would allow passing arbitrary coupler or spin sets.
Consider removing i from cases names as all outputs are now ising.
The primary function would be to store the schema file and have a dedicated validate method, which checks properties that are outside the scope of json schema.
This would also be a good place to put the bqp utility scripts, such as the format translators.
Use real logs instead of just dumping everything to stderr.
It is clear that the transform is idempotent, at least.
Consider adding an option to Truncate floating point values based on the precision limitations of the QPU.
This issue is discussed in the README. This will be resolved when SAPI is compatible with python 3.
Build a tool for converting bqp-json instances to pdfs using http://www.graphviz.org/
Find a good way to integrate the mathematical form of a B-QP into the BQP-JSON.md file.
Using the ground state of all -1/0 can result in an unfair advantage for tree search solvers. The reason being that always branching to the low value first results in immediately finding OPT.
Make sure translators are robust to reverse edges.
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.