Cleaned up get_final_state and nqubits property