Coder Social home page Coder Social logo

darkstarstrix / qsolvers Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 6.0 16.3 MB

The Swiss Army Knife of Applied Quantum Technology (Experimental Tech)

License: Apache License 2.0

Python 99.26% Dockerfile 0.74%
quantum-algorithms quantum-computing quantitative-finance quantum quantum-chemistry quantum-information quantum-machine-learning bqp combinatorial-optimization computer-science

qsolvers's Introduction

Quantum Solvers

This project aims to solve the Traveling Salesman Problem (TSP) using various quantum hybrid algorithms. The TSP is a well-known combinatorial optimization problem that asks: "Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city?". Quantum Industrial Solver SDK A proprietary solution for complex industrial problems, from logistics optimization to advanced data analysis.

How it works

The library works by using quantum algorithms to optimize the traveling salesman problem for logistics and other industrial problems. The library uses a variety of quantum algorithms to solve the problem, including quantum genetic algorithms, quantum convex hull algorithms, quantum annealing, quantum A* algorithms, quantum particle swarm optimization, quantum ant colony optimization, quantum approximate optimization algorithms, quantum non-linear solvers, quantum non-linear naiver stokes solvers, and quantum non-linear schrodinger solvers.

The library is designed to be easy to use and can be used to solve a variety of industrial problems. If you are a business owner or a logistics manager, you can use the library to optimize your logistics and supply chain operations. by inputting into the library the locations of your warehouses and the locations of your customers, the library will output the optimal route for your delivery trucks to take.

The library can also be used to optimize other industrial problems, if you have a complex industrial problem that you need to solve, you can use the library to solve it you can also use the library to optimize your industrial processes, the library can be used to optimize your industrial processes by inputting into the library the parameters of your industrial processes, the library will output the optimal parameters for your industrial processes. and also you can upload your data to the library and the library will output the optimal route for your delivery trucks to take.

If you are a user you can input any parameters and the library will output the optimal parameters for your industrial processes. users who are affiliated with the library such as being part of the business that uses the library and has a subscription to the library can use the library to solve their industrial problems. without payment for businesses they get unlimited access to the library and can use the library to solve their industrial problems. and users get 10 runs access to the non-linear solvers and exclusive research and development access to the library. and a 45-minute call to discuss the library and for the business to get a better understanding of the library._

Algorithms Used

The project uses the following quantum hybrid algorithms:

Logistics Solvers

  • Quantum Genetic Algorithm
  • Quantum Convex Hull Algorithm
  • Quantum Annealing
  • Quantum A* Algorithm
  • quantum particle swarm optimization
  • Quantum ant colony optimization
  • Quantum approximate optimization algorithm
  • Non-linear Solvers

  • Quantum non-linear solvers
  • Quantum non-linear naiver stokes solvers
  • Quantum non-linear schrodinger solvers
  • Each algorithm is implemented in Python using the Qiskit library for quantum computing.

    Project Structure

    The project is structured as follows:

    • Quantum_Genetic_Algorithm.py: This file contains the implementation of the Quantum Genetic Algorithm for the TSP.

    • Quantum_Convex.py: This file contains the implementation of the Quantum Convex Hull Algorithm for the TSP.

    • Quantum_Annealing.py: This file contains the implementation of Quantum Annealing for the TSP.

    • Quantum_A.py: This file contains the implementation of the Quantum A* Algorithm for the TSP.

    • Quantum_Particle_Swarm_Optimization.py: This file contains the implementation of the Quantum Particle Swarm Optimization for the TSP.

    • Quantum_Ant_Colony_Optimization.py: This file contains the implementation of the Quantum Ant Colony Optimization for the TSP.

    • Quantum_Approximate_Optimization_Algorithm.py: This file contains the implementation of the Quantum Approximate Optimization Algorithm for the TSP.

    • Quantum_Non_Linear_Solvers.py: This file contains the implementation of the Quantum Non-Linear Solvers for the TSP.

    • Quantum_Non_Linear_Naiver_Stokes_Solvers.py: This file contains the implementation of the Quantum Non-Linear Naiver Stokes Solvers for the TSP.

    • Quantum_Non_Linear_Schrodinger_Solvers.py: This file contains the implementation of the Quantum Non-Linear Schrödinger Solvers for the TSP.

    • These files contain the implementation of the quantum hybrid algorithms for the TSP. Each file contains a class that implements the algorithm and a main function that runs the algorithm on a sample TSP problem.

    Bosonic Quantum Solvers in these quantum algorithms for Quantum chemistry and Quantum post-quantum cryptography and financial modeling and optimization and quantum machine learning and quantum computing and quantum machine learning and quantum internet and quantum blockchain and quantum internet of things

    Bosonic Solvers

    • Bosonic-Chemistry Quantum Solvers

    • Bosonic-Post-Quantum-Cryptography Quantum Solvers

    • Bosonic-Financial-Modeling Quantum Solvers

    • Bosonic-Quantum-Key-Distribution Quantum Solvers

    • Bosonic-Quantum-Machine-Learning Quantum Solvers

    Running the Code

    To run the code, you need to have Python and Qiskit installed. You can install Qiskit using pip:

    pip install qiskit

    Then, you can run each file separately using Python. For example, to run the Quantum Genetic Algorithm, you can use:

    python Quantum_Genetic_Algothrim.py
    python Quantum_particle_swarm_optimization.py

    Results

    The results of the algorithms are visualized using matplotlib. Each algorithm plots the best route found and the fitness over generations. and various other parameters that are used to optimize the industrial problems. and the library will output the optimal parameters for your industrial processes. there are many other algorithms

    Contributing

    Contributions are welcome. Please submit a pull request if you have any improvements or suggestions.

    Designer

    qsolvers's People

    Contributors

    darkstarstrix avatar dependabot[bot] avatar imgbotapp avatar

    Stargazers

     avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

    Watchers

     avatar  avatar

    qsolvers's Issues

    Quantum_Genetic_Algorithm.py Not Working

    The .\Quantum_Logistics_Solvers\Quantum_Genetic_Algorithm.py outdated,

    1. The numpy import uses numpy as np, but the code is using directly call to numpy.
    2. The line 127 is not initializing the the cities variable correctly

    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.