Definitions of ideally:

  • adverb:   in an ideal manner
    Example: "Ideally, this will remove all problems"