nLab quantum set

Contents

Context

Linear algebra

Bundles

bundles

Quantum systems

quantum logic


quantum physics


quantum probability theoryobservables and states


quantum information


quantum technology


quantum computing

Contents

Idea

Quantum sets are a generalization of sets to the context of noncommutative geometry. They have many equivalent definitions.

These definitions do not define equal classes of objects, but they can be extended to define equivalent categories in two natural ways. Using the second definition of quantum sets, we can take the morphisms to be quantum relations or, inequivalently, to be unital normal **-homomorphisms. In the former case, we obtain the category qRelqRel, and in the latter case, we obtain the opposite of the category qSetqSet. Note that qRelqRel is equivalent to its own opposite. Quantum sets can be further generalized to “nontracial” quantum sets. This article will use the third definition of quantum sets because this definition avoids operator topologies, making it more accessible to a wider audience.

Basic definitions

Definition

A quantum set XX is a family of nonzero finite-dimensional Hilbert spaces over \mathbb{C} that is indexed by a set At(X)\mathrm{At}(X), which may be empty, finite, or infinite.

X={X α} αAt(X). X = \{X_\alpha\}_{\alpha \in \mathrm{At}(X)} \,.

Very little changes if we allow zero-dimensional Hilbert spaces in this definition; doing so is mathematically more natural but less intuitive. The elements of At(X)\mathrm{At}(X) are called the atoms of XX.

Quantum sets are viewed as a generalization of sets by identifying each set AA with the quantum set Inc(A)\mathrm{Inc}(A).

Definition

For each set A, we define the quantum set Inc(A)\mathrm{Inc}(A) by At(Inc(A))=A\mathrm{At}(\mathrm{Inc}(A)) = A and Inc(A) α=\mathrm{Inc}(A)_\alpha = \mathbb{C} for all αA\alpha \in A.

The following basic operations generalize the familiar basic operations on sets.

Definition

Consider quantum sets XX and YY according to Def. . Then:

  • The disjoint union X+YX + Y is defined by At(X+Y)At(X)+At(Y)\mathrm{At}(X + Y) \coloneqq \mathrm{At}(X) + \mathrm{At}(Y) and

    (X+Y) α{X α if αAt(X), Y α if αAt(Y). (X + Y)_\alpha \coloneqq \begin{cases} X_\alpha & \text{if }\;\alpha \in \mathrm{At}(X), \\ Y_\alpha & \text{if }\;\alpha \in \mathrm{At}(Y). \end{cases}
  • The Cartesian product X×YX \times Y is defined by At(X×Y)At(X)×At(Y)\mathrm{At}(X \times Y) \coloneqq \mathrm{At}(X) \times \mathrm{At}(Y) and

    (X×Y) (α,β)X αY β. (X \times Y)_{(\alpha, \beta)} \coloneqq X_\alpha \otimes Y_\beta.

We have that Inc(A+B)=Inc(A)+Inc(B)\mathrm{Inc}(A + B) = \mathrm{Inc}(A) + \mathrm{Inc}(B) and that Inc(A×B)=Inc(A)×Inc(B)\mathrm{Inc}(A \times B) = \mathrm{Inc}(A) \times \mathrm{Inc}(B).

The Cartesian product of quantum sets is so named because it generalizes the Cartesian product of sets. The former is not the categorical product in qRelqRel, just as the latter is not the categorical product in Rel Rel . It is also not the categorical product in qSetqSet.

In both qRelqRel and qSetqSet, X+YX + Y is the coproduct of XX and YY, and X×YX \times Y is their monoidal product. In qRelqRel, X+YX+Y is also the product of XX and YY. In qSetqSet, the product of XX and YY is not easily definable and may be notated X*YX \ast Y.

The category qRelqRel

The material in this section is mostly from Kornell 2020. The morphisms were first defined in Kuperberg & Weaver 2012 and investigated in Weaver 2012; see the article on quantum relations.

Definition

We define the dagger-compact category qRelqRel.

  1. An object XX is a quantum set (see Def. ).

  2. A morphism R:XYR \colon X \to Y is a choice of subspaces

    R α,βL(X α,Y β), R_{\alpha,\beta} \subseteq L(X_\alpha, Y_\beta),

    where L(,𝒦)L(\mathcal{H},\mathcal{K}) is the space of all linear maps from \mathcal{H} to 𝒦\mathcal{K}.

  3. The composition SR:XZS \circ R \colon X \to Z of morphisms R:XYR \colon X \to Y and S:YZS \colon Y \to Z is given by

    (SR) α,γspan{srrR α,β,sS β,γfor someβAt(Y)}. (S \circ R)_{\alpha,\gamma} \coloneqq \mathrm{span} \{s r \mid r \in R_{\alpha, \beta},\; s \in S_{\beta, \gamma}\;\text{for some}\; \beta \in \At(Y)\}.
  4. The identity morphism id X:XX\mathrm{id}_X\colon X \to X is defined by

    (id X) α,β{span{1} ifα=β, {0} ifαβ. (\mathrm{id}_{X})_{\alpha, \beta} \coloneqq \begin{cases} \mathrm{span}\{1\} & \text{if}\;\alpha = \beta,\\ \{0\} & \text{if}\; \alpha \neq \beta.\end{cases}
  5. The dagger of a morphism R:XYR\colon X \to Y is defined by

    (R ) β,α{r rR α,β}, (R^\dagger)_{\beta, \alpha} \coloneqq \{r^\dagger \mid r \in R_{\alpha, \beta}\},

    where r r^\dagger is the Hermitian adjoint.

  6. The monoidal product of objects XX and XX' is the Cartesian product X×XX \times X' (see Def. ).

  7. The monoidal product of morphisms R:XYR\colon X \to Y and R:XYR'\colon X' \to Y' is defined by

    (R×R) (α,α),(β,β)span{rrrR α,β,rR α,β}. (R \times R')_{(\alpha, \alpha'),(\beta, \beta')} \coloneqq \mathrm{span}\{r \otimes r' \mid r \in R_{\alpha, \beta},\; r' \in R'_{\alpha', \beta'}\}.
  8. The monoidal unit 11 is defined by At(1){}\mathrm{At}(1) \coloneqq \{\bullet\} and 1 1_\bullet \coloneqq \mathbb{C}.

  9. The braiding σ X,Y:X×YY×X\sigma_{X,Y}\colon X \times Y \to Y \times X is defined by

    (σ X,Y) (α,β),(β,α){span{σ X α,Y β} if(α,β)=(α,β), {0} if(α,β)(α,β), (\sigma_{X,Y})_{(\alpha,\beta),(\beta', \alpha')} \coloneqq \begin{cases} \mathrm{span}\{\sigma_{X_\alpha, Y_\beta}\} & \text{if}\; (\alpha, \beta) = (\alpha', \beta'),\\ \{0\} & \text{if}\;(\alpha, \beta) \neq (\alpha', \beta'), \end{cases}

    where σ X α,Y β\sigma_{X_\alpha, Y_\beta} denotes the braiding in Hilb Hilb . The associator and unitors are defined similarly.

  10. The dual of an object XX is the dual quantum set X *X^*, which is defined by At(X *)At(X)\mathrm{At}(X^*) \coloneqq \mathrm{At}(X) and

    (X *) αX α *, (X^*)_\alpha \coloneqq X_\alpha^*,

    where *\mathcal{H}^* is the dual Hilbert space.

Furthermore, qRelqRel has all coproducts. It is a semiadditive dagger category with infinitary dagger biproducts and an infinitary distributive monoidal category with a unitary distributor. The dagger biproduct of XX and YY is their disjoint union X+YX + Y (see Def. ). The zero object 00 is defined by At(0)=\mathrm{At}(0) = \emptyset.

Proposition

The dagger-compact category qRelqRel is enriched over suplattices with

RSR α,βS α,β R \leq S \qquad \Longleftrightarrow \qquad R_{\alpha, \beta} \subseteq S_{\alpha, \beta}

for all αAt(X)\alpha \in \mathrm{At}(X) and βAt(Y)\beta \in \mathrm{At}(Y), where R,S:XYR, S \colon X \to Y. In other words, qRelqRel is a quantaloid.

The dagger-compact category Rel Rel is enriched over suplattices too. It is an allegory, while qRelqRel fails to be an allegory only because the relevant modular law fails. Nevertheless, qRel(X,Y)qRel(X,Y) is always a modular lattice.

In effect, RelRel is an enriched dagger-compact subcategory of qRelqRel.

Definition

We define the “inclusion” functor Inc:RelqRel\mathrm{Inc}\colon Rel \to qRel:

  • For each set AA, we define Inc(A)\mathrm{Inc}(A) as in Def. .

  • For each relation R:ABR\colon A \to B, we define

    Inc(R)={ if(α,β)R, 0 if(α,β)R, \mathrm{Inc}(R) = \begin{cases} \mathbb{C} & \text{if}\;(\alpha, \beta) \in R, \\ 0 & \text{if}\;(\alpha, \beta) \notin R, \end{cases}

    where we identify L(,)L(\mathbb{C}, \mathbb{C}) with \mathbb{C} in the obvious way.

Proposition

The “inclusion” functor Inc:RelqRel\mathrm{Inc}\colon Rel \to qRel is an enriched strong monoidal dagger functor that satisfies Inc(A *)Inc(A) *\mathrm{Inc}(A^*) \cong \mathrm{Inc}(A)^* and that is full and faithful.

The category qSetqSet

The material in this section is mostly from Kornell 2020, Kornell, Lindenhovius & Mislove 2022, and Jenča & Lindenhovius 2025.

Definition

We define the symmetric monoidal category qSetqSet to be the wide subcategory of qRelqRel whose morphisms are maps. A map is a morphism f:XYf\colon X \to Y such that f fid Xf^\dagger \circ f \geq \mathrm{id}_X and ff id Yf \circ f^\dagger \leq \mathrm{id}_Y.

In the terminology of allegories, qSetMap(qRel)\qSet \coloneqq Map(qRel). The maps in qRelqRel, i.e., the morphisms in qSetqSet, are sometimes called functions.

Theorem

The symmetric monoidal category qSetqSet is complete, cocomplete, and closed. In other words, it is a Bénabou cosmos.

The closure of qSetqSet can be deduced from general principles (see Theorem 6.16 of Jenča & Lindenhovius 2025).

Proposition

The “inclusion” functor Inc:RelqRel\mathrm{Inc}\colon Rel \to qRel restricts to a functor Inc:SetqSet\mathrm{Inc}\colon Set \to qSet, which has a right adjoint Elm:qSetSet\mathrm{Elm}\colon qSet \to Set.

Definition

We define the “elements” functor Elm:qSetSet\mathrm{Elm}\colon qSet \to Set:

  • For each quantum set XX, we define Elm(X)={αAt(X)dim(X α)=1}\mathrm{Elm}(X) = \{\alpha \in \mathrm{At}(X) \mid \mathrm{dim} (X_\alpha) = 1\}.

  • For each morphism f:XYf \colon X \to Y, we define Elm(f)={(α,β)Elm(X)×Elm(Y)dim(f α,β)=1}\mathrm{Elm}(f) = \{(\alpha, \beta) \in \mathrm{Elm}(X) \times \mathrm{Elm}(Y) \mid \mathrm{dim} (f_{\alpha, \beta}) = 1\}.

We have that Elm(X+Y)=Elm(X)+Elm(Y)\mathrm{Elm}(X + Y) = \mathrm{Elm}(X) + \mathrm{Elm}(Y), that Elm(X×Y)=Elm(X)×Elm(Y)\mathrm{Elm}(X \times Y) = \mathrm{Elm}(X) \times \mathrm{Elm}(Y), and that Elm(Inc(A))=A\mathrm{Elm}(\mathrm{Inc}(A)) = A. We also have a natural isomorphism Elm(X)qSet(1,X)\mathrm{Elm}(X) \cong qSet(1,X). The monoidal unit 11 is terminal in qSetqSet, so Elm(X)\mathrm{Elm}(X) is essentially the set of global elements of XX.

Quantum sets as bundles

In mild paraphrase (following the discussion at dependent linear type and quantum circuits via dependent linear types):

With composition the evident matrix multiplication (Kornell 2020 (5)), quantum relations between quantum sets form a category qRelqRel, which is a dagger-compact category.

As such, this serves as categorical semantics for quantum programming languages like Quipper equipped with term recursion, via quantum CPOs (Kornell, Lindenhovius & Mislove 2021).

References

Last revised on July 12, 2025 at 05:51:51. See the history of this page for a list of all contributions to it.