Distance measures to compare real and ideal quantum processes (14 pages)