Traceback (most recent call last):


 "/usr/local/bin/papermill", line 11, in <module>

sys.exit(papermill())


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/papermill/cli.py", line 165, in papermill

cwd=cwd,


 "/usr/local/lib/python3.5/dist-packages/papermill/execute.py", line 68, in execute_notebook

nb = load_notebook_node(input_path)


 "/usr/local/lib/python3.5/dist-packages/papermill/iorw.py", line 309, in load_notebook_node

nb = nbformat.reads(papermill_io.read(notebook_path), as_version=4)


 "/usr/local/lib/python3.5/dist-packages/nbformat/__init__.py", line 74, in reads

nb = reader.reads(s, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/nbformat/reader.py", line 58, in reads

nb_dict = parse_json(s, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/nbformat/reader.py", line 14, in parse_json

nb_dict = json.loads(s, **kwargs)


 "/usr/lib/python3.5/json/__init__.py", line 312, in loads

s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

Traceback (most recent call last):


 "bv.py", line 95, in <module>

app.run(main)


 "/Users/ashalynd/homebrew/lib/python3.6/site-packages/absl/app.py", line 274, in run

_run_main(main, argv)


 "/Users/ashalynd/homebrew/lib/python3.6/site-packages/absl/app.py", line 238, in _run_main

sys.exit(main(argv))


 "bv.py", line 90, in main

results = bv(n_qubits, a)


 "bv.py", line 68, in bv

_, result = simulator.run(circuit)


 "/Users/ashalynd/homebrew/lib/python3.6/site-packages/cirq/sim/google/xmon_simulator.py", line 117, in run

all_step_results)


 "/Users/ashalynd/homebrew/lib/python3.6/site-packages/cirq/sim/google/xmon_simulator.py", line 221, in simulator_iterator

% gate)
TypeError: Gate None is not a gate supported by the xmon simulator.
