Giter Site home page Giter Site logo

hitarth64 / quantum-inspired-cluster-expansion Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 105 KB

Quantum-inspired Cluster Expansion: formulating chemical space search as QUBOs and Ising models

License: BSD 3-Clause Clear License

Python 100.00%
catalysis density-functional-theory machine-learning materials-discovery materials-science quantum-annealing quantum-chemistry quantum-computing

quantum-inspired-cluster-expansion's Introduction

Quantum-inspired Cluster Expansion

Quantum-inspired Cluster Expansion (or QCE in short) is a mapping of classical cluster expansion to Quadratic Unconstrained Binary Optimization (QUBO) expression or in general, an Ising model. This provides a very efficient way to search the large combinatorial chemical space. QCE can be treated both as a standalone surrogate+search method or as a standalone search method.

  • For its use as surrogate+search method, one needs to use DFT data to train cluster expansions and then transfer it to QUBO format using QCE

  • For its use as a search method, one can feed use data generated using ML-potential such as the one based on OCP and then perform QCE using the generated data. Data generation and relaxtion using such an ML potential for large number of structures can be computationally expensive. Thus, when combined with QCE, can enable exhaustive search.

Following paper describes the details of QCE framework: Accelerated Chemical Space Search using Quantum-inspired Cluster Expansion

Table of contents:

How to install

You can install the latest version of QCE from github as:

pip install git+https://github.com/hitarth64/quantum-inspired-cluster-expansion

Requirements

This package requires:

Depending on the engines of interest, you may also want to install:

Note: Both the required as well as optional dependencies are installed if you follow the instructions above for installation

Data

All the datasets generated and used in the paper and/or examples here are present in the current repository. You can access the data through the data module of qce as from QuantumInspiredClusterExpansion import data Please refer to the dataset page for more information.

If you are looking for the data on slabs generated, please refer to them at MixedMetalOxides

Usage

We provide several examples in the examples directory. Directory has both notebooks as well as python files.

For our study, we used Digital Annealer which is a commercial system. However, we provide complete functionality through QCE to extract the QUBO formulations that can be tested on various platforms including quantum annealers, quantum-inspired platforms and heursitic solvers. We also provide options to interface the search problem with various Genetic algorithms (GA) through DEAP as well as Bayesian Optimization (BO) strategies through scikit-learn.

How to cite

Please cite the following work if you use QCE.

@article{Choubisa2022,
   author = {Hitarth Choubisa and Jehad Abed and Douglas Mendoza and Hidetoshi Matsumura and Masahiko Sugimura and Zhenpeng Yao and Ziyun Wang and Brandon R. Sutherland and Alán Aspuru-Guzik and Edward H. Sargent},
   doi = {10.1016/J.MATT.2022.11.031},
   issn = {2590-2385},
   journal = {Matter},
   month = {12},
   publisher = {Cell Press},
   title = {Accelerated chemical space search using a quantum-inspired cluster expansion approach},
   url = {https://linkinghub.elsevier.com/retrieve/pii/S2590238522006622},
   year = {2022},
}

License

This package has been released under BSD 3-Clause Clear License. Refer to license for details.

Authors

The package has been co-written by Hitarth Choubisa from University of Toronto and Hidetoshi Matsumura from Fujitsu Consulting(Canada) Inc.

quantum-inspired-cluster-expansion's People

Contributors

hitarth64 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

wangjie1450

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.