psrenergy / Anneal.jl

🔵 QUBO Annealing & Sampling MOI Interfaces
https://psrenergy.github.io/Anneal.jl
Other
15 stars 0 forks source link

Inspiration/integration from/with Optim.jl and QuantumAnnealing.jl #4

Closed bernalde closed 2 years ago

bernalde commented 2 years ago

I'm not familiar with how close Optim.jl and MOI.jl are, but in Optim.jl they provide implementations of simulated annealing and particle swarm optimization (https://github.com/JuliaNLSolvers/Optim.jl/tree/master/src/multivariate/solvers/zeroth_order) which might be useful for this repository. Similarly, the repo https://github.com/lanl-ansi/QuantumAnnealing.jl has simulators for Quantum Annealing which might be useful to add an interface here.

pedromxavier commented 2 years ago

Hi @bernalde! By taking a look ate Optim.jl I can say that it looks like a good reference, but not very plug-and-play: 1. they're focused in continuous-valued functions (methods might even be broken for T <: Integer) 2. the code is very neat and easy to understand. LANL's QuantumAnnealing.jl's code was a bit harder to grasp but I've managed to figure out what was happening and that gave me very good insights into the QA internals. After a few tweaks I've managed to implement my own Anneal+JuMP-powered QA simulator. This also made me very tempted to try out new stuff in this sense.

bernalde commented 2 years ago

Fantastic! I'm glad you were able to assess the level of interactions that we can have with those codes. Feel free to ask me any questions you have on the Quantum Annealing side, besides you can reach out to Carleton who is great and I'm sure would love to hear about this interface! If you have that interface, setting up an example (either a notebook or a script) would be really interesting to see.

pedromxavier commented 2 years ago

QuantumAnnealingInterface.jl is ready.