Documentation

LCS.Games.MagicSquare.Strategy

Mermin-Peres Magic Square Game Strategy #

This module defines the layout for the Mermin-Peres magic square Linear Constraint System (LCS) game and provides a valid quantum strategy for it using observables.

It verifies the commutativity requirements (both local within equations and global bipartite commutativity) necessary to define a valid ObservableStrategyData.

Types #

@[reducible, inline]
abbrev mat4 :

The 4×4 matrix type used for two-qubit observables in the magic square construction.

Equations
Instances For
    @[reducible, inline]
    abbrev mat16 :

    The 16×16 matrix type used for the bipartite lift of the two-qubit strategy.

    Equations
    Instances For

      Layout #

      This section defines the layout/geometry of the Mermin-Peres magic square game.

      The layout of the Mermin-Peres magic square game. It consists of 6 equations (3 rows and 3 columns) over 9 variables (the cells of the 3x3 grid).

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        The support-style magic square game, with the final column equation having odd parity.

        Equations
        Instances For

          Grid #

          This section defines a strategy for the game from the previous section, given as a grid of observables.

          The 9 observables for the Mermin-Peres magic square, defined as Kronecker products of Pauli matrices (X, Y, Z) and the identity (I2).

          Equations
          Instances For

            Each observable in the Mermin-Peres grid is a self-adjoint involution.

            Commutativity #

            This section proves the commutativity properties of the magic square grid.

            These properties are required for the strategy to be valid.

            A tactic for proving pairwise commutativity within one row or column of the square.

            Equations
            Instances For

              For every equation of the layout, the associated grid observables commute pairwise.

              Strategy #

              This section shows that the grid strategy is a valid strategy for the magic square game.

              The Mermin-Peres strategy for the magic square game. This strategy uses BipartiteObservableStrategy to lift the 9 MP_observables to a valid ObservableStrategyData on a 16x16 bipartite space. It relies on MP_sameEquation_comm to satisfy the commutativity constraints for each equation.

              Equations
              Instances For