- Instantiated backends and solvers with different numerical libraries:
- Added
context_manager
modules toquantrl.backends
andquantrl.solvers
packages. - Added support for JIT-compilation in
quantrl.backends
package. - Changed naming convention for GPU-based options as
gpu
fromcuda
.
- Added
- Added
tox
-based testing and continuous integration with GitHub workflows. - Updated all modules with PEP-based code styling and added
pylintrc
. - Updated
requirements.txt
and added version toquantrl.__init__
. - Replaced
setup.py
withpyproject.toml
. - Updated
docs
andREADME
.
- Fixed issue with cache indexing in
quantrl.envs.base
module. - Updated best reward callback in
quantrl.utils
module. - Added
seaborn
torequirements
andsetup
.
- Fixed issue with learning curve data in
quantrl.envs.base
module. - Fixed averaging of reward data in
quantrl.plotters.LearningCurvePlotter
class.
- Added entropy-based seed sequencing for generators in
quantrl.backends
package. - Minor fixes to
quantrl.envs.base
module - Added option to save and load files directly using
quantrl.io.FileIO
class. - Added
quantrl.plotters.LearningCurvePlotter
class to plot learning curves directly. - Added option for averaging and saving in
quantrl.utils.SaveOnBestMeanRewardCallback
class. - Updated
docs
andCONTRIBUTING
.
- Fixed plot buffer update in
quantrl.envs.base
module. - Added garbage collection in
quantrl.io.FileIO
class. - Support for more plots in
quantrl.plotters.TrajectoryPlotter
class. - Added
quantrl.utils
module for utility functions. - Updated
README
,requirements
andsetup
.
- Added documentation for all modules.
- Added
uniform
,norm
,if_else
andargmax
methods inquantrl.backends
package. - Updated
quantrl.envs
package:- Update default parameters and added option to buffer plots in
base.BaseEnv
class. - Added option to cache only the properties in
base.BaseEnv
class. - Minor fixes to
stochastic.LinearEnv
class.
- Update default parameters and added option to buffer plots in
- Added complex datatype option to
quantrl.solvers
package. - Added
CODE_OF_CONDUCT
,CONTRIBUTING
andLICENSE
.
- Updated
generator
methods inquantrl.backends
package. - Updated
quantrl.envs.base
module:- Added
seed
parameter toBaseEnv
class. - Initialized states, observations, properties and results, and made removed environment validation during initialization of
BaseGymEnv
andBaseSB3Env
classes. - Minor updates to cache and plot in
step
andevolve
methods ofBaseGymEnv
class.
- Added
- Minor fixes to
quantrl.envs.stochastic
module.
- Added option to add standard deviations of the observed states
Observations
from the actual statesStates
through theobservation_stds
parameter in thereset
andupdate
methods. - Renamed
reset_observations
method toreset_states
to reset the actual statesStates
. - Renamed
_update_observations
method to_update_states
to update the actual statesStates
. - Updated documentation and
README
.
- Added
iterate_i
method to support single loops inquantrl.backends
package. - Updated
quantrl.envs.stochastic.LinearEnv
with support for JAX loops. - Removed iterative solvers from
quantrl.solvers
package. - Updated
README
andsetup
.
- Updated
quantrl.backends
package:- Renamed occurences of
tensor
totyped
andarray
tonumpy
. - Renamed
lib
attribute tolibrary
for the backend library. - Added
numpy
option todtype_from_str
method. - Added
is_typed
,generator
andintegers
methods.
- Renamed occurences of
- Updated
quantrl.envs
package:- Added
data_idxs
option for selective storage. - Renamed
disk_cache_size
tocache_dump_interval
. - Removed
preserve_dtype
option. All backend data-types are now preserved. - Updated default value of
observation_space_range
to[-1e12, 1e12]
and addedcheck_truncation
method to check if observations are out of bounds.. - Added
t_ssz
attribute for the actual step size. - Added dedicated variables for caching, saving and plotting in vectorized environments.
- Added
- Updated
quantrl.io.FileIO
class:- Renamed
disk_cache_size
tocache_dump_interval
. - Removed option to update cache in parts and added
dump_part
method to directly dump part data of batches. - Added threading to support asynchronous cache dump.
- Renamed
- Templated iterative solvers to
quantrl.solvers
package. - Updated
README
andsetup
.
- Added
quantrl.backends
package:- Added abstract base class
BaseBackend
for different backends inbase
module. - Interfaced JAX, PyTorch and NumPy backends in
jax
,torch
andnumpy
modules.
- Added abstract base class
- Updated
quantrl.envs.base
module:- Created and documented abstract methods for
BaseEnv
class. - Renamed
_step
method to_update_observations
. - Interfaced backends in
BaseEnv
,BaseGymEnv
andBaseSB3Env
classes. - Added parameter
preserve_dtype
to preserve the interfaced tensor data-type inBaseEnv
class. - Removed truncation information from
step_async
inBaseSB3Env
class.
- Created and documented abstract methods for
- Updated
quantrl.envs.deterministic
module:- Interfaced backends in
LinearizedHOEnv
andLinearizedHOVecEnv
classes. - Added template methods for
get_A
,get_D
andget_mode_rates
and updated documentation.
- Interfaced backends in
- Interfaced backends and removed MCQT support in
quantrl.envs.stochastic.LinearEnv
class. - Added
base
solver module and interfaces for three different IVP solvers (jax.DiffraxIVPSolver
,torch.TorchDiffEqIVPSolver
andnumpy.SciPyIVPSolver
classes) inquantrl.solvers
package. - Updated
README
andsetup
.
- Updated
quantrl.envs.base
module:reset_Observations
,get_Properties
andget_Reward
methods of all classes are renamed toreset_observations
,get_properties
andget_reward
, withreset_observations
returning the initial observations.- Removed
n_trajectories
parameter and addedn_properties
parameter in all classes. - Added
file_prefix
parameter andaction_steps
attribute toBaseEnv
class. - Renamed
file_prefix
attribute tofile_path_prefix
for the complete path. - Updated the workflow of
step
methods of all classes. plot_learning_curve
method ofBaseEnv
class takesn_episodes
parameters for running average.replay_trajectories
andclose
methods ofBaseEnv
class requiren_episodes
parameter.close
method ofBaseEnv
class takes an additionalsave_replay
parameter.- Added
save
parameter toclose
method ofBaseGymEnv
class. - Added
close
parameter toevolve
method ofBaseGymEnv
class. - Added
BaseSB3Env
class to support Stable-Baselines3 vectorized environments.
- Updated
quantrl.envs.deterministic
module:- Removed
n_trajectories
and addedn_properties
parameters toLinearizedHOEnv
class. - Removed
actions
parameter fromLinearizedHOEnv._step
method. - Added
LinearizedHOVecEnv
class to interface vectorized environments.
- Removed
- Updated
quantrl.envs.stochastic.LinearEnv
class:- Removed
n_trajectories
and addedn_properties
parameters. - Removed
actions
parameter from_step
and_step_wiener
methods.
- Removed
- Updated
quantrl.io.FileIO
class:- Added option to initialize with
data_shape
parameter. - Renamed
max_cache_size
parameter todisk_cache_size
. - Added
dump_cache
parameter inclose
method.
- Added option to initialize with
- Added option to save plots in
save_dir
directory inquantrl.plotters.TrajectoryPlotter
class. - Updated
README
,requirements
andsetup
.
- Updated
quantrl.envs.base.BaseGymEnv
class:- Implemented keyword arguments in initialization.
- Properties are saved if the child method exists.
- Minor fixes to
quantrl.envs.deterministic.LinearizedHOEnv
class. - Updated Wiener process for drift matrix in
quantrl.envs.stochastic.LinearEnv
class. - Reversed the sequence of arguments in
quantrl.solvers.differential.SciPyIVPSolver
class. - Update tick options in
quantrl.plotter
module. - Updated
README
andsetup
.
- Restructured
quantrl.envs.rl
module:- Created
quantrl.envs.base
module withBaseGymEnv
. - Created
quantrl.envs.deterministic
module withLinearizedHOEnv
. - Created
quantrl.envs.stochastic
module withHOEnv
.
- Created
- Buffer fixes to
quantrl.solvers.differential.SciPyIVPSolver
. - Fixed cache dump and underflow in
quantrl.io.FileIO
. - Added options to make gifs and save plots in
quantrl.plotters.TrajectoryPlotter
. - Updated
README
andsetup
.
- Replaced
quantrl.envs.BaseEnv
withquantrl.envs.rl
. - Added
quantrl.solvers.differential
module with DDE support. - Renamed
quantrl.solvers.QCMSolver
toquantrl.solvers.measure
. - Replaced
quantrl.log
withquantrl.io
. - Replaced
quantrl.utils
withquantrl.plotters
. - Added
README
,requirements
andsetup
.
- Added
quantrl.envs.BaseEnv
module. - Added
quantrl.solvers.QCMSolver
module. - Added
quantrl.log
andquantrl.utils
module. - Added
CHANGELOG
,README
andsetup
.