code: def quality_to_bitmap(quality):
      
      if quality not in QUALITIES:
          raise InvalidChordException(
              "Unsupported chord quality shorthand: '%s' "
              "Did you mean to reduce extended chords?" % quality)
      return np.array(QUALITIES[quality])
docs: Return the bitmap for a given quality.
  
      Parameters
      ----------
      quality : str
          Chord quality name.
  
      Returns
      -------
      bitmap : np.ndarray
          Bitmap representation of this quality (12-dim).