@cell_magic<EOL><INDENT>@magic_arguments.magic_arguments()<EOL>@magic_arguments.argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>type=str,<EOL>default='<STR_LIT:html>',<EOL>help="<STR_LIT>"<EOL>)<EOL>def qiskit_progress_bar(self, line='<STR_LIT>', cell=None):  <DEDENT>
args = magic_arguments.parse_argstring(self.qiskit_progress_bar, line)<EOL>if args.type == '<STR_LIT:html>':<EOL><INDENT>HTMLProgressBar()<EOL><DEDENT>elif args.type == '<STR_LIT:text>':<EOL><INDENT>TextProgressBar()<EOL><DEDENT>else:<EOL><INDENT>raise qiskit.QiskitError('<STR_LIT>')<EOL><DEDENT>self.shell.ex(cell)<EOL>
A Jupyter magic function to generate progressbar.