def plot_state(quantum_state, method='<STR_LIT>', figsize=None):
if not HAS_MATPLOTLIB:<EOL><INDENT>raise ImportError('<STR_LIT>')<EOL><DEDENT>warnings.warn("<STR_LIT>",<EOL>DeprecationWarning)<EOL>rho = _validate_input_state(quantum_state)<EOL>fig = None<EOL>if method == '<STR_LIT>':<EOL><INDENT>fig = plot_state_city(rho, figsize=figsize)<EOL><DEDENT>elif method == "<STR_LIT>":<EOL><INDENT>fig = plot_state_paulivec(rho, figsize=figsize)<EOL><DEDENT>elif method == "<STR_LIT>":<EOL><INDENT>fig = plot_state_qsphere(rho, figsize=figsize)<EOL><DEDENT>elif method == "<STR_LIT>":<EOL><INDENT>plot_bloch_multivector(rho, figsize=figsize)<EOL><DEDENT>elif method == "<STR_LIT>":<EOL><INDENT>fig = plot_state_hinton(rho, figsize=figsize)<EOL><DEDENT>return fig<EOL>
Plot the quantum state.

    Args:
        quantum_state (ndarray): statevector or density matrix
                                 representation of a quantum state.
        method (str): Plotting method to use.
        figsize (tuple): Figure size in inches,

    Returns:
         matplotlib.Figure: The matplotlib.Figure of the visualization
    Raises:
        ImportError: Requires matplotlib.
        VisualizationError: if the input is not a statevector or density
        matrix, or if the state is not an multi-qubit quantum state.