Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

European Journal of Physics

A demonstration of contextuality using quantum computers

Amine Laghaout, Altay Dikme, Nicolas Reichel, Gunnar G. Bjork

Published Jun 17, 2022• 5 citations
Publisher

Abstract

Abstract Open-access, online quantum computers have shown significant improvements in the past decade. Although they still suffer from noise and scalability limitations, they do offer the possibility of experimenting with quantum circuits which would otherwise have required laboratory resources and prowesses beyond the reach of most students (and even researchers). In view of this, we revisit from the ground up the notion of contextuality and show that it can now be easily demonstrated on one of the IBM quantum computers. We showcase this with an implementation of the Peres–Mermin square which, despite the high error rates, manages to violate noncontextuality by almost 28 standard deviations.

DOI
10.1088/1361-6404/ac79e0

Related papers

Measuring the Mermin-Peres magic square using an online quantum computer

Altay Dikme, N. Reichel, Amine Laghaout +1 more

We have implemented the six series of three commuting measurement of the Mermin-Peres magic square on an online, five qubit, quantum computer. The magic square tests if the measurements of the system can be described by physical realism (in the EPR sense) and simultaneously are non-contextual. We find that our measurement results violate any realistic and non-contextual model by almost 28 standard deviations. We also find that although the quantum computer we used for the measurements leaves much to be desired in producing accurate and reproducible results, the simplicity, the ease of re-running the measurement programs, and the user friendliness compensates for this fact.

arXiv:2009.10751•Sep 22, 2020•7 citations

A contextual extension of Spekkens' toy model

Jan-Åke Larsson

Quantum systems show contextuality.More precisely, it is impossible to reproduce the quantum-mechanical predictions using a non-contextual realist model, i.e., a model where the outcome of one measurement is independent of the choice of compatible measurements performed in the measurement context.There has been several attempts to quantify the amount of contextuality for specific quantum systems, for example, in the number of rays needed in a KS proof, or the number of terms in certain inequalities, or in the violation, noise sensitivity, and other measures.This paper is about another approach: to use a simple contextual model that reproduces the quantum-mechanical contextual behaviour, but not necessarily all quantum predictions.The amount of contextuality can then be quantified in terms of additional resources needed as compared with a similar model without contextuality.In this case the contextual model needs to keep track of the context used, so the appropriate measure would be memory.Another way to view this is as a memory requirement to be able to reproduce quantum contextuality in a realist model.The model we will use can be viewed as an extension of Spekkens' toy model [Phys.Rev. A 75, 032110 (2007)], and the relation is studied in some detail.To reproduce the quantum predictions for the Peres-Mermin square, the memory requirement is more than one bit in addition to the memory used for the individual outcomes in the corresponding noncontextual model.

arXiv:1111.3561•AIP conference proceedings•Jan 1, 2012•18 citations

Contextually in a Peres—Mermin square using arbitrary operators

Adrien Laversanne-Finot, Andreas Ketterer, Mariana R. Barros +4 more

The contextuality of quantum mechanics can be shown by the violation of inequalities based on measurements of well chosen observables. These inequalities have been designed separately for both discrete and continuous variables. Here we unify both strategies by introducing general conditions to demonstrate the contextuality of quantum mechanics from measurements of observables of arbitrary dimensions. Among the consequences of our results is the impossibility of having a maximal violation of contextuality in the Peres-Mermin scenario with discrete observables of odd dimensions. In addition, we show how to construct a large class of observables with a continuous spectrum enabling the realization of contextuality tests both in the Gaussian and non-Gaussian regimes.

Journal of Physics Conference Series•Mar 1, 2016•1 citation

From the problem of Future Contingents to Peres-Mermin square experiments: An introductory review to Contextuality

G Masse

A review is made of the field of contextuality in quantum mechanics. We study the historical emergence of the concept from philosophical and logical issues. We present and compare the main theoretical frameworks that have been derived. Finally, we focus on the complex task of establishing experimental tests of contextuality. Throughout this work, we try to show that the conceptualisation of contextuality has progressed through different complementary perspectives, before summoning them together to analyse the signification of contextuality experiments. Doing so, we argue that contextuality emerged as a discrete logical problem and developed into a quantifiable quantum resource.

