"as, in the capacity of," from Latin qua "where? on which side? at which place? which way? in what direction?" figuratively "how? in what manner? by what method?; to what extent? in what degree?" correlative pronominal adverb of place (from PIE root *kwo-, stem of relative and interrogative pronouns).