Skip to content

QuantumComputer

themaddoctor1 edited this page Nov 16, 2014 · 1 revision

The QuantumComputer class exists simply to hold a Register object. This helps with the issue of having to manually create a Register in the source code, and in doing so makes the program slightly easier to use. There are only two methods: a getRegister() method, which retrieves the Register, and a setRegister() method, which sets the Register to the value of the input.

Clone this wiki locally