betaFeedback

WorksPhysics and Astronomy

Reconstruction and geometry of 4×44\times4 quantum Sudoku

Abstract

We study the reconstruction and geometry of 4×44 \times 4 quantum Sudoku, viewed as arrays of rank-one projections whose rows, columns and blocks decompose the identity. We give necessary and sufficient conditions for two prescribed opposite blocks to admit a completion, prove its uniqueness, and obtain explicit reconstruction formulas, also expressed in the language of quantum logic. The sixteen overlaps between these blocks determine the unitary equivalence class of the grid, while the number of nonzero overlaps equals its cardinality. Using a matrix representation, we parametrise the equivalence classes by five closed squares, with the sides of one square identified with the diagonals of the other four. The quotient by classical cell symmetries is a closed disc containing exactly two classical classes. Finally, measurement in the basis of the first block gives a fractional Sudoku that retains the full unitary class and is a convex combination of at most four classical grids. This measurement map embeds the five-square model into a seven-dimensional polytope whose vertices are the twelve classical Sudoku.

Introduction

A Latin square arranges nn symbols in an n×nn \times n grid so that each symbol occurs once in every row and column. Replacing the symbols by the canonical basis vectors e1,…,ene_1, \ldots, e_n of Cn\mathbb{C}^n expresses this rule as orthonormality: every row and every column is an orthonormal basis. A quantum Latin square retains this condition but allows the basis to vary from one row or column to another [10]. The entries are unit vectors, and vectors differing only by a phase represent the same state.

For example, let e1,…,e4e_1, \ldots, e_4 be the canonical basis of C4\mathbb{C}^4 and put

u+=e1+e22,u−=e1−e22.u_+ = \frac{e_1+e_2}{\sqrt{2}}, \qquad u_- = \frac{e_1-e_2}{\sqrt{2}}.

The grid

(e1e2e3e4e2e1e4e3e3e4u+u−e4e3u−u+)(1)\begin{pmatrix} e_1 & e_2 & e_3 & e_4 \\ e_2 & e_1 & e_4 & e_3 \\ e_3 & e_4 & u_+ & u_- \\ e_4 & e_3 & u_- & u_+ \tag*{(1)} \end{pmatrix}

is a quantum Latin square: each row and column contains either the canonical basis or the orthonormal basis e3,e4,u+,u−e_3,e_4,u_+,u_-. It is nonclassical even up to a common unitary change of basis. Indeed, ∣⟨e1,u+⟩∣2=1/2|\langle e_1,u_+\rangle|^2 = 1/2, whereas two states drawn from a single orthonormal basis have squared overlap either zero or one. This illustrates how orthogonality constraints can coexist with states that are neither identical nor orthogonal when taken from different rows and columns. Quantum Latin squares connect combinatorial designs with unitary error bases and mutually unbiased bases [9, 10, 11]. Entanglement also allows a quantum solution of Euler’s problem of thirty-six officers, which has no classical solution [14].

Quantum Sudoku, or SudoQ, adds the block constraint of the classical puzzle [12]. A grid has N2×N2N^2 \times N^2 cells, divided into N2N^2 blocks of N×NN \times N cells; the vectors in each block must also form an orthonormal basis of CN2\mathbb{C}^{N^2}. For convenience, we call such a SudoQ of size NN. In particular, the 4×44 \times4 SudoQ studied here have 2×22 \times2 blocks and are called SudoQ of size two throughout the paper. The quantum Latin square in (1) does not satisfy this additional condition: its upper-left 2×22 \times2 block repeats e1e_1 and e2e_2. With the same six states, however, the arrangement

[e1e2e4e3e3e4u−u+e4e3u+u−e2e1e3e4](2)\begin{bmatrix} e_1 & e_2 & e_4 & e_3 \\ e_3 & e_4 & u_- & u_+ \\ e_4 & e_3 & u_+ & u_- \\ e_2 & e_1 & e_3 & e_4 \tag*{(2)} \end{bmatrix}

satisfies all three requirements. Every row, column and block is an orthonormal basis, and the grid contains exactly six distinct states up to phases. Its cardinality is therefore six, rather than the four of a classical Sudoku of this size. More generally, replacing u+,u−u_+,u_- by the orthonormal pair

