3

I am trying to create a bit string of |0⟩'s and |1⟩'s in order to create an array.

Would this still break the no-cloning theorem since we do know their state: they are |0⟩'s and |1⟩'s.

If possible, what I am trying to do is that I have the following bit string in 8 qubits:

00011011

and according to another 2 qubits, I would like to 'copy' the 1st 2, the 2nd 2, the 3rd 2 or the 4th 2 qubits to another 2 qubits.

What's the best way to go around this?

Thanks

2 Answers2

5

Would this still break the no-cloning theorem since we do know their state

The No-cloning theorem states that it is impossible to create an independent and identical copy of an arbitrary unknown quantum state. In this case you do know the state so cloning it is legal.

Cloning qubits whose states are in the computational basis can be achieved via CNOT gates.

If possible, what I am trying to do is that I have the following bit string in 8 qubits: 00011011 and according to another 2 qubits, I would like to 'copy' the 1st 2, the 2nd 2, the 3rd 2 or the 4th 2 qubits to another 2 qubits. What's the best way to go around this?

Here's a circuit that does that:enter image description here with the top 2 qubits being the control qubits, the middle 8 being the data qubits and the last 2 being the write qubits.

Victory Omole
  • 2,332
  • 1
  • 10
  • 24
2

If possible, what I am trying to do is that I have the following bit string in 8 qubits:

00011011

and according to another 2 qubits, I would like to 'copy' the 1st 2, the 2nd 2, the 3rd 2 or the 4th 2 qubits to another 2 qubits.

If I'm understanding you correctly, here is a circuit which does that. A screenshot of it is below.

The arrangement of qubits is the same as in Victory's answer: the top two qubits are the control inputs, the middle eight are the data inputs, and the bottom two are the outputs.

A quantum circuit implementing the desired operation

Sophie Swett
  • 150
  • 4