arXiv:2105.13821•May 28, 2021•5 citations

A method to improve quantum state fidelity in circuits executed on IBM’s quantum computers

Mitali Sisodia, Abhishek Shukla, Alexandre A. A. de Almeida +2 more

Recently, various quantum computing and communication tasks have been implemented using IBM’s superconductivity-based quantum computers. Here, we show that the circuits used in most of those works were not optimized and obtain the corresponding optimized circuits. Optimized circuits implementable in IBM quantum computers are also obtained for a set of reversible benchmark circuits. With a clear example, it is shown that the reduction in circuit cost enhances the fidelity of the output state (with respect to the theoretically expected state in the absence of noise) as fewer gates and less circuit depth introduce fewer errors during evolution of the state. Further, considering Mermin inequality as an example, it is shown that the violation of the classical limit is enhanced when we use optimized circuits. Thus, the present approach can be used to identify a relatively weaker signature of quantumness and to establish quantum supremacy in a stronger manner.

arXiv:1812.11602•Canadian Journal of Physics•Jun 24, 2021•15 citations

Experimental test of the free will theorem

Bi‐Heng Liu, Xiao‐Min Hu, Jiangshan Chen +5 more

The free will theorem states that if experimenters have free will in the sense that their choices are not a function of the past, so must some elementary particles. The theorem goes beyond Bell's theorem as it connects the two fundamental resources behind quantum technologies: single-particle contextuality, which supplies the power for quantum computation, and two-particle non-locality, which allows for quantum secure communication. The theorem relies on three axioms: (i) There is a maximum speed for propagation of information, (ii) single particles can exhibit contextuality, (iii) two separated particles can exhibit Einstein-Podolsky-Rosen (EPR) correlations. Here we report the first experimental test of the free will theorem. We used pairs of hyper-entangled photons entangled in path and polarization and enforced the conditions for invoking axiom (i) by measuring each photon in a different laboratory. We certified axiom (ii) by testing the violation of the Peres-Mermin non-contextuality inequality and axiom (iii) by showing EPR correlations between the two laboratories. The three axioms imply an upper bound on the sum of the correlations among the outcomes of sequential measurements in the same laboratory and the correlations between the outcomes in both laboratories. We observed a violation of this bound by more than 66 standard deviations. This reveals that quantum non-locality can be produced when single-particle contextuality is combined with correlations which are not non-local by themselves. Our results demonstrate the resources needed for quantum computation and quantum secure communication simultaneously in the same experiment and open the door to quantum machines that efficiently achieve both tasks.