u+(θ)=cos⁡θ e1+sin⁡θ e2,u−(θ)=sin⁡θ e1−cos⁡θ e2u_+(\theta) = \cos\theta\,e_1 + \sin\theta\,e_2,\qquad u_-(\theta) = \sin\theta\,e_1 - \cos\theta\,e_2

preserves the Sudoku conditions. The cardinality is six for 0<θ<π/20 < \theta< \pi/2. Paczos et al. [13] parametrised all the 4×44 \times4 quantum Sudoku and established that their possible cardinalities are 4,6,8,164, 6, 8, 16. Constructions of mutually orthogonal quantum Sudoku squares in higher dimensions were subsequently given in [16]. In this article we study how the solutions are reconstructed from partial data and how their unitary equivalence classes fit together. Which data determine a grid? How is its cardinality encoded in those data? What is the geometry of the resulting space, including the classical grids and the transitions between different cardinalities?

To address these questions we use the projection formulation of SudoQ [12]: a unit vector uu in a cell is replaced by the rank-one projection uu∗uu^*. This removes its arbitrary phase without changing the orthogonality conditions or the cardinality. A collection of N2N^2 unit vectors forms an orthonormal basis of CN2\mathbb{C}^{N^2} precisely when the corresponding rank-one projections sum to the identity. Thus the Sudoku conditions say that each row, column and block is an orthogonal decomposition of the identity into rank-one projections.

Two grids of unit vectors are unitarily equivalent when the same unitary operator Γ\Gamma sends the state in every cell of one grid to the state in the corresponding cell of the other, up to an individual phase. In projection notation this means Pr,c′=ΓPr,cΓ∗P'_{r,c} = \Gamma P_{r,c}\Gamma^* for every cell (r,c)(r,c). It is a single change of orthonormal basis for the whole grid.

For SudoQ of size two, we show that the sixteen overlaps between two opposite blocks form a complete invariant of unitary equivalence. Taking the first and fourth blocks, these are

tr⁡(Pa,bP2+r,2+c),a,b,r,c∈{1,2}.\operatorname{tr}(P_{a,b}P_{2+r,2+c}),\qquad a,b,r,c \in\{1,2\}.

Thus two grids are unitarily equivalent precisely when their corresponding overlaps agree. The same data also determine the cardinality: it is exactly the number of nonzero overlaps.

We also address the reconstruction of a SudoQ from two prescribed opposite blocks. Suppose that the projections in the upper-left and lower-right blocks are prescribed, each block being an orthogonal decomposition of the identity. Can the eight remaining cells be filled so that every row, column and block also sums to the identity? The conditions within the two prescribed blocks alone do not guarantee a completion: the states in those blocks must also satisfy compatibility conditions imposed by the rows and columns. We give necessary and sufficient conditions for such a completion and prove that, whenever it exists, it is unique. Each missing state must satisfy the orthogonality constraints imposed by its prescribed row and column entries. Our criterion ensures that the corresponding allowed subspaces intersect in a one-dimensional space and that the resulting projections satisfy all the Sudoku conditions, yielding explicit reconstruction formulas. This also gives a formulation in terms of quantum logic: projections represent propositions, and the intersection expresses the logical conjunction of the row and column requirements.

To describe the equivalence classes explicitly, we pass from projections to matrices. To obtain a matrix representation of a SudoQ of size two, we choose a unit vector in the range of each projection and arrange the four vectors of each block as the columns of a matrix, following the cell order from left to right and from top to bottom. Since the projections in each block form an orthogonal decomposition of the identity, these columns form an orthonormal basis, so the resulting matrices are unitary. A common unitary change of basis makes the first block canonical, yielding the representation

(I4UVW)\begin{pmatrix} I_4 & U \\ V & W \end{pmatrix}

We prove that the unitary equivalence class is uniquely determined by the class of its fourth-block matrix WW under the following relation on U⁡(4)\operatorname{U}(4):

W∼W′⟺W′=DLWDRW \sim W' \quad\Longleftrightarrow\quad W' = D_L W D_R

for diagonal unitaries DLD_L, DRD_R.

