qiskit/tools/qi/qi.py
def random_unitary_matrix(dim, seed=None):
    """Deprecated in 0.8+
    """
    warnings.warn('The random_unitary_matrix() function in qiskit.tools.qi has been '
                  'deprecated and will be removed in the future. Instead use '
                  'the function in qiskit.quantum_info.random',
                  DeprecationWarning)
    return random.random_unitary(dim, seed).data
def random_unitary_matrix(dim, seed=None):
    """Deprecated in 0.8+
    """
    warnings.warn('The random_unitary_matrix() function in qiskit.tools.qi has been '
                  'deprecated and will be removed in the future. Instead use '
                  'the function in qiskit.quantum_info.random',
                  DeprecationWarning)
    return random.random_unitary(dim, seed).data
def random_unitary_matrix ( dim , seed = None ) : warnings . warn ( 'The random_unitary_matrix() function in qiskit.tools.qi has been ' 'deprecated and will be removed in the future. Instead use ' 'the function in qiskit.quantum_info.random' , DeprecationWarning ) return random . random_unitary ( dim , seed ) . data
Deprecated in 0.8+
Deprecated in 0 . 8 +