Print ISSN:1674-1056  |  Online ISSN:2058-3834  |  CN:11-5639/O4
  • Cite this article:

    Xuanzhao Gao, Xiaofeng Li, Jinguo Liu. Programming guide for solving constraint satisfaction problems with tensor networksJ. Chin. Phys. B, 2025, 34(5): 050201.
    Xuanzhao Gao, Xiaofeng Li, Jinguo Liu. Programming guide for solving constraint satisfaction problems with tensor networksJ. Chin. Phys. B, 2025, 34(5): 050201.
  • Programming guide for solving constraint satisfaction problems with tensor networks

    • Constraint satisfaction problems (CSPs) are a class of problems that are ubiquitous in science and engineering. They feature a collection of constraints specified over subsets of variables. A CSP can be solved either directly or by reducing it to other problems. This paper introduces the Julia ecosystem for solving and analyzing CSPs with a focus on the programming practices. We introduce some important CSPs and show how these problems are reduced to each other. We also show how to transform CSPs into tensor networks, how to optimize the tensor network contraction orders, and how to extract the solution space properties by contracting the tensor networks with generic element types. Examples are given, which include computing the entropy constant, analyzing the overlap gap property, and the reduction between CSPs.
    • Article Text

    • loading

    Catalog

      /

      DownLoad:  Full-Size Img  PowerPoint
      Return
      Return