- Minor fixes to
quantrl.backends.jax,quantrl.envs.baseandquantrl.envs.stochasticmodules. - Renamed
seedtonoise_seedinquantrl.envs.basemodule. - Updated
LearningCurvePlotterclass inquantrl.plottersmodule. - Bump version in
docs/source/conf.py,quantrl.__init__.py. - Updated
README.
- Added support for tuple spaces to combine discrete and continuious actions in
quantrl.envs.basemodule. - Added option for maximum number of steps for
DiffraxIVPSolverinquantrl.solver.jaxmodule. - Minor updates to
quantrl.backends.torchmodule.
- Minor changes to all modules except
quantrl.solvers.measure. - Updated indentations and line lengths of modules and
README.
- Removed CI builds for MacOS and Windows.
- Changes to
quantrl.backendspackage:- Updated context managers to catch import errors.
- Renamed
jax.JaxBackendclass tojax.JAXBackend. - Minor fixes to CUDA options for
torch.PyTorchBackendclass.
- Minor fixes to
quantrl.envspackage modules. - Changes to
quantrl.solverspackage:- Update context managers to catch import errors.
- Minor fixes to
jaxandnumpymodules. - Added
'tsit5'option inpytorch.TorchDiffEqIVPSolverclass.
- Bumped version to
0.0.10indocs/source/conf.pyandquantrl.__init__.py. - Added tests for
quantrl.envs.stochasticmodule. - Updated
.gitignoreandpylintrc. - Changes to
pyproject.toml:- Removed optional import for PyTorch, which is now installed as a dependency.
- Added
pytesttests and renamed'lint'environment to'test'fortox.
- Updated
CONTRIBUTING,requirementsandREADME.
- Added support for NumPy version
2.0+with minimum Python version3.12. - Minor fixes to
quantrl.backends.jaxandquantrl.iomodules. - Minor changes to
CONTRIBUTING.mdandpylintrc. - Updated
README,pyproject.tomlandrequirements.
- Instantiated backends and solvers with different numerical libraries:
- Added
context_managermodules toquantrl.backendsandquantrl.solverspackages. - Added support for JIT-compilation in
quantrl.backendspackage. - Changed naming convention for GPU-based options as
gpufromcuda.
- Added
- Added
tox-based testing and continuous integration with GitHub workflows. - Updated all modules with PEP-based code styling and added
pylintrc. - Updated
requirements.txtand added version toquantrl.__init__. - Replaced
setup.pywithpyproject.toml. - Updated
docsandREADME.
- Fixed issue with cache indexing in
quantrl.envs.basemodule. - Updated best reward callback in
quantrl.utilsmodule. - Added
seaborntorequirementsandsetup.
- Fixed issue with learning curve data in
quantrl.envs.basemodule. - Fixed averaging of reward data in
quantrl.plotters.LearningCurvePlotterclass.
- Added entropy-based seed sequencing for generators in
quantrl.backendspackage. - Minor fixes to
quantrl.envs.basemodule - Added option to save and load files directly using
quantrl.io.FileIOclass. - Added
quantrl.plotters.LearningCurvePlotterclass to plot learning curves directly. - Added option for averaging and saving in
quantrl.utils.SaveOnBestMeanRewardCallbackclass. - Updated
docsandCONTRIBUTING.
- Fixed plot buffer update in
quantrl.envs.basemodule. - Added garbage collection in
quantrl.io.FileIOclass. - Support for more plots in
quantrl.plotters.TrajectoryPlotterclass. - Added
quantrl.utilsmodule for utility functions. - Updated
README,requirementsandsetup.
- Added documentation for all modules.
- Added
uniform,norm,if_elseandargmaxmethods inquantrl.backendspackage. - Updated
quantrl.envspackage:- Update default parameters and added option to buffer plots in
base.BaseEnvclass. - Added option to cache only the properties in
base.BaseEnvclass. - Minor fixes to
stochastic.LinearEnvclass.
- Update default parameters and added option to buffer plots in
- Added complex datatype option to
quantrl.solverspackage. - Added
CODE_OF_CONDUCT,CONTRIBUTINGandLICENSE.
- Updated
generatormethods inquantrl.backendspackage. - Updated
quantrl.envs.basemodule:- Added
seedparameter toBaseEnvclass. - Initialized states, observations, properties and results, and made removed environment validation during initialization of
BaseGymEnvandBaseSB3Envclasses. - Minor updates to cache and plot in
stepandevolvemethods ofBaseGymEnvclass.
- Added
- Minor fixes to
quantrl.envs.stochasticmodule.
- Added option to add standard deviations of the observed states
Observationsfrom the actual statesStatesthrough theobservation_stdsparameter in theresetandupdatemethods. - Renamed
reset_observationsmethod toreset_statesto reset the actual statesStates. - Renamed
_update_observationsmethod to_update_statesto update the actual statesStates. - Updated documentation and
README.
- Added
iterate_imethod to support single loops inquantrl.backendspackage. - Updated
quantrl.envs.stochastic.LinearEnvwith support for JAX loops. - Removed iterative solvers from
quantrl.solverspackage. - Updated
READMEandsetup.
- Updated
quantrl.backendspackage:- Renamed occurences of
tensortotypedandarraytonumpy. - Renamed
libattribute tolibraryfor the backend library. - Added
numpyoption todtype_from_strmethod. - Added
is_typed,generatorandintegersmethods.
- Renamed occurences of
- Updated
quantrl.envspackage:- Added
data_idxsoption for selective storage. - Renamed
disk_cache_sizetocache_dump_interval. - Removed
preserve_dtypeoption. All backend data-types are now preserved. - Updated default value of
observation_space_rangeto[-1e12, 1e12]and addedcheck_truncationmethod to check if observations are out of bounds.. - Added
t_sszattribute for the actual step size. - Added dedicated variables for caching, saving and plotting in vectorized environments.
- Added
- Updated
quantrl.io.FileIOclass:- Renamed
disk_cache_sizetocache_dump_interval. - Removed option to update cache in parts and added
dump_partmethod to directly dump part data of batches. - Added threading to support asynchronous cache dump.
- Renamed
- Templated iterative solvers to
quantrl.solverspackage. - Updated
READMEandsetup.
- Added
quantrl.backendspackage:- Added abstract base class
BaseBackendfor different backends inbasemodule. - Interfaced JAX, PyTorch and NumPy backends in
jax,torchandnumpymodules.
- Added abstract base class
- Updated
quantrl.envs.basemodule:- Created and documented abstract methods for
BaseEnvclass. - Renamed
_stepmethod to_update_observations. - Interfaced backends in
BaseEnv,BaseGymEnvandBaseSB3Envclasses. - Added parameter
preserve_dtypeto preserve the interfaced tensor data-type inBaseEnvclass. - Removed truncation information from
step_asyncinBaseSB3Envclass.
- Created and documented abstract methods for
- Updated
quantrl.envs.deterministicmodule:- Interfaced backends in
LinearizedHOEnvandLinearizedHOVecEnvclasses. - Added template methods for
get_A,get_Dandget_mode_ratesand updated documentation.
- Interfaced backends in
- Interfaced backends and removed MCQT support in
quantrl.envs.stochastic.LinearEnvclass. - Added
basesolver module and interfaces for three different IVP solvers (jax.DiffraxIVPSolver,torch.TorchDiffEqIVPSolverandnumpy.SciPyIVPSolverclasses) inquantrl.solverspackage. - Updated
READMEandsetup.
- Updated
quantrl.envs.basemodule:reset_Observations,get_Propertiesandget_Rewardmethods of all classes are renamed toreset_observations,get_propertiesandget_reward, withreset_observationsreturning the initial observations.- Removed
n_trajectoriesparameter and addedn_propertiesparameter in all classes. - Added
file_prefixparameter andaction_stepsattribute toBaseEnvclass. - Renamed
file_prefixattribute tofile_path_prefixfor the complete path. - Updated the workflow of
stepmethods of all classes. plot_learning_curvemethod ofBaseEnvclass takesn_episodesparameters for running average.replay_trajectoriesandclosemethods ofBaseEnvclass requiren_episodesparameter.closemethod ofBaseEnvclass takes an additionalsave_replayparameter.- Added
saveparameter toclosemethod ofBaseGymEnvclass. - Added
closeparameter toevolvemethod ofBaseGymEnvclass. - Added
BaseSB3Envclass to support Stable-Baselines3 vectorized environments.
- Updated
quantrl.envs.deterministicmodule:- Removed
n_trajectoriesand addedn_propertiesparameters toLinearizedHOEnvclass. - Removed
actionsparameter fromLinearizedHOEnv._stepmethod. - Added
LinearizedHOVecEnvclass to interface vectorized environments.
- Removed
- Updated
quantrl.envs.stochastic.LinearEnvclass:- Removed
n_trajectoriesand addedn_propertiesparameters. - Removed
actionsparameter from_stepand_step_wienermethods.
- Removed
- Updated
quantrl.io.FileIOclass:- Added option to initialize with
data_shapeparameter. - Renamed
max_cache_sizeparameter todisk_cache_size. - Added
dump_cacheparameter inclosemethod.
- Added option to initialize with
- Added option to save plots in
save_dirdirectory inquantrl.plotters.TrajectoryPlotterclass. - Updated
README,requirementsandsetup.
- Updated
quantrl.envs.base.BaseGymEnvclass:- Implemented keyword arguments in initialization.
- Properties are saved if the child method exists.
- Minor fixes to
quantrl.envs.deterministic.LinearizedHOEnvclass. - Updated Wiener process for drift matrix in
quantrl.envs.stochastic.LinearEnvclass. - Reversed the sequence of arguments in
quantrl.solvers.differential.SciPyIVPSolverclass. - Update tick options in
quantrl.plottermodule. - Updated
READMEandsetup.
- Restructured
quantrl.envs.rlmodule:- Created
quantrl.envs.basemodule withBaseGymEnv. - Created
quantrl.envs.deterministicmodule withLinearizedHOEnv. - Created
quantrl.envs.stochasticmodule 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
READMEandsetup.
- Replaced
quantrl.envs.BaseEnvwithquantrl.envs.rl. - Added
quantrl.solvers.differentialmodule with DDE support. - Renamed
quantrl.solvers.QCMSolvertoquantrl.solvers.measure. - Replaced
quantrl.logwithquantrl.io. - Replaced
quantrl.utilswithquantrl.plotters. - Added
README,requirementsandsetup.
- Added
quantrl.envs.BaseEnvmodule. - Added
quantrl.solvers.QCMSolvermodule. - Added
quantrl.logandquantrl.utilsmodule. - Added
CHANGELOG,READMEandsetup.