2 <title>Qcad Help File</title>
\r
3 <META http-equiv="Content-Style-Type" content="text/css">
\r
4 <STYLE TYPE="text/css">
\r
6 body {line-height: 120%; background-color:#ffffd2; color: black}
\r
7 A:link { text-decoration:none; font-weight:bold; color:#161FFA }
\r
8 A:visited { text-decoration:none; font-weight:bold; color:#06AAFF }
\r
9 A:active { text-decoration:none; font-weight:bold; color:#8470FF }
\r
10 A:hover { font-weight:bold; color:#FF707F }
\r
11 H1 {padding-top:10px;text-align: center}
\r
12 H2 {padding-top:10px;border-top: black 1px solid;}
\r
13 code {padding:10px; display:block;white-space:pre;border: solid 1px #AAAAAA;}
\r
14 dt{font-weight:bold;}
\r
15 div.footer{text-align:center;color:#800000;}
\r
22 ((:<div align=center><img src="img/qcadico48.png"></div>:))
\r
24 QCAD is a windows-based GUI environment of Quantum Computing Simulation, it will help you to study quantum computations.
\r
26 This software has following functions.
\r
28 (1) Graphical Designing Environment for Quantum Circuits.
\r
29 (2) Quantum Simulator
\r
30 (3) Exportable EPS and Bitmap file of circuits designed by QCAD.
\r
35 * ((<Specifications>))
\r
36 * ((<Installation & Uninstallation>))
\r
39 * ((<Circuit Panel>))
\r
40 * ((<Available Quantum Gates>))
\r
42 * ((<Export Other Format>))
\r
44 * ((<Menu References>))
\r
46 * ((<Simulate Circuit>))
\r
48 * ((<Save Results>))
\r
50 * ((<Known Problems>))
\r
51 * ((<About Developers>))
\r
53 * ((<Acknowledgements>))
\r
60 :GUI Environment to design quantum circuits
\r
61 QCAD enables you to design quantum circuits easily with full GUI (graphical user interface) environment.
\r
62 :Exportable EPS and BMP
\r
63 QCAD can export the designed circuits as Encapsulated PostScript (EPS) in order to include in LaTeX files.
\r
65 QCAD can simulate the designed circuit and show results (states of qubits).
\r
67 See ((<Available Quantum Gates>)). The matrices of the gates are also shown there.
\r
69 ===System Requirements
\r
72 Windows 2000 or higher. QCAD does not work on Linux or Mac OS.
\r
75 ==Installation & Uninstallation
\r
78 (1) Unpack the archive file to any folder (e.g. c:\util\qcad).
\r
79 (2) Double click the icon of QCAD ((<"IMG:img/qcad.png">)) to execute it.
\r
83 Remove installed folder and its contents.
\r
85 NOTE: QCAD will never touch any registries of your system.
\r
89 When QCAD is executed, you can see "Edit Window". You can put gates on it.
\r
92 The left end of it, there are "Bitbox". You can modify the initial states of qubits with it.
\r
94 If you want to select many gates at the same time, click gates with the control key.
\r
100 Circuit Panel is a circuit selector.
\r
102 You can open it by choosing "Circuit Panel" by "View" menu.
\r
105 Click a button which shows a circuit that you want to put.
\r
107 Then the circuit is selected.
\r
109 Next, Click the edit window, then the circuit is put there.
\r
112 If the circuit requires parameter, the parameter window will open.
\r
114 Set all parameters like as control bits, and then push OK.
\r
121 ==Available Quantum Gates
\r
124 * ((<"IMG:img/walsh.png">)) Walsh Hadamard Gate
\r
125 * ((<"IMG:img/not.png">)) Not Gate
\r
126 * ((<"IMG:img/cnot.png">)) Controlled Not Gate
\r
127 * ((<"IMG:img/ccnot.png">)) Toffoli (Controlled Controlled Not) Gate
\r
128 * ((<"IMG:img/rot.png">)) Rotation Gate
\r
129 * ((<"IMG:img/crot.png">)) Controlled Rotation Gate
\r
130 * ((<"IMG:img/x.png">)) Pauli X Gate
\r
131 * ((<"IMG:img/y.png">)) Pauli Y Gate
\r
132 * ((<"IMG:img/z.png">)) Pauli Z Gate
\r
133 * ((<"IMG:img/swap.png">)) Swap Gate
\r
134 * ((<"IMG:img/mesure2.png">)) Measurement Gate
\r
139 Gate "Bitbox" are special gates. They are irremovable. You can set the initial value of qubits.
\r
141 If you want to set initial value of qubit as |0...01>, change state of Bitbox at Q1 to "1",
\r
143 and "0" for other Bitbox.
\r
146 If you set Enabled to false, the line become disabled. This function is for exporting an EPS file. You can get EPS file with skipping this line.
\r
149 === Matrices for gates
\r
152 ((<"IMG:img/qgates.png">))
\r
157 You can save and load the circuit data of QCAD by "Save" and "Load" options on "File" menu. A default extension is "qcd".
\r
159 ==Export Other Format
\r
164 You can export a designed circuit as EPS(Encapsulated PostScript) file which is suitable for LaTeX or other types of document.
\r
166 After designing a circuit, choose "Export EPS file".
\r
169 === Export Bitmap File
\r
172 If you need a bitmap file of a designed circuit, you can export a bitmap file which is what you see at the edit window. After designing a circuit, choose "Export as Bitmap file".
\r
177 The Menus and their short cuts allow quick access to many operations. The Following menus are available.
\r
196 The File menu allows access to the operations of saving and loading data, exporting as other formats and quitting QCAD.
\r
200 ((<"IMG:img/00new.png">))
\r
202 Select the "New" option to obtain a new circuit. QCAD will ask you the size of it. If there is an unsaved circuits, the confirm dialog opens, asking for a file name for the designed circuit.
\r
206 ((<"IMG:img/01open.png">))
\r
208 Select the "Open" option to open the designed QCAD file. If there is an unsaved circuits, the confirm dialog opens, asking for a file name for the designed circuit.
\r
212 ((<"IMG:img/02save.png">))
\r
214 Select the "Save" option to save the designed circuit to the file.
\r
216 If you have not set the name of file, Save Dialog appears and requires the filename.
\r
221 Select the "Save As" option to save the designed circuit to the file with desired filename. Save Dialog appears and requires the filename.
\r
224 === Export as EPS file
\r
225 ((<"IMG:img/08saveasps.png">))
\r
227 Select the "Export as EPS file" option to export the designed circuit as the EPS(Encapsulated PostScript) file format. This format is suitable for LaTeX or other document to include.
\r
229 === Export as Bitmap file
\r
230 ((<"IMG:img/07saveasbmp.png">))
\r
232 Select the "Export as Bitmap file" option to export the designed circuit as the Bitmap file format. The current format of the bitmap is the type of 8bit(including 256 colors).
\r
236 Print the current circuit.
\r
244 Select the "Exit" option to quit designing and close the QCAD. If there is an unsaved circuits, the confirm dialog opens, asking for a file name for the designed circuit.
\r
248 The View menu allows access to Circuit Panel.
\r
252 Select the Circuit Panel option to open the circuit panel. See <a href="#HLP000011">Circuit Panel</a> section for more information.
\r
257 Edit menu allows to the operations which modify the designing circuit.
\r
261 ((<"IMG:img/03undo.png">))
\r
263 Select the Undo option to undo the previous operations. You can undo all operations and the number of undo is unlimited (it depends on the size of memory of your system).
\r
266 ((<"IMG:img/04remove.png">))
\r
268 Select the Remove option to remove the selected gates.
\r
272 Edit menu allows to operations to the simulator of the QCAD.
\r
274 See ((<Simulate Circuit>)) section for details.
\r
278 The Help menu allows access to the help or version information of the QCAD.
\r
281 ((<"IMG:img/05help.png">))
\r
283 Select the Help option to open the contents of QCAD help file.
\r
287 Select the Version option to show the version information of the QCAD.
\r
290 ((<"IMG:img/06run.png">))
\r
292 You can simulate a designed circuit on QCAD.
\r
294 Try "Calc" of "Calc" menu, or hit "F5" key, and QCAD simulate your circuits and show results.
\r
298 The calculation of the quantum circuits requires huge memory. When the circuit has 32 lines, for example, it will use 64GB. If you try to calculate large circuits, your machine might be in trouble.
\r
302 From Ver. 1.92, measurement gates has been available. If a circuit contains measurement gates, the "Measurement View" becomes available.
\r
304 ((<"IMG:img/measurement3.png">))
\r
306 For example, the above circuits involves the following measured result.
\r
308 ((<"IMG:img/measurement4.png">))
\r
310 The result contains indeces, qubits' status, and the probability that the status to be measured, respectively.
\r
314 This measurememt DOES NOT achieve real measurement.
\r
315 The measurement gates on QCAD do only set "measurement flags". After the calculation, the measurement is performed.
\r
317 For example, the following two circuits are equivalent on QCAD.
\r
319 ((<"IMG:img/measurement1.png">))
\r
320 ((<"IMG:img/measurement2.png">))
\r
325 You can save the simulated results as a text file (Comma Separated Values).
\r
327 The format of the exported file is as follows,
\r
330 #ex) Index), (Qubits conf.), (Abs. value), (Re. part), (Im. part)
\r
331 #ex) 0, |00000> , 1.000 , 0.4455 , 0.23
\r
332 0,|0000000>, 1.000000,1.000000,0.000000
\r
333 1,|0000001>, 0.000000,0.000000,0.000000
\r
335 127,|1111111>, 0.000000,0.000000,0.000000
\r
337 :Save Measured Results
\r
338 If you want to save the measured results, select the "Save Results" menu on the "File" menu after choosing "Measurement view". The format of the results file is equivalent to which showed on Measurement view.
\r
342 QCAD has some problems as following.
\r
344 (1) Step-by-step execution is not available yet.
\r
348 * Hiroshi Watanabe (Representative)
\r
349 * Masaru Suzuki (Programmer)
\r
350 * Junnosuke Yamazaki (Programmer)
\r
354 Copyright (C) 2002 - 2011 QCAD Developers Team
\r
356 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
\r
358 (1) In any scientific publication based wholly or in part on the Software, the use of the Software must be acknowledged.
\r
359 (2) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
\r
360 (3) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
\r
362 THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED
\r
363 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
\r
364 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL OR
\r
365 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
\r
366 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
\r
367 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
\r
368 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
\r
369 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
\r
370 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\r
374 This work is supported by a grant under the youth section of Exploratory Software
\r
375 Project FY2002 (IPA, Japan). This software was developed at the University of Tokyo
\r
376 and Nagoya University.
\r
380 * 2011-8-3 Ver 2.00
\r
381 * Change format of helpfile from Windows help (*.hlp) to HTML help (*.chm).
\r
384 * Documentations are revised.
\r
385 * 2009-2-9 Ver 1.96
\r
386 * Bugs that Rotation and Controlled Rotation gates lost the factional part of phase were fixed.
\r
387 * 2008-10-25 Ver 1.95
\r
388 * Rotation and Controlled Rotation gates become to accept non-integer value.
\r
389 * GUI for setting phase is implemented.
\r
390 * 2008-10-02 Ver 1.94
\r
391 * Bugs in Controlled Rotation Gate are fixed.
\r
392 * Visualization on Result Window is optimized.
\r
393 * 2007-5-25 Ver 1.93
\r
394 * Bugs in Undo are fixed.
\r
395 * Bugs in the form for modifying circuits are fixed.
\r
396 * 2005-10-18 Ver 1.92
\r
397 * Measurement gates become available.
\r
398 * Bugs on shoing the help file is fixed.
\r
399 * 2005-10-06 Ver 1.91
\r
400 * A problem using resource of Windows too much was fixed.
\r
401 * 2005-07-28 Ver 1.90
\r
402 *A new function "Show Only NonZero" was implemented.
\r
403 * 2005-05-01 Ver 1.89
\r
404 *Bugs on loading file was fixed.
\r
405 * 2005-04-26 Ver 1.88
\r
406 * Bugs that Pauli Gates were ignored was fixed.
\r
407 * 2005-04-26 Ver 1.87
\r
408 * Definitions of Rotation Gates in "Quantum Computation and Quantum Information" by M. A. Nielsen and I. L. Chuang are taken.
\r
409 * 2005-04-21 Ver 1.86
\r
410 * Definitions of Z-Rotation Gates are revised.
\r
411 * 2005-04-18 Ver 1.85
\r
412 * Bugs on a Z-Rotation a Controlled Z-Rotation Gates were fixed.
\r
413 * 2005-03-17 Ver 1.84
\r
414 * Bugs on Rotation Gates were fixed.
\r
415 * Add Z Rotation Gate.
\r
416 * 2005-03-14 Ver 1.83
\r
417 * Bugs on Pauli-Gates were fixed.
\r
418 * 2004-10-27 Ver 1.82
\r
419 * Some messages were revised.
\r
420 * 2004-09-15 Ver 1.81
\r
421 * Add scroll bar at the Result-View.
\r
422 * Add Save function on the Result-View.
\r
423 * Bugs on calculations were fixed.
\r
424 * 2003-05-08 Ver 1.80
\r
425 * All Gates are availavle.
\r
426 * New views are now availavle.
\r
427 * Bugs of View were fixed.
\r
428 * 2003-01-27 Ver 1.70
\r
429 * Bug of computation of "Controlled Rotate" is fixed.
\r
431 * 2003-01-22 Ver 1.60
\r
432 * Add "Undo" to Menu.
\r
433 * 2002-12-31 Ver 1.50beta
\r
434 * Add Simulator on QCAD.
\r
435 * 2002-06-24 Ver 1.00
\r
436 * Release First version.
\r
438 ((:<hr><div class=footer>QCAD<BR>Copyright © 2002 - 2011 QCAD Developers Team. All rights reserved.<BR><a href="http://qcad.sourceforge.jp/">http://qcad.sourceforge.jp/</a></div>:))
\r