•Mar 27, 2016•0 citations
Abstract Open-access, online quantum computers have shown significant improvements in the past decade. Although they still suffer from noise and scalability limitations, they do offer the possibility of experimenting with quantum circuits which would otherwise have required laboratory resources and prowesses beyond the reach of most students (and even researchers). In view of this, we revisit from the ground up the notion of contextuality and show that it can now be easily demonstrated on one of the IBM quantum computers. We showcase this with an implementation of the Peres–Mermin square which, despite the high error rates, manages to violate noncontextuality by almost 28 standard deviations.
We have implemented the six series of three commuting measurement of the Mermin-Peres magic square on an online, five qubit, quantum computer. The magic square tests if the measurements of the system can be described by physical realism (in the EPR sense) and simultaneously are non-contextual. We find that our measurement results violate any realistic and non-contextual model by almost 28 standard deviations. We also find that although the quantum computer we used for the measurements leaves much to be desired in producing accurate and reproducible results, the simplicity, the ease of re-running the measurement programs, and the user friendliness compensates for this fact.
Quantum systems show contextuality.More precisely, it is impossible to reproduce the quantum-mechanical predictions using a non-contextual realist model, i.e., a model where the outcome of one measurement is independent of the choice of compatible measurements performed in the measurement context.There has been several attempts to quantify the amount of contextuality for specific quantum systems, for example, in the number of rays needed in a KS proof, or the number of terms in certain inequalities, or in the violation, noise sensitivity, and other measures.This paper is about another approach: to use a simple contextual model that reproduces the quantum-mechanical contextual behaviour, but not necessarily all quantum predictions.The amount of contextuality can then be quantified in terms of additional resources needed as compared with a similar model without contextuality.In this case the contextual model needs to keep track of the context used, so the appropriate measure would be memory.Another way to view this is as a memory requirement to be able to reproduce quantum contextuality in a realist model.The model we will use can be viewed as an extension of Spekkens' toy model [Phys.Rev. A 75, 032110 (2007)], and the relation is studied in some detail.To reproduce the quantum predictions for the Peres-Mermin square, the memory requirement is more than one bit in addition to the memory used for the individual outcomes in the corresponding noncontextual model.
The contextuality of quantum mechanics can be shown by the violation of inequalities based on measurements of well chosen observables. These inequalities have been designed separately for both discrete and continuous variables. Here we unify both strategies by introducing general conditions to demonstrate the contextuality of quantum mechanics from measurements of observables of arbitrary dimensions. Among the consequences of our results is the impossibility of having a maximal violation of contextuality in the Peres-Mermin scenario with discrete observables of odd dimensions. In addition, we show how to construct a large class of observables with a continuous spectrum enabling the realization of contextuality tests both in the Gaussian and non-Gaussian regimes.
A review is made of the field of contextuality in quantum mechanics. We study the historical emergence of the concept from philosophical and logical issues. We present and compare the main theoretical frameworks that have been derived. Finally, we focus on the complex task of establishing experimental tests of contextuality. Throughout this work, we try to show that the conceptualisation of contextuality has progressed through different complementary perspectives, before summoning them together to analyse the signification of contextuality experiments. Doing so, we argue that contextuality emerged as a discrete logical problem and developed into a quantifiable quantum resource.
Recently, various quantum computing and communication tasks have been implemented using IBM’s superconductivity-based quantum computers. Here, we show that the circuits used in most of those works were not optimized and obtain the corresponding optimized circuits. Optimized circuits implementable in IBM quantum computers are also obtained for a set of reversible benchmark circuits. With a clear example, it is shown that the reduction in circuit cost enhances the fidelity of the output state (with respect to the theoretically expected state in the absence of noise) as fewer gates and less circuit depth introduce fewer errors during evolution of the state. Further, considering Mermin inequality as an example, it is shown that the violation of the classical limit is enhanced when we use optimized circuits. Thus, the present approach can be used to identify a relatively weaker signature of quantumness and to establish quantum supremacy in a stronger manner.
The free will theorem states that if experimenters have free will in the sense that their choices are not a function of the past, so must some elementary particles. The theorem goes beyond Bell's theorem as it connects the two fundamental resources behind quantum technologies: single-particle contextuality, which supplies the power for quantum computation, and two-particle non-locality, which allows for quantum secure communication. The theorem relies on three axioms: (i) There is a maximum speed for propagation of information, (ii) single particles can exhibit contextuality, (iii) two separated particles can exhibit Einstein-Podolsky-Rosen (EPR) correlations. Here we report the first experimental test of the free will theorem. We used pairs of hyper-entangled photons entangled in path and polarization and enforced the conditions for invoking axiom (i) by measuring each photon in a different laboratory. We certified axiom (ii) by testing the violation of the Peres-Mermin non-contextuality inequality and axiom (iii) by showing EPR correlations between the two laboratories. The three axioms imply an upper bound on the sum of the correlations among the outcomes of sequential measurements in the same laboratory and the correlations between the outcomes in both laboratories. We observed a violation of this bound by more than 66 standard deviations. This reveals that quantum non-locality can be produced when single-particle contextuality is combined with correlations which are not non-local by themselves. Our results demonstrate the resources needed for quantum computation and quantum secure communication simultaneously in the same experiment and open the door to quantum machines that efficiently achieve both tasks.