Skip to content

Source Code

themaddoctor1 edited this page Nov 16, 2014 · 2 revisions

The source code consists of only a few classes. However, each one serves a function in the whole program. A list of classes is below.

Class Name Description
Interpreter Interprets the code line by line, or all at once depending on the input method.
LogicGates Hold methods for executing logic gates.
QuantumComputer Contains a Register, which holds Qubits.
Qubit Stores a qubit, which obeys the laws of Quantum Mechanics.
Register Stores an array of Qubits, and perofrms changes due to Entanglement.
ScriptLauncher The main class, which runs the program.
Tester A secondary main class that can be used alternatively.

Clone this wiki locally