-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
68 lines (58 loc) · 2.55 KB
/
test.html
File metadata and controls
68 lines (58 loc) · 2.55 KB
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
<!DOCTYPE html>
<html>
<head>
<title>QBlocks: A Quantum Gate Simulator</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/button.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="https://unpkg.com/konva@7.2.5/konva.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-1 col-md-1 col-lg-1">
</div>
<div id="canvas-div" class="col-sm-10 col-md-10 col-lg-10">
<div id="canvas"></div>
</div>
<div class="col-sm-1 col-md-1 col-lg-1">
<a href="#" class="button start" onclick = "start()">
<p class="fa fa-plus my-float">Start</p>
</a>
<a href="#" class="button black-ball" onclick = "createBLACK_BALL()">
<p class="fa fa-plus my-float">BALL</p>
</a>
<a href="#" class="button white-ball" onclick = "createWHITE_BALL()">
<p class="fa fa-plus my-float">BALL</p>
</a>
<a href="#" class="button CNOT non-quantum" onclick = "createCNOT_Gate()">
<p class="fa fa-plus my-float">CNOT</p>
</a>
<a href="#" class="button SWAP non-quantum" onclick = "createSWAP_Gate()">
<p class="fa fa-plus my-float">SWAP</p>
</a>
<a href="#" class="button NOT non-quantum" onclick = "createNOT_Gate()">
<p class="fa fa-plus my-float">NOT</p>
</a>
<a href="#" class="button PETE quantum" onclick = "createPETE_Gate()">
<p class="fa fa-plus my-float">PETE</p>
</a>
</div>
</div>
</div>
<!-- Script Imports -->
<script src="js/GatesAndParticles/Ball.js"></script>
<script src="js/GatesAndParticles/Not.js"></script>
<script src="js/GatesAndParticles/CNot.js"></script>
<script src="js/GatesAndParticles/Swap.js"></script>
<script src="js/build.js"></script>
<script src="js/simulate.js"></script>
<script src="js/buttons.js"></script>
</body>
</html>