Closed Farquhar13 closed 6 months ago
Adds a get_info method to the SingleQubitEnv class. This makes the step function slightly cleaner.
get_info
SingleQubitEnv
step
The get_info method returns a string that includes the alpha action, which previously was not printed.
The get_info method is inherited by the NoisySingleQubitEnv class to reduce copy/pasted code.
NoisySingleQubitEnv
Adds a
get_info
method to theSingleQubitEnv
class. This makes thestep
function slightly cleaner.The
get_info
method returns a string that includes the alpha action, which previously was not printed.The
get_info
method is inherited by theNoisySingleQubitEnv
class to reduce copy/pasted code.