code: def relabel(self, qubits: Qubits) -> 'QubitVector':
          
          qubits = tuple(qubits)
          assert len(qubits) == self.qubit_nb
          vec = copy(self)
          vec.qubits = qubits
          return vec
docs: Return a copy of this vector with new qubits