Traceback (most recent call last):


 "/pennylane/tests/test_device.py", line 338, in test_obs_queue_is_filled_during_execution

mock_device_with_paulis_and_methods.execute(queue, observables)
TypeError: execute() missing 1 required positional argument: 'parameters'

Traceback (most recent call last):


 "qr_runner.py", line 39, in <module>

main()


 "qr_runner.py", line 34, in main

runner.run(episodes=10,timesteps=10, max_episode_timesteps = 20,episode_finished=episode_finished)


 "/home/sixilu2/github/tensorforce/tensorforce/tensorforce/execution/runner.py", line 129, in run

(episodes is not None and self.agent.episode >= episodes) or \


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 578, in __nonzero__

raise TypeError("Using a `tf.Tensor` as a Python `bool` is not allowed. "
TypeError: Using a `tf.Tensor` as a Python `bool` is not allowed. Use `if t is not None:` instead of `if t:` to test if a tensor is defined, and use TensorFlow ops such as tf.cond to execute subgraphs conditioned on the value of a tensor.
