Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuantumAnnealingInterface.jl

QUBODRIVERS

JuMP interface for LANL's QuantumAnnealing.jl

Installation

import Pkg
Pkg.add("JuMP")
Pkg.add("QuantumAnnealingInterface")

Usage

using JuMP
using QuantumAnnealingInterface

model = Model(QuantumAnnealingInterface.Optimizer)

Q = [ -1  2  2
       2 -1  2
       2  2 -1 ]

@variable(model, x[1:3], Bin)
@objective(model, Min, x' * Q * x)

optimize!(model)

Simulation Size Limit

QuantumAnnealing.jl's state-vector backend builds a dense 2^n by 2^n density matrix. QuantumAnnealingInterface.Optimizer rejects models with more than 12 variables by default through the "max_variables" optimizer attribute. Raise this limit only when the corresponding memory cost is acceptable.

About

⚛️ JuMP interface for LANL's QuantumAnnealing.jl (ft. QUBODrivers.jl)

Resources

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages