Coder Social home page Coder Social logo

kaposnick / embera Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joseppinilla/embera

0.0 0.0 0.0 1.32 MB

embera offers a collection of minor-embedding resources and algorithms.

Home Page: https://joseppinilla.github.io/embera/

License: MIT License

Python 100.00%

embera's Introduction

embera

Build Status Coverage Status Python 3.6

embera offers a collection of minor-Embedding Resources and Algorithms for QUBO/Ising-model sampling applications.

Why embera?

The name embera is a nod to the Emberá indigeneous communities.

The reason for embera as an open-source project lies in the limited connectivity of practical quantum (or digital) annealing samplers, which means that a straightforward one-to-one mapping, from variables to qubits, is not likely to lead to a valid implementation, and may require the use of qubit chains. A chain is an extension of a problem vertex over multiple connected qubits. Finding a good solution to the problem is vital for at least two reasons: (a) the capabilities of the mapping algorithm can determine the size (or complexity) of the problems that can be solved, especially in the presence of defective qubits, and (b) the quality (energy levels) of the samples heavily depends on the structure of the mapping.

A mapping of the problem graph G={P,E}, with nodes P and edges E, to the sampler graph H={Q,C}, with qubits Q and couplers C, can be formulated as a minor-embedding problem.

Definition:

A graph G is a minor of H if G is isomorphic to a graph obtained from a subgraph of H by successively contracting edges.

Resources:

  • Generate and draw network graphs of existing and conceptual architectures of QUBO/Ising-Model samplers; e.g. D-Wave's Quantum Annealers.
  • Generate network graphs of real-world and arbitrary problem topologies to be embedded onto the samplers, as well as node and edge weight parameters assignment.
  • Provide an easy to use EmberaDataBase to store and load problem configurations and results; i.e. BinaryQuadraticModel, Embedding, SampleSet, Report.

Algortihms:

  • Layout-aware minor-embedding to take advantage of inherent topological information of the problem graph.
  • Preprocessing of the source and/or target graphs for context-aware embedding methods.
  • Systematic minor-embedding methods for bipartite and other layered network graphs.
  • Graph metric algorithms for benchmarking of the embedding results through proxy metrics and sample distribution evaluation.

Some of our methods can be used as composites making part of the D-Wave Ocean software stack or, otherwise, from their interface functions, such as find_embedding().

Installation

To install from source:

python setup.py install

Example Usage

A set of examples are provided in the examples folder.

embera's People

Contributors

joseppinilla avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.