Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.04 KB

README.md

File metadata and controls

35 lines (27 loc) · 1.04 KB

Libraries used in the project:

for plotting graphs

import matplotlib.pyplot as plt

import matplotlib.axes as axes %matplotlib inline
import numpy as np

for QISKIT-QAOA

from qiskit import BasicAer
from qiskit.tools.visualization import plot_histogram
from qiskit.aqua import run_algorithm
from qiskit.aqua.input import EnergyInput
from qiskit.aqua.algorithms import VQE, ExactEigensolver, QAOA
from qiskit.aqua.components.optimizers import SPSA
from qiskit.aqua.components.variational_forms import RY
from qiskit.aqua import QuantumInstance
from docplex.mp.model import Model
from qiskit.aqua.translators.ising import docplex
from pyqubo import Binary, solve_ising,Constraint

setup aqua logging

import logging
from qiskit.aqua import set_qiskit_aqua_logging
import time
import matplotlib.pyplot as plt

for Dwave

from dwave.system.samplers import DWaveSampler
from dwave.system.composites import EmbeddingComposite