An analysis of reading out the state of a charge quantum bit