what are the advantages and disadvantages between 8 qbit register and 8 single qbit register? suppose someone created quantum register with 8 qbit and another person created 8 registers with single qbit init. what is the difference between these two?
Asked
Active
Viewed 39 times
1 Answers
0
There is no difference between these two options. Creating QuantumRegister
s is just a way to help organise your code. For example, when looking at teleportation, you could have an Alice register and a Bob register to make it clearer in your code whose qubits were whose, but this would be functionally no different than doing all your calculation in one register.

met927
- 311
- 3
- 9
-
Thank you very much. – Prasanta Bastia May 05 '20 at 17:43
-
Happy to help! If this answered your question would you mind accepting the answer? – met927 May 05 '20 at 18:37