Fix syntax errors in quantum example

Change-Id: I88cd8682bf51ef160d74f0111481431ef5f99761