diff --git a/src/Config.js b/src/Config.js index a028c105..73b8bbd5 100644 --- a/src/Config.js +++ b/src/Config.js @@ -3,7 +3,7 @@ */ class Config {} -Config.EMPTY_CIRCUIT_TITLE = 'Toy Quantum Circuit Simulator'; +Config.EMPTY_CIRCUIT_TITLE = 'Quantum Circuit Toy - Quirk'; // Each qubit (when actually used) doubles the cost of simulating each gate applied to the circuit. // Also each qubit tends to increase the amount of accuracy required. diff --git a/src/ui/title.js b/src/ui/title.js index 7e0ee02f..f4e0e496 100644 --- a/src/ui/title.js +++ b/src/ui/title.js @@ -1,4 +1,5 @@ import {CircuitDefinition} from "src/circuit/CircuitDefinition.js" +import {Config} from "src/Config.js" import {Serializer} from "src/circuit/Serializer.js" /** @@ -14,7 +15,7 @@ function initTitleSync(revision) { } } catch (_) { } - return 'Quirk: Toy Quantum Circuit Simulator'; + return Config.EMPTY_CIRCUIT_TITLE; }; revision.latestActiveCommit().subscribe(jsonText => { diff --git a/template/quirk.template.html b/template/quirk.template.html index 149947e7..7dfceeca 100644 --- a/template/quirk.template.html +++ b/template/quirk.template.html @@ -2,9 +2,9 @@ - + - Quirk: Toy Quantum Circuit Simulator + Quantum Circuit Toy - Quirk