From a7b43f9fb67019ec272ab6246cb09302b131e3bb Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Sat, 3 Jan 2026 22:06:09 -0700 Subject: [PATCH] fix up the source for Deutsch --- .../NPComplete/NPC_DEUTSCH/Solvers/DeutschClassicalSolver.cs | 2 +- .../NPC_DEUTSCH/Verifiers/DeutschClassicalVerifier.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Problems/NPComplete/NPC_DEUTSCH/Solvers/DeutschClassicalSolver.cs b/Problems/NPComplete/NPC_DEUTSCH/Solvers/DeutschClassicalSolver.cs index d25154b..5190c51 100644 --- a/Problems/NPComplete/NPC_DEUTSCH/Solvers/DeutschClassicalSolver.cs +++ b/Problems/NPComplete/NPC_DEUTSCH/Solvers/DeutschClassicalSolver.cs @@ -6,7 +6,7 @@ class DeutschClassicalSolver : ISolver { // --- Fields --- public string solverName {get;} = "Deutsch Problem Classical Solver"; public string solverDefinition { get; } = "This is a classical solver for the Deutsch Problem which simply tries both inputs to f(x) and computes whether they are the same (constant) or different (balanced)"; - public string source {get;} = ""; + public string source { get; } = "Deutsch, David. 1985. Quantum theory, the Church-Turing principle and the universal quantum computer. Proc. R. Soc. Lond. A40097-117"; public string[] contributors {get;} = { "Jason L. Wright" }; // --- Methods Including Constructors --- diff --git a/Problems/NPComplete/NPC_DEUTSCH/Verifiers/DeutschClassicalVerifier.cs b/Problems/NPComplete/NPC_DEUTSCH/Verifiers/DeutschClassicalVerifier.cs index be303be..82555b2 100644 --- a/Problems/NPComplete/NPC_DEUTSCH/Verifiers/DeutschClassicalVerifier.cs +++ b/Problems/NPComplete/NPC_DEUTSCH/Verifiers/DeutschClassicalVerifier.cs @@ -7,7 +7,7 @@ class DeutschClassicalVerifier : IVerifier { // --- Fields --- public string verifierName {get;} = "Deutsch Classical Verifier"; public string verifierDefinition { get; } = "Verify that a proposed solution correctly identifies whether the given function is constant or balanced by trying both possible inputs to the hidden function."; - public string source {get;} = " "; + public string source { get; } = "Deutsch, David. 1985. Quantum theory, the Church-Turing principle and the universal quantum computer. Proc. R. Soc. Lond. A40097-117"; public string[] contributors {get;} = { "Jason L. Wright" }; private string _certificate = "";