The right factor changes the phases of the column vectors, while the left factor is a common unitary transformation that preserves the canonical projections in the first block. Two normalised SudoQ are unitarily equivalent precisely when their fourth-block matrices are equivalent under this relation. Not every class in U⁡(4)/∼\operatorname{U}(4)/\sim admits a Sudoku completion: the admissible classes are characterised by the vanishing of specified 2×22 \times2 minors of WW. They form a space W\mathcal{W} in bijection with the unitary equivalence classes of SudoQ of size two.

We give explicit coordinates on W\mathcal{W} by solving these matrix conditions modulo ∼\sim. Every class has a real representative in one of five families, described by two angles α,β∈[0,π/2]\alpha,\beta\in[0,\pi/2]. Within each family the angles are unique, so its parameter domain is a closed square. Different families can represent the same class at particular parameter values: each side of one square coincides with a diagonal of one of the other four. Identifying these coincident classes gives the five-square model of the space of unitary equivalence classes. The twelve distinct corners are the classical grids, while the interiors and edges describe the nonclassical ones. A further part of the classification concerns the symmetries inherited from classical Sudoku [1]: exchanging rows within a band of blocks, exchanging columns within a stack of blocks, permuting entire bands or stacks, and transposing the grid. These operations preserve the row, column and block constraints and act on the space W\mathcal{W} of unitary equivalence classes. Symbol relabellings of classical grids are already included in unitary equivalence. We determine the quotient by these positional symmetries and show that the five-square model becomes a closed disc. Its two classical points correspond to the two essentially distinct classical Sudoku of size two [1].

We finally investigate the information about a SudoQ that can be recovered from measurement probabilities. Measuring each state in a chosen orthonormal basis produces a probability distribution in every cell. The Sudoku conditions imply that each outcome has total probability one in every row, column and block. The resulting array is a fractional Sudoku, a probabilistic relaxation of the classical puzzle [3, 4, 6]. We study this measurement map when the measurement basis is given by the first block of the grid. We prove that these outcome probabilities determine the unitary equivalence class of the original grid, and that the array is a convex combination of at most four classical Sudoku. Thus a single choice of measurement basis retains all the information needed for the classification. We also describe the ambient convex set: fractional Sudoku with a fixed canonical first block form a seven-dimensional polytope whose vertices are the twelve classical grids. The measurement map embeds the five-square model in this polytope, making explicit which probability arrays arise from SudoQ and how they sit among the more general fractional solutions.

Outline of the paper

Outline of the paper. The paper is organised as follows. § 2 sets out the projection and probability formulations. § 3 addresses existence and uniqueness of completion from opposite blocks, including the quantum-logical formulation. § 4 establishes how the overlaps encode both cardinality and unitary equivalence, and gives examples illustrating all possible cardinalities. Section 5 passes to normalised block matrices and angular coordinates, constructing the five-square model. Section 6 computes the action of classical cell symmetries on these coordinates and derives the disc quotient. Section 7 develops the measurement representation and places its image inside the polytope of fractional Sudoku. The proofs are collected in Section 8. Section 9 contains the conclusions and open problems. Appendix A gives a worked example: one SudoQ as a grid of vectors, as the matrices I4I_4, UU, VV, WW, and as a visual encoding.

Quantum Sudoku

Notation. InI_n is the identity matrix of order nn, U(n)U(n) the unitary group, [X,Y]=XY−YX[X,Y]=XY-YX the commutator, MTM^{\mathsf{T}} the transpose of MM and #S\#S the number of elements of a finite set SS. For an orthogonal projection QQ we write Q⊥=In−QQ^\perp=I_n-Q and Ran⁡Q\operatorname{Ran} Q for its range. All projections are orthogonal; a rank-one projection is uu∗uu^* (∣u⟩⟨u∣|u\rangle\langle u| in Dirac notation) with ∥u∥=1\lVert u\rVert=1, and uu is unique up to a phase.

Fix N≥1N\ge1. Rows and columns are indexed by 1,…,N21,\ldots,N^2, and the N2N^2 blocks are the sets of N2N^2 cells

{(N(i−1)+k,N(j−1)+l):1≤k,l≤N},\{(N(i-1)+k,N(j-1)+l):1\le k,l\le N\},

indexed by (i,j)(i,j) with 1≤i,j≤N1\le i,j\le N.

Definition 2.1. A SudoQ of size NN is an array P=(Pr,c)r,c=1N2\mathbf{P}=(P_{r,c})_{r,c=1}^{N^2} of rank-one projections on CN2\mathbb{C}^{N^2} such that the projections in every row rr, column cc and block (i,j)(i,j) sum to the identity:

