That depends on exactly what aspect of that you're asking about, and what kind of answer you're looking for.
The comments already pointed this out, but if you're having a programming problem, Stack Overflow is good. If you're having a problem with the math, Math.se would be good.
Physics would probably be at a slightly higher level than quaternions themselves. You'd probably have to be asking about something about one of the "physical" aspects of the rotation itself, not purely about the underlying mathematics.
I'm not quite as familiar with Computer Graphics or Game Development, so I can't offer much advice there. My guess would be that they'd also be higher level than just a "purely" mathematical question (it would have to be a question specific to computer graphics or game development), but since I'm not familiar with those sites you should take that with a grain of salt.
In general, if a question is on-topic at several sites, you should ask yourself what kind of answer you're looking for (and what kind of answer you're looking for). For example, Stack Overflow will probably focus on the programming aspects of this, whereas Math.se would focus primarily on the underlying mathematics. So, if the question is on-topic on both, which one you post on would depend on which aspect you want information on the most.
Sometimes it's possible to ask about one aspect of a problem on one site and another aspect of the question on the other site. (I actually did this here; I was trying to write an algorithm based on a mathematical "insight" that ended up being wrong. I asked about the supposed insight on Math.se and posted a follow-up on Stack Overflow asking how to salvage my code once Math.se pointed out my mistake).
FWIW, there's also a relevant Q&A about a similar issue on Literature Meta about trying to decide where to post a question that's on-topic on several sites.