Git Product home page Git Product logo

qibocomboptimisation's Introduction

This is a repository where users can use Qibo to prepare Hamiltonians for common combinatorial optimisation problem.

qibocomboptimisation's People

Contributors

shangtai avatar

Stargazers

WILSON O FONSECA avatar Sergio Martínez avatar

Watchers

 avatar Stefano Carrazza avatar Matthew avatar

qibocomboptimisation's Issues

Implement CI/CD Workflow

To ensure the quality of our code and streamline our development process, we need to set up a Continuous Integration/Continuous Deployment (CI/CD) workflow for the QiboOpt plug-in.

The tasks include:

  • 1. Set up a CI/CD tool for the repository.
  • 2. Configure the tool to automatically run tests whenever a new pull request is opened or a commit is pushed to the main branch. The tests should be run using pytest, as per our testing framework.
  • 3. If the tests pass, the changes should be automatically deployed to our staging environment.
  • 4. If the changes are on the main branch and all tests pass, the changes should be automatically deployed to our production environment.

Implement Poetry for Better Dependency Management and Easier Dev Environment Management

Tasks:

  • 1. Create a new pyproject.toml: Run poetry init and follow the prompts to create a new pyproject.toml file.
  • 2. Specify dependencies: Add the project dependencies to the pyproject.toml file under the [tool.poetry.dependencies] section. Make sure to specify the correct versions.
  • 3. Specify dev-dependencies: Add the development dependencies to the pyproject.toml file under the [tool.poetry.dev-dependencies] section. This includes packages needed for testing, linting, etc.
  • 4. Update README: The installation instructions in the README.md file should be updated to include steps for installing the project with Poetry.
  • 5. Test the setup: Clone the project in a new directory and follow the updated instructions to set up the development environment. Make sure everything works as expected.
  • 6. Ensure CI/CD pipelines are configured for Poetry (Ref. QiboChem/QiboTN): Update any continuous integration/continuous deployment (CI/CD) pipelines to use Poetry for installing dependencies.
  • 7. Review and merge: Create a pull request for review with these changes. Once approved, merge the changes into the main branch.

Setup pytest and Add Test Files

In order to ensure the quality and correctness of our code, we need to set up a testing framework and add test files for our existing codebase. This will allow us to run tests automatically for all future pull requests, ensuring that any new changes do not break existing functionality.

The tasks include:

  • 1. Set up pytest as our testing framework.
  • 2. Write test cases for existing functions
  • 3. Configure GitHub Actions (or another CI/CD tool) to automatically run these tests whenever a new pull request is opened.

This is a high-priority issue as it directly impacts the reliability of our code. Any contributors with experience in pytest and automated testing are highly encouraged to take this up.

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.