OpenParable
Skip to content
← Back to skills

Qubo Formulator

Others
qubo-formulator

Qubo Formulator is an Agent Skill for general use published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

QUBO (Quadratic Unconstrained Binary Optimization) formulation skill for optimization problems

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/quantum-computing/skills/qubo-formulator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/qubo-formulator, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

QUBO Formulator

Purpose

Provides expert guidance on formulating optimization problems as QUBO/Ising models for execution on quantum annealers and variational algorithms.

Capabilities

  • Problem encoding to QUBO/Ising
  • Constraint handling (penalty methods)
  • Variable reduction techniques
  • D-Wave integration
  • QAOA cost Hamiltonian construction
  • Solution decoding
  • Embedding optimization
  • Penalty weight tuning

Usage Guidelines

  1. Problem Definition: Formalize optimization problem mathematically
  2. Binary Encoding: Convert variables to binary representation
  3. Constraint Handling: Add penalty terms for constraints
  4. QUBO Construction: Build quadratic matrix form
  5. Solution Interpretation: Decode binary solutions to original problem

Tools/Libraries

  • D-Wave Ocean
  • PyQUBO
  • Qiskit Optimization
  • dimod
  • dwavebinarycsp