The main low-level interface to the quantum annealers produced by D-Wave Systems, Inc. is D-Wave's Solver Application Programming Interface (SAPI) library. D-Wave provides access to SAPI from C, Python, and MATLAB. This package extends that set to include the Go programming language.
Download, build, and install sapi
like any other Go package:
go get github.com/lanl/sapi
The build process assumes that the C compiler can find the dwave_sapi.h
header file and the libdwave_sapi.so
library file. (These are proprietary files provided by D-Wave. If you don't have them, I can't give them to you.)
The package documentation can be found online via GoDoc. The main source of documentation for SAPI in general is D-Wave's Developer Guide for Python (or C or MATLAB).
sapi
is provided under a BSD-ish license with a "modifications must be indicated" clause. See the LICENSE file for the full text.
sapi
is part of the Hybrid Quantum-Classical Computing suite, known internally as LA-CC-16-032.
Scott Pakin, pakin@lanl.gov