I feel that the greatest similarity between the bacteriologist and the anarchist in H.G. Wells's "The Stolen Bacillus" is the similarity in their opinions and attitudes toward science. Specifically, both men seem to know and understand that scientific inquiry and work has incredibly powerful applications in the real world. Both men know and understand what could happen if a virulent strain of some disease made its way into the general population of a large city.
"And yet those little particles, those mere atomies, might multiply and devastate a city!"
Both men are in awe of the destructive power of something so microscopically small. Both men also respect the dangerous little microbes that are being worked on in the lab. Beyond that though, the similarities stop. The bacteriologist admits that he would love to see all of the bacteria destroyed.
"I wish, for my own part, we could kill and stain every one of them in the universe."
The anarchist, on the hand, would use the bacteria to destroy human populations.