qiskit/visualization/bloch.py
def add_vectors(self, vectors):
        """Add a list of vectors to Bloch sphere.

        Args:
            vectors (array_like):
                Array with vectors of unit length or smaller.
        """
        if isinstance(vectors[0], (list, np.ndarray)):
            for vec in vectors:
                self.vectors.append(vec)
        else:
            self.vectors.append(vectors)
def add_vectors(self, vectors):
        if isinstance(vectors[0], (list, np.ndarray)):
            for vec in vectors:
                self.vectors.append(vec)
        else:
            self.vectors.append(vectors)
def add_vectors ( self , vectors ) : if isinstance ( vectors [ 0 ] , ( list , np . ndarray ) ) : for vec in vectors : self . vectors . append ( vec ) else : self . vectors . append ( vectors )
Add a list of vectors to Bloch sphere.

        Args:
            vectors (array_like):
                Array with vectors of unit length or smaller.
Add a list of vectors to Bloch sphere .