You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.