An introduction to quantum computing