using-nctssos

Solve noncommutative polynomial optimization problems via structured SDP relaxations in Julia.

60|92|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/QuantumBFS/quantum.harness --skill using-nctssos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-nctssos
Source: https://github.com/QuantumBFS/quantum.harness/tree/main/skills/using-nctssos
Command: npx skills add https://github.com/QuantumBFS/quantum.harness --skill using-nctssos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires NCTSSoS, Clarabel, JuMP, and includes references (resource) components.

What problem does it solve?

This skill provides a robust computational framework for solving noncommutative polynomial optimization problems, allowing researchers to obtain certified lower bounds for quantum systems and operator algebras.

Core Features & Use Cases

  • Certified Bounds: Computes rigorous lower bounds for ground-state energies, Bell inequalities, and state-polynomial optimization.
  • Symmetry & Sparsity: Leverages correlative and term sparsity, as well as Wedderburn block-diagonalization, to scale calculations for complex quantum systems.
  • GNS Reconstruction: Enables the recovery of optimal operators and states when the relaxation is numerically exact.

Quick Start

Use the using-nctssos skill to compute the ground state energy lower bound for a 1D Heisenberg spin chain by defining the Pauli variables and passing the Hamiltonian to the polyopt solver.

Frequently Asked Questions about using-nctssos

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compute certified lower bounds for noncommutative polynomial optimization?

You can compute certified lower bounds for noncommutative polynomial optimization by constructing structured SDP relaxations via the moment-SOHS hierarchy using NCTSSoS.jl. This framework applies to quantum many-body physics and operator algebra analysis.

What is the moment-SOHS hierarchy for quantum optimization?

The moment-SOHS hierarchy solves noncommutative polynomial optimization problems by building increasingly tight semidefinite programming relaxations. It yields certified lower bounds for quantum ground-state energies and Bell inequalities.

Can I use Clarabel or Mosek as an SDP backend for noncommutative optimization in Julia?

Yes, you can use Clarabel or Mosek as compatible SDP backends for noncommutative optimization in Julia. The NCTSSoS.jl package requires Julia and a compatible SDP solver to solve the structured relaxations.

How do I calculate ground state energy lower bounds for a Heisenberg spin chain?

To calculate ground state energy lower bounds for a 1D Heisenberg spin chain, define the Pauli variables in Julia and pass the Hamiltonian to the polyopt solver within NCTSSoS.jl to compute certified energy bounds.

What techniques help scale semidefinite programming for complex quantum systems?

To scale semidefinite programming for complex quantum systems, leverage correlative and term sparsity alongside Wedderburn block-diagonalization. These techniques reduce computational complexity in noncommutative optimization relaxations.

When can I recover optimal operators and states from noncommutative optimization?

You can recover optimal operators and states from noncommutative optimization through GNS reconstruction when the SDP relaxation is numerically exact. This enables precise state-polynomial recovery in quantum many-body analysis.