-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
176 lines (158 loc) · 7.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>QuPlayground</title>
<!--Gojs CDN-->
<script src="https://cdn.bootcss.com/gojs/1.8.20/go.js"></script>
<!--
<script src="https://cdnjs.cloudflare.com/ajax/libs/gojs/1.8.25/go-debug.js"></script>
-->
<!--Bootstrap CDN-->
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
<link href="https://cdn.bootcss.com/bootstrap/4.1.1/css/bootstrap-grid.css" rel="stylesheet">
<link href="https://cdn.bootcss.com/bootstrap/4.1.1/css/bootstrap-reboot.css" rel="stylesheet">
<link href="https://cdn.bootcss.com/bootstrap/4.1.1/css/bootstrap.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/bootstrap/4.1.1/js/bootstrap.bundle.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/4.1.1/js/bootstrap.js"></script>
<link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet">
<link href="json_syntax.css" rel="stylesheet">
<script src="json_syntax.js"></script>
<script src="qubit.js"></script>
<script id="code" src="main.js"></script>
</head>
<body onload="init()">
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom box-shadow">
<h3 class="my-0 mr-md-auto font-weight-normal">
<a href="index.html">
<b>Qu</b>Playground</a>
</h3>
<nav class="my-2 my-md-0 mr-md-3">
<a class="p-2 text-dark">Developing</a>
</nav>
<a class="btn btn-outline-primary" href="https://github.com/camelop/QuPlayground">Github page</a>
</div>
<section class="jumbotron text-center">
<div class="container">
<h1 class="jumbotron-heading">
<b>Qu</b>Playground</h1>
<p class="lead text-muted">A new way to test your ideas about quantum circuit.</p>
<p>
<a href="bell_test.html" class="btn btn-primary my-2">Try it now!</a>
<a href="https://github.com/camelop/QuPlayground/blob/master/README.md" class="btn btn-secondary my-2">See docs</a>
</p>
</div>
</section>
<div class="album py-5 bg-light">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="card mb-4 box-shadow">
<img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Thumbnail [100%x225]"
style="height: 225px; width: 100%; display: block;" src="thumbnails/bell.png" data-holder-rendered="true">
<div class="card-body">
<div class="d-flex justify-content-between align-items-center">
<h3> Bell test </h3>
<div class="btn-group">
<div class="btn-group">
<a href="bell_test.html">
<button type="button" class="btn btn-sm btn-primary">Try it</button>
</a>
<a href="https://en.wikipedia.org/wiki/Bell_test_experiments">
<button type="button" class="btn btn-sm btn-outline-secondary">See wiki </button>
</a>
</div>
</div>
</div>
<p class="card-text">A Bell test experiment or Bell's inequality experiment, also simply a Bell test, is a real-world physics experiment
.<br> In this demonstration you can see the interesting result when measuring a pair of EPR.</p>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card mb-4 box-shadow">
<img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Thumbnail [100%x225]"
src="thumbnails/shor.png" data-holder-rendered="true" style="height: 225px; width: 100%; display: block;">
<div class="card-body">
<div class="d-flex justify-content-between align-items-center">
<h3> Shor algorithm</h3>
<div class="btn-group">
<a href="shor_algorithm.html">
<button type="button" class="btn btn-sm btn-primary">Try it</button>
</a>
<a href="https://en.wikipedia.org/wiki/Shor%27s_algorithm">
<button type="button" class="btn btn-sm btn-outline-secondary">See wiki </button>
</a>
</div>
</div>
<p class="card-text">Shor's algorithm, named after mathematician Peter Shor, is a quantum algorithm for integer factorization.
<br> In this demonstration we implement a simple case for N = 3 * 5 to show some features of quantum computing like undeterministic.
</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="card mb-4 box-shadow">
<img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Thumbnail [100%x225]"
style="height: 225px; width: 100%; display: block;" src="thumbnails/teleportation.png" data-holder-rendered="true">
<div class="card-body">
<div class="d-flex justify-content-between align-items-center">
<h3> Quantum teleportation </h3>
<div class="btn-group">
<div class="btn-group">
<a href="teleportation.html">
<button type="button" class="btn btn-sm btn-primary">Try it</button>
</a>
<a href="https://en.wikipedia.org/wiki/Quantum_teleportation">
<button type="button" class="btn btn-sm btn-outline-secondary">See wiki </button>
</a>
</div>
</div>
</div>
<p class="card-text">Quantum teleportation is a process by which quantum information from one location to another.
<br> In this demonstration you will see that first bit is "teleported" to the third bit.
(You can change the first bit, run it again and again, and use the result of measurement to check that.)</p>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card mb-4 box-shadow">
<img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Thumbnail [100%x225]"
src="thumbnails/diy.png" data-holder-rendered="true" style="height: 225px; width: 100%; display: block;">
<div class="card-body">
<div class="d-flex justify-content-between align-items-center">
<h3> Build something yourself</h3>
<div class="btn-group">
<a href="diy.html">
<button type="button" class="btn btn-sm btn-primary">Try it</button>
</a>
<a href="https://github.com/camelop/QuPlayground/blob/master/README.md">
<button type="button" class="btn btn-sm btn-outline-secondary">See docs </button>
</a>
</div>
</div>
<p class="card-text">If you have any trouble on running your circuit:
<br>1. First check the alert.
<br>2. open Chrome console to debug if necessary.</p>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="text-muted">
<div class="container">
<p class="float-right">
<a href="#">Back to top</a>
</p>
<p>Powered by GoJS & Bootstrap</p>
<p>Contact: littleRound
<a href="mailto:[email protected]?subject=From QuPlayground:">send an email</a>.
You can also view source code on
<a href="https://github.com/camelop/QuPlayground">github</a>.</p>
</div>
</footer>
</body>
</html>