∑c=1N2Pr,c=IN2,∑r=1N2Pr,c=IN2,∑k,l=1NPN(i−1)+k,N(j−1)+l=IN2.\sum_{c=1}^{N^2}P_{r,c}=I_{N^2},\qquad \sum_{r=1}^{N^2}P_{r,c}=I_{N^2},\qquad \sum_{k,l=1}^{N}P_{N(i-1)+k,N(j-1)+l}=I_{N^2}.

Its cardinality is c(P)=#{Pr,c:1≤r,c≤N2}c(\mathbf{P})=\#\{P_{r,c}:1\le r,c\le N^2\}.

Equivalently, the projections are pairwise orthogonal within every row, column and block.

References

  1. [1]E. Arnold, R. Field, S. Lucas, and L. Taalman, Minimal complete Shidoku symmetry groups, J. Combin. Math. Combin. Comput. 87, 209–228 (2013).arxiv.org/abs/1302.5949
  2. [2]R. Bistron and J. Czartowski, Local thermal operations and classical communication, Phys. Rev. E 113, 034114 (2026).DOI
  3. [3]J. K. Dugdale, A. J. W. Hilton, and J. Wojciechowski, Fractional Latin squares, simplex algebras, and generalized quotients, J. Statist. Plann. Inference 86, 457–504 (2000).DOI
  4. [4]P. J. Dukes and K. I. Nimegeers, The linear system for Sudoku and a fractional completion threshold, Algebr. Comb. 7, 1283–1305 (2024).arxiv.org/abs/2310.15279
  5. [5]B. Felgenhauer and A. F. Jarvis, Mathematics of Sudoku I, Math. Spectrum 39, 15–22 (2006).
  6. [6]M. Hontarenko and K. Życzkowski, Fractional and quantum Latin squares: real solutions of quantum officers problem, arXiv:2610.17170 (2026).
  7. [7]G. McGuire, B. Tugemann, and G. Civario, There is no 16-clue Sudoku: solving the Sudoku minimum number of clues problem via hitting set enumeration, Exp. Math. 23, 190–217 (2014).DOI
  8. [8]J. R. Munkres, Topology, 2nd ed., Prentice Hall, 2000.
  9. [9]B. Musto, Constructing mutually unbiased bases from quantum Latin squares, Electron. Proc. Theor. Comput. Sci. 236, 108–126 (2017).DOI
  10. [10]B. Musto and J. Vicary, Quantum Latin squares and unitary error bases, Quantum Inf. Comput. 16, 1318–1332 (2016).
  11. [11]B. Musto and J. Vicary, Orthogonality for quantum Latin isometry squares, Electron. Proc. Theor. Comput. Sci. 287, 253–266 (2019).DOI
  12. [12]I. Nechita and J. Pillet, SudoQ—a quantum variant of the popular game, Quantum Inf. Comput. 21, 781–799 (2021).arxiv.org/abs/2005.10862
  13. [13]J. Paczos, M. Wierzbński, G. Rajchel-Mieldzioć, A. Burchardt, and K. Życzkowski, Genuinely quantum solutions of the game Sudoku and their cardinality, Phys. Rev. A 104, 042423 (2021).DOI
  14. [14]S. A. Rather, A. Burchardt, W. Bruzda, G. Rajchel-Mieldzioć, A. Lakshminarayan, and K. Życzkowski, Thirty-six entangled officers of Euler: quantum solution to a classically impossible problem, Phys. Rev. Lett. 128, 080507 (2022).DOI
  15. [15]E. Russell and A. F. Jarvis, Mathematics of Sudoku II, Math. Spectrum 39, 54–58 (2006).
  16. [16]Y. Zang, H. Zhang, Z. Tian, and S.-M. Fei, Genuinely quantum solutions of orthogonal Sudoku squares, Adv. Quantum Technol. 9, e70293 (2026).DOI
  17. [17]G. Birkhoff and J. von Neumann, The Logic of Quantum Mechanics, Annals of Mathematics 37, 823–843 (1936).

Paper details

vlnc:W_zves2e6p
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

AI assistance

View statement
Looking for related papers…
Contents