QPC Quantum Contextuality — Conceptual framing

Quantum contextuality task:
Mermin–Peres magic-square from theory to praxis

This page states what the task is, why we use the Mermin–Peres state-dependent test rather than a full Kochen–Specker (state-independent) proof, and how QPC demonstrates capability in quantum contextuality research—from formal definition to hardware execution on IBM Fez.

Formal intent (one sentence each)

Quantum contextuality task: Implement a contextuality test—measure observables in commuting sets (contexts), compute product-of-expectation values per context, and verify that the sign structure (row products ≈ +1, column products ≈ −1) cannot be reproduced by any noncontextual hidden-variable model.

What we ran: The Mermin–Peres magic-square state-dependent test on IBM Fez: Bell-state preparation, one circuit per 2-qubit Pauli observable (18 circuits), measurement in the eigenbasis of each observable, product-of-expectation values per commuting context. Raw: col3 ≈ −0.72 (ideal −1). With QPC reducer (readout mitigation + constraint projection): row product = +1, col product = −1—ideal sign structure recovered on real hardware.

Why the Mermin–Peres magic square—task and importance

The Mermin–Peres construction is the simplest experimentally tractable contextuality demonstration for superconducting qubits.

Task definition

Nine 2-qubit Pauli observables (XI, IX, XX, IY, YI, YY, XY, YX, ZZ) are arranged in a 3×3 grid. Rows and columns form commuting sets (contexts). The product of operators in each row equals +I; in each column, −I. For the Bell state, the product of expectation values in each context reproduces this sign structure: rows → +1, columns → −1. No noncontextual model can assign definite values to all nine observables and satisfy both.

Importance

Contextuality is central to polycontextural logic: measurement outcomes cannot be predetermined independent of which other compatible observables are measured. Demonstrating it on real hardware validates that (1) the quantum signal survives NISQ noise, and (2) QPC-style experiments—run on the same backend as structure-recovery and holographic demos—span from theory (formal contextuality) to praxis (execution and interpretation).

Why Mermin–Peres and not a full Kochen–Specker (state-independent) proof

The original Kochen–Specker theorem is state-independent; the Mermin–Peres square is state-dependent. Both establish contextuality; they differ in scope and experimental feasibility.

Full Kochen–Specker (state-independent)

  • Proves no noncontextual assignment exists for any quantum state
  • Requires dimension ≥ 3; standard proofs use tens of rays (e.g. Peres 33, Conway–Kochen 31)
  • Observables are projectors onto specific directions—not simple Pauli products
  • Implementation: many measurement bases, complex rotations, more circuits
  • Feasible on photons, trapped ions, NMR—harder on superconducting qubits with Qiskit-style gates

Mermin–Peres (state-dependent)

  • Demonstrates contextuality for a specific state (Bell state)
  • Exactly 2 qubits, 9 observables, 6 contexts
  • All observables are Pauli products—measurement = H, S†H, or identity per qubit
  • 18 circuits (one per observable), 4096 shots each—tractable on NISQ hardware
  • Standard for superconducting-qubit contextuality demos

Rationale. We chose Mermin–Peres because it is the minimal, well-established contextuality test that (a) runs cleanly on IBM Fez with Qiskit, (b) uses the correct protocol (one circuit per observable, product of expectations), and (c) produces a clear, interpretable signal. A full state-independent KS proof would require more qubits, non-Pauli bases, and many more circuits—possible in principle, but not necessary to demonstrate QPC’s ability to execute contextuality research from theory to praxis.

QPC in quantum contextuality research—theory to praxis

How QPC demonstrates capability in the quantum contextures / contextuality field.

StageWhat QPC does
TheoryPolycontextural logic treats contextuality as fundamental—measurement outcomes depend on the set of compatible observables (context). The Mermin–Peres square formalizes this in a minimal 2-qubit setting.
Task definitionPrepare Bell state; measure each of 9 observables in its eigenbasis; compute product-of-expectation values per context; verify sign structure (rows +1, columns −1).
ProtocolOne circuit per observable (18 total), correct basis rotation (H for X, S†H for Y, none for Z), parity-based expectation from measurement outcomes.
ExecutionRun on IBM Fez via Qiskit Runtime; 4096 shots per circuit; transpile and submit as batch job.
InterpretationRaw: col3 −0.72. With QPC reducer: row +1, col −1—ideal sign structure. Contextuality sign preserved; reducer recovers structure from noisy hardware. Noise Reducer.

Evaluation. QPC shows that it can (1) adopt a standard contextuality test from the literature, (2) implement it correctly on real hardware, and (3) interpret results in line with the quantum contextures research field. This complements holographic memory, structure recovery, and other QPC demos—all on the same IBM backend—demonstrating breadth from foundational contextuality to application-oriented tasks.

NISQ limit — same as all QPC hardware demos

The contextuality task shares the same noise ceiling as holographic, SWR, and other tests.

Universal restriction. Gate errors, decoherence, and readout noise cap everyone's circuits on current machines—not only QPC. Raw col3 product −0.72 (vs ideal −1) reflects NISQ noise. The QPC reducer (readout mitigation + constraint projection) recovers ideal row/col products. The task definition remains: demonstrate contextuality by the sign structure; implementation benefits from QPC-level noise reduction.

Evidence tiers (optional roadmap)

Clear success criteria for contextuality demos.

Our Fez run: raw at Tier B (sign confirmed, magnitude −0.72); with QPC reducer, ideal row +1 / col −1 achieved (Tier C-level outcome on sign structure).

Links

→ KS Fez results (numbers, protocol, script)

→ QPC Noise Reducer

→ Holographic quantum-native task framing  (parallel conceptual page for holographic line)

→ QPC Holographic Memory Report

→ SWR executive results