From c4d05977941acc7aadc44c725ced872f0e353165 Mon Sep 17 00:00:00 2001 From: Huai-Ming Yu Date: Sun, 19 Jan 2025 20:39:59 +0800 Subject: [PATCH 1/7] Remove subpackages from src/ to lib/ --- Makefile | 29 +++++++++++++++++++ {src => lib}/NVMagnetometer/LICENSE | 0 {src => lib}/NVMagnetometer/Project.toml | 0 {src => lib}/NVMagnetometer/README.md | 0 .../NVMagnetometer/src/NVMagnetometer.jl | 0 {src => lib}/NVMagnetometer/src/show.jl | 0 {src => lib}/NVMagnetometer/test/runtests.jl | 0 {src => lib}/QuanEstimationBase/.gitignore | 0 {src => lib}/QuanEstimationBase/LICENSE | 0 {src => lib}/QuanEstimationBase/Project.toml | 0 {src => lib}/QuanEstimationBase/README.md | 0 .../examples/test_error_control.jl | 0 .../examples/test_error_eval.jl | 0 .../ext/QuanEstimationBasePyExt.jl | 0 .../QuanEstimationBase/src/Algorithm/AD.jl | 0 .../src/Algorithm/Algorithm.jl | 0 .../QuanEstimationBase/src/Algorithm/DDPG.jl | 0 .../QuanEstimationBase/src/Algorithm/DE.jl | 0 .../QuanEstimationBase/src/Algorithm/GRAPE.jl | 0 .../QuanEstimationBase/src/Algorithm/NM.jl | 0 .../QuanEstimationBase/src/Algorithm/PSO.jl | 0 .../QuanEstimationBase/src/Algorithm/RI.jl | 0 .../src/Common/BayesEstimation.jl | 0 .../QuanEstimationBase/src/Common/Common.jl | 0 .../QuanEstimationBase/src/Common/mintime.jl | 0 .../AsymptoticBound/AnalogCramerRao.jl | 0 .../AsymptoticBound/AsymptoticBound.jl | 0 .../AsymptoticBound/AsymptoticBoundWrapper.jl | 0 .../AsymptoticBound/CramerRao.jl | 0 .../BayesianBound/BayesianBound.jl | 0 .../BayesianBound/BayesianCramerRao.jl | 0 .../ObjectiveFunc/BayesianBound/ZivZakai.jl | 0 .../src/ObjectiveFunc/ObjectiveFunc.jl | 0 .../src/OptScenario/OptScenario.jl | 0 .../src/OptScenario/optimize.jl | 0 .../src/QuanEstimationBase.jl | 0 .../src/Resource/Resource.jl | 0 .../AdaptiveEstimation/AdaptiveEstimation.jl | 0 .../AdaptiveEstimation/AdptiveMZI.jl | 0 .../EstimationStrategy/EstimationStrategy.jl | 0 .../src/Scheme/Measurement/Measurement.jl | 0 .../Scheme/Parameterization/Kraus/Kraus.jl | 0 .../Parameterization/Kraus/KrausData.jl | 0 .../Kraus/KrausParamerization.jl | 0 .../Parameterization/Kraus/KrausWrapper.jl | 0 .../Parameterization/Lindblad/Lindblad.jl | 0 .../Parameterization/Lindblad/LindbladData.jl | 0 .../Lindblad/LindbladDynamics.jl | 0 .../Lindblad/LindbladWrapper.jl | 0 .../Parameterization/Parameterization.jl | 0 .../Scheme/Parameterization/QubitDynamics.jl | 0 .../QuanEstimationBase/src/Scheme/Scheme.jl | 0 .../StatePreparation/StatePreparation.jl | 0 .../src/Scheme/error_control.jl | 0 .../src/Scheme/error_evaluation.jl | 0 .../QuanEstimationBase/src/Scheme/show.jl | 0 {src => lib}/QuanEstimationBase/src/io.jl | 0 {src => lib}/QuanEstimationBase/src/output.jl | 0 .../src/sic_fiducial_vectors/d10.txt | 0 .../src/sic_fiducial_vectors/d100.txt | 0 .../src/sic_fiducial_vectors/d101.txt | 0 .../src/sic_fiducial_vectors/d102.txt | 0 .../src/sic_fiducial_vectors/d103.txt | 0 .../src/sic_fiducial_vectors/d104.txt | 0 .../src/sic_fiducial_vectors/d105.txt | 0 .../src/sic_fiducial_vectors/d106.txt | 0 .../src/sic_fiducial_vectors/d107.txt | 0 .../src/sic_fiducial_vectors/d108.txt | 0 .../src/sic_fiducial_vectors/d109.txt | 0 .../src/sic_fiducial_vectors/d11.txt | 0 .../src/sic_fiducial_vectors/d110.txt | 0 .../src/sic_fiducial_vectors/d111.txt | 0 .../src/sic_fiducial_vectors/d112.txt | 0 .../src/sic_fiducial_vectors/d113.txt | 0 .../src/sic_fiducial_vectors/d114.txt | 0 .../src/sic_fiducial_vectors/d115.txt | 0 .../src/sic_fiducial_vectors/d116.txt | 0 .../src/sic_fiducial_vectors/d117.txt | 0 .../src/sic_fiducial_vectors/d118.txt | 0 .../src/sic_fiducial_vectors/d119.txt | 0 .../src/sic_fiducial_vectors/d12.txt | 0 .../src/sic_fiducial_vectors/d120.txt | 0 .../src/sic_fiducial_vectors/d121.txt | 0 .../src/sic_fiducial_vectors/d122.txt | 0 .../src/sic_fiducial_vectors/d123.txt | 0 .../src/sic_fiducial_vectors/d124.txt | 0 .../src/sic_fiducial_vectors/d125.txt | 0 .../src/sic_fiducial_vectors/d126.txt | 0 .../src/sic_fiducial_vectors/d127.txt | 0 .../src/sic_fiducial_vectors/d128.txt | 0 .../src/sic_fiducial_vectors/d129.txt | 0 .../src/sic_fiducial_vectors/d13.txt | 0 .../src/sic_fiducial_vectors/d130.txt | 0 .../src/sic_fiducial_vectors/d131.txt | 0 .../src/sic_fiducial_vectors/d132.txt | 0 .../src/sic_fiducial_vectors/d133.txt | 0 .../src/sic_fiducial_vectors/d134.txt | 0 .../src/sic_fiducial_vectors/d135.txt | 0 .../src/sic_fiducial_vectors/d136.txt | 0 .../src/sic_fiducial_vectors/d137.txt | 0 .../src/sic_fiducial_vectors/d138.txt | 0 .../src/sic_fiducial_vectors/d139.txt | 0 .../src/sic_fiducial_vectors/d14.txt | 0 .../src/sic_fiducial_vectors/d140.txt | 0 .../src/sic_fiducial_vectors/d141.txt | 0 .../src/sic_fiducial_vectors/d142.txt | 0 .../src/sic_fiducial_vectors/d143.txt | 0 .../src/sic_fiducial_vectors/d144.txt | 0 .../src/sic_fiducial_vectors/d145.txt | 0 .../src/sic_fiducial_vectors/d146.txt | 0 .../src/sic_fiducial_vectors/d147.txt | 0 .../src/sic_fiducial_vectors/d148.txt | 0 .../src/sic_fiducial_vectors/d149.txt | 0 .../src/sic_fiducial_vectors/d15.txt | 0 .../src/sic_fiducial_vectors/d150.txt | 0 .../src/sic_fiducial_vectors/d151.txt | 0 .../src/sic_fiducial_vectors/d16.txt | 0 .../src/sic_fiducial_vectors/d17.txt | 0 .../src/sic_fiducial_vectors/d18.txt | 0 .../src/sic_fiducial_vectors/d19.txt | 0 .../src/sic_fiducial_vectors/d2.txt | 0 .../src/sic_fiducial_vectors/d20.txt | 0 .../src/sic_fiducial_vectors/d21.txt | 0 .../src/sic_fiducial_vectors/d22.txt | 0 .../src/sic_fiducial_vectors/d23.txt | 0 .../src/sic_fiducial_vectors/d24.txt | 0 .../src/sic_fiducial_vectors/d25.txt | 0 .../src/sic_fiducial_vectors/d26.txt | 0 .../src/sic_fiducial_vectors/d27.txt | 0 .../src/sic_fiducial_vectors/d28.txt | 0 .../src/sic_fiducial_vectors/d29.txt | 0 .../src/sic_fiducial_vectors/d3.txt | 0 .../src/sic_fiducial_vectors/d30.txt | 0 .../src/sic_fiducial_vectors/d31.txt | 0 .../src/sic_fiducial_vectors/d32.txt | 0 .../src/sic_fiducial_vectors/d33.txt | 0 .../src/sic_fiducial_vectors/d34.txt | 0 .../src/sic_fiducial_vectors/d35.txt | 0 .../src/sic_fiducial_vectors/d36.txt | 0 .../src/sic_fiducial_vectors/d37.txt | 0 .../src/sic_fiducial_vectors/d38.txt | 0 .../src/sic_fiducial_vectors/d39.txt | 0 .../src/sic_fiducial_vectors/d4.txt | 0 .../src/sic_fiducial_vectors/d40.txt | 0 .../src/sic_fiducial_vectors/d41.txt | 0 .../src/sic_fiducial_vectors/d42.txt | 0 .../src/sic_fiducial_vectors/d43.txt | 0 .../src/sic_fiducial_vectors/d44.txt | 0 .../src/sic_fiducial_vectors/d45.txt | 0 .../src/sic_fiducial_vectors/d46.txt | 0 .../src/sic_fiducial_vectors/d47.txt | 0 .../src/sic_fiducial_vectors/d48.txt | 0 .../src/sic_fiducial_vectors/d49.txt | 0 .../src/sic_fiducial_vectors/d5.txt | 0 .../src/sic_fiducial_vectors/d50.txt | 0 .../src/sic_fiducial_vectors/d51.txt | 0 .../src/sic_fiducial_vectors/d52.txt | 0 .../src/sic_fiducial_vectors/d53.txt | 0 .../src/sic_fiducial_vectors/d54.txt | 0 .../src/sic_fiducial_vectors/d55.txt | 0 .../src/sic_fiducial_vectors/d56.txt | 0 .../src/sic_fiducial_vectors/d57.txt | 0 .../src/sic_fiducial_vectors/d58.txt | 0 .../src/sic_fiducial_vectors/d59.txt | 0 .../src/sic_fiducial_vectors/d6.txt | 0 .../src/sic_fiducial_vectors/d60.txt | 0 .../src/sic_fiducial_vectors/d61.txt | 0 .../src/sic_fiducial_vectors/d62.txt | 0 .../src/sic_fiducial_vectors/d63.txt | 0 .../src/sic_fiducial_vectors/d64.txt | 0 .../src/sic_fiducial_vectors/d65.txt | 0 .../src/sic_fiducial_vectors/d66.txt | 0 .../src/sic_fiducial_vectors/d67.txt | 0 .../src/sic_fiducial_vectors/d68.txt | 0 .../src/sic_fiducial_vectors/d69.txt | 0 .../src/sic_fiducial_vectors/d7.txt | 0 .../src/sic_fiducial_vectors/d70.txt | 0 .../src/sic_fiducial_vectors/d71.txt | 0 .../src/sic_fiducial_vectors/d72.txt | 0 .../src/sic_fiducial_vectors/d73.txt | 0 .../src/sic_fiducial_vectors/d74.txt | 0 .../src/sic_fiducial_vectors/d75.txt | 0 .../src/sic_fiducial_vectors/d76.txt | 0 .../src/sic_fiducial_vectors/d77.txt | 0 .../src/sic_fiducial_vectors/d78.txt | 0 .../src/sic_fiducial_vectors/d79.txt | 0 .../src/sic_fiducial_vectors/d8.txt | 0 .../src/sic_fiducial_vectors/d80.txt | 0 .../src/sic_fiducial_vectors/d81.txt | 0 .../src/sic_fiducial_vectors/d82.txt | 0 .../src/sic_fiducial_vectors/d83.txt | 0 .../src/sic_fiducial_vectors/d84.txt | 0 .../src/sic_fiducial_vectors/d85.txt | 0 .../src/sic_fiducial_vectors/d86.txt | 0 .../src/sic_fiducial_vectors/d87.txt | 0 .../src/sic_fiducial_vectors/d88.txt | 0 .../src/sic_fiducial_vectors/d89.txt | 0 .../src/sic_fiducial_vectors/d9.txt | 0 .../src/sic_fiducial_vectors/d90.txt | 0 .../src/sic_fiducial_vectors/d91.txt | 0 .../src/sic_fiducial_vectors/d92.txt | 0 .../src/sic_fiducial_vectors/d93.txt | 0 .../src/sic_fiducial_vectors/d94.txt | 0 .../src/sic_fiducial_vectors/d95.txt | 0 .../src/sic_fiducial_vectors/d96.txt | 0 .../src/sic_fiducial_vectors/d97.txt | 0 .../src/sic_fiducial_vectors/d98.txt | 0 .../src/sic_fiducial_vectors/d99.txt | 0 .../test/adaptive/test_adaptive_estimation.jl | 0 .../adaptive/test_adaptive_estimation_MZI.jl | 0 .../test/algorithms/test_AD.jl | 0 .../test/algorithms/test_DE.jl | 0 .../test/algorithms/test_PSO.jl | 0 .../test/bayesian/test_bayesian_estimation.jl | 0 .../test/dynamics/test_init_scheme.jl | 0 .../test/dynamics/test_kraus.jl | 0 .../test/dynamics/test_kraus_wrapper.jl | 0 .../test/dynamics/test_lindblad.jl | 0 .../test_bayesian_cramer_rao.jl | 0 .../test_cramer_rao_bounds.jl | 0 .../test_fisher_information_matrix.jl | 0 .../test/objective_functions/test_hcrb.jl | 0 .../test/objective_functions/test_nhb.jl | 0 .../test_objective_wrapper.jl | 0 .../objective_functions/test_ziv_zakai.jl | 0 .../test/optimization/test_opt_scenario.jl | 0 .../QuanEstimationBase/test/runtests.jl | 0 .../test/scheme/test_measurement.jl | 0 .../test/scheme/test_parameterization.jl | 0 .../test/scheme/test_state.jl | 0 .../QuanEstimationBase/test/test_mintime.jl | 0 .../QuanEstimationBase/test/test_sic.jl | 0 {src => lib}/QuanEstimationBase/test/utils.jl | 0 233 files changed, 29 insertions(+) create mode 100644 Makefile rename {src => lib}/NVMagnetometer/LICENSE (100%) rename {src => lib}/NVMagnetometer/Project.toml (100%) rename {src => lib}/NVMagnetometer/README.md (100%) rename {src => lib}/NVMagnetometer/src/NVMagnetometer.jl (100%) rename {src => lib}/NVMagnetometer/src/show.jl (100%) rename {src => lib}/NVMagnetometer/test/runtests.jl (100%) rename {src => lib}/QuanEstimationBase/.gitignore (100%) rename {src => lib}/QuanEstimationBase/LICENSE (100%) rename {src => lib}/QuanEstimationBase/Project.toml (100%) rename {src => lib}/QuanEstimationBase/README.md (100%) rename {src => lib}/QuanEstimationBase/examples/test_error_control.jl (100%) rename {src => lib}/QuanEstimationBase/examples/test_error_eval.jl (100%) rename {src => lib}/QuanEstimationBase/ext/QuanEstimationBasePyExt.jl (100%) rename {src => lib}/QuanEstimationBase/src/Algorithm/AD.jl (100%) rename {src => lib}/QuanEstimationBase/src/Algorithm/Algorithm.jl (100%) rename {src => lib}/QuanEstimationBase/src/Algorithm/DDPG.jl (100%) rename {src => lib}/QuanEstimationBase/src/Algorithm/DE.jl (100%) rename {src => lib}/QuanEstimationBase/src/Algorithm/GRAPE.jl (100%) rename {src => lib}/QuanEstimationBase/src/Algorithm/NM.jl (100%) rename {src => lib}/QuanEstimationBase/src/Algorithm/PSO.jl (100%) rename {src => lib}/QuanEstimationBase/src/Algorithm/RI.jl (100%) rename {src => lib}/QuanEstimationBase/src/Common/BayesEstimation.jl (100%) rename {src => lib}/QuanEstimationBase/src/Common/Common.jl (100%) rename {src => lib}/QuanEstimationBase/src/Common/mintime.jl (100%) rename {src => lib}/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AnalogCramerRao.jl (100%) rename {src => lib}/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AsymptoticBound.jl (100%) rename {src => lib}/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AsymptoticBoundWrapper.jl (100%) rename {src => lib}/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/CramerRao.jl (100%) rename {src => lib}/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/BayesianBound.jl (100%) rename {src => lib}/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/BayesianCramerRao.jl (100%) rename {src => lib}/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/ZivZakai.jl (100%) rename {src => lib}/QuanEstimationBase/src/ObjectiveFunc/ObjectiveFunc.jl (100%) rename {src => lib}/QuanEstimationBase/src/OptScenario/OptScenario.jl (100%) rename {src => lib}/QuanEstimationBase/src/OptScenario/optimize.jl (100%) rename {src => lib}/QuanEstimationBase/src/QuanEstimationBase.jl (100%) rename {src => lib}/QuanEstimationBase/src/Resource/Resource.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/EstimationStrategy/AdaptiveEstimation/AdaptiveEstimation.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/EstimationStrategy/AdaptiveEstimation/AdptiveMZI.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/EstimationStrategy/EstimationStrategy.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Measurement/Measurement.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Parameterization/Kraus/Kraus.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausData.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausParamerization.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausWrapper.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/Lindblad.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladData.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladDynamics.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladWrapper.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Parameterization/Parameterization.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Parameterization/QubitDynamics.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/Scheme.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/StatePreparation/StatePreparation.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/error_control.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/error_evaluation.jl (100%) rename {src => lib}/QuanEstimationBase/src/Scheme/show.jl (100%) rename {src => lib}/QuanEstimationBase/src/io.jl (100%) rename {src => lib}/QuanEstimationBase/src/output.jl (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d10.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d100.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d101.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d102.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d103.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d104.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d105.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d106.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d107.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d108.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d109.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d11.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d110.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d111.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d112.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d113.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d114.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d115.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d116.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d117.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d118.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d119.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d12.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d120.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d121.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d122.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d123.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d124.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d125.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d126.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d127.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d128.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d129.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d13.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d130.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d131.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d132.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d133.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d134.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d135.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d136.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d137.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d138.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d139.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d14.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d140.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d141.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d142.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d143.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d144.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d145.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d146.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d147.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d148.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d149.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d15.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d150.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d151.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d16.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d17.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d18.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d19.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d2.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d20.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d21.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d22.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d23.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d24.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d25.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d26.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d27.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d28.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d29.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d3.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d30.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d31.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d32.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d33.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d34.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d35.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d36.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d37.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d38.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d39.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d4.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d40.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d41.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d42.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d43.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d44.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d45.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d46.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d47.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d48.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d49.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d5.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d50.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d51.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d52.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d53.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d54.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d55.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d56.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d57.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d58.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d59.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d6.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d60.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d61.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d62.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d63.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d64.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d65.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d66.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d67.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d68.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d69.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d7.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d70.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d71.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d72.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d73.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d74.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d75.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d76.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d77.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d78.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d79.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d8.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d80.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d81.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d82.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d83.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d84.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d85.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d86.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d87.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d88.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d89.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d9.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d90.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d91.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d92.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d93.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d94.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d95.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d96.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d97.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d98.txt (100%) rename {src => lib}/QuanEstimationBase/src/sic_fiducial_vectors/d99.txt (100%) rename {src => lib}/QuanEstimationBase/test/adaptive/test_adaptive_estimation.jl (100%) rename {src => lib}/QuanEstimationBase/test/adaptive/test_adaptive_estimation_MZI.jl (100%) rename {src => lib}/QuanEstimationBase/test/algorithms/test_AD.jl (100%) rename {src => lib}/QuanEstimationBase/test/algorithms/test_DE.jl (100%) rename {src => lib}/QuanEstimationBase/test/algorithms/test_PSO.jl (100%) rename {src => lib}/QuanEstimationBase/test/bayesian/test_bayesian_estimation.jl (100%) rename {src => lib}/QuanEstimationBase/test/dynamics/test_init_scheme.jl (100%) rename {src => lib}/QuanEstimationBase/test/dynamics/test_kraus.jl (100%) rename {src => lib}/QuanEstimationBase/test/dynamics/test_kraus_wrapper.jl (100%) rename {src => lib}/QuanEstimationBase/test/dynamics/test_lindblad.jl (100%) rename {src => lib}/QuanEstimationBase/test/objective_functions/test_bayesian_cramer_rao.jl (100%) rename {src => lib}/QuanEstimationBase/test/objective_functions/test_cramer_rao_bounds.jl (100%) rename {src => lib}/QuanEstimationBase/test/objective_functions/test_fisher_information_matrix.jl (100%) rename {src => lib}/QuanEstimationBase/test/objective_functions/test_hcrb.jl (100%) rename {src => lib}/QuanEstimationBase/test/objective_functions/test_nhb.jl (100%) rename {src => lib}/QuanEstimationBase/test/objective_functions/test_objective_wrapper.jl (100%) rename {src => lib}/QuanEstimationBase/test/objective_functions/test_ziv_zakai.jl (100%) rename {src => lib}/QuanEstimationBase/test/optimization/test_opt_scenario.jl (100%) rename {src => lib}/QuanEstimationBase/test/runtests.jl (100%) rename {src => lib}/QuanEstimationBase/test/scheme/test_measurement.jl (100%) rename {src => lib}/QuanEstimationBase/test/scheme/test_parameterization.jl (100%) rename {src => lib}/QuanEstimationBase/test/scheme/test_state.jl (100%) rename {src => lib}/QuanEstimationBase/test/test_mintime.jl (100%) rename {src => lib}/QuanEstimationBase/test/test_sic.jl (100%) rename {src => lib}/QuanEstimationBase/test/utils.jl (100%) diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2824db6 --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +JL = julia --project + +default: init test + +init: + $(JL) -e 'using Pkg; Pkg.develop([Pkg.PackageSpec(path = joinpath("lib", pkg)) for pkg in ["QuanEstimationBase", "NVMagnetometer"]]); Pkg.precompile()' + +update: + $(JL) -e 'using Pkg; Pkg.update(); Pkg.precompile()' +update-docs: + $(JL) -e 'using Pkg; Pkg.activate("docs"); Pkg.update(); Pkg.precompile()' + +test: + $(JL) -e 'using Pkg; Pkg.test("QuanEstimation")' + +test-%: + $(JL) -e 'using Pkg; Pkg.test("$*")' + +coverage: + $(JL) -e 'using Pkg; Pkg.test(["QuanEstimation", "QuanEstimationBase", "NVMagnetometer"]; coverage=true)' + +servedocs: + $(JL) -e 'using Pkg; Pkg.activate("docs"); using LiveServer; servedocs(;skip_dirs=["docs/src/assets", "docs/src/generated"])' + +clean: + rm -rf docs/build + find . -name "*.cov" -type f -print0 | xargs -0 /bin/rm -f + +.PHONY: init test \ No newline at end of file diff --git a/src/NVMagnetometer/LICENSE b/lib/NVMagnetometer/LICENSE similarity index 100% rename from src/NVMagnetometer/LICENSE rename to lib/NVMagnetometer/LICENSE diff --git a/src/NVMagnetometer/Project.toml b/lib/NVMagnetometer/Project.toml similarity index 100% rename from src/NVMagnetometer/Project.toml rename to lib/NVMagnetometer/Project.toml diff --git a/src/NVMagnetometer/README.md b/lib/NVMagnetometer/README.md similarity index 100% rename from src/NVMagnetometer/README.md rename to lib/NVMagnetometer/README.md diff --git a/src/NVMagnetometer/src/NVMagnetometer.jl b/lib/NVMagnetometer/src/NVMagnetometer.jl similarity index 100% rename from src/NVMagnetometer/src/NVMagnetometer.jl rename to lib/NVMagnetometer/src/NVMagnetometer.jl diff --git a/src/NVMagnetometer/src/show.jl b/lib/NVMagnetometer/src/show.jl similarity index 100% rename from src/NVMagnetometer/src/show.jl rename to lib/NVMagnetometer/src/show.jl diff --git a/src/NVMagnetometer/test/runtests.jl b/lib/NVMagnetometer/test/runtests.jl similarity index 100% rename from src/NVMagnetometer/test/runtests.jl rename to lib/NVMagnetometer/test/runtests.jl diff --git a/src/QuanEstimationBase/.gitignore b/lib/QuanEstimationBase/.gitignore similarity index 100% rename from src/QuanEstimationBase/.gitignore rename to lib/QuanEstimationBase/.gitignore diff --git a/src/QuanEstimationBase/LICENSE b/lib/QuanEstimationBase/LICENSE similarity index 100% rename from src/QuanEstimationBase/LICENSE rename to lib/QuanEstimationBase/LICENSE diff --git a/src/QuanEstimationBase/Project.toml b/lib/QuanEstimationBase/Project.toml similarity index 100% rename from src/QuanEstimationBase/Project.toml rename to lib/QuanEstimationBase/Project.toml diff --git a/src/QuanEstimationBase/README.md b/lib/QuanEstimationBase/README.md similarity index 100% rename from src/QuanEstimationBase/README.md rename to lib/QuanEstimationBase/README.md diff --git a/src/QuanEstimationBase/examples/test_error_control.jl b/lib/QuanEstimationBase/examples/test_error_control.jl similarity index 100% rename from src/QuanEstimationBase/examples/test_error_control.jl rename to lib/QuanEstimationBase/examples/test_error_control.jl diff --git a/src/QuanEstimationBase/examples/test_error_eval.jl b/lib/QuanEstimationBase/examples/test_error_eval.jl similarity index 100% rename from src/QuanEstimationBase/examples/test_error_eval.jl rename to lib/QuanEstimationBase/examples/test_error_eval.jl diff --git a/src/QuanEstimationBase/ext/QuanEstimationBasePyExt.jl b/lib/QuanEstimationBase/ext/QuanEstimationBasePyExt.jl similarity index 100% rename from src/QuanEstimationBase/ext/QuanEstimationBasePyExt.jl rename to lib/QuanEstimationBase/ext/QuanEstimationBasePyExt.jl diff --git a/src/QuanEstimationBase/src/Algorithm/AD.jl b/lib/QuanEstimationBase/src/Algorithm/AD.jl similarity index 100% rename from src/QuanEstimationBase/src/Algorithm/AD.jl rename to lib/QuanEstimationBase/src/Algorithm/AD.jl diff --git a/src/QuanEstimationBase/src/Algorithm/Algorithm.jl b/lib/QuanEstimationBase/src/Algorithm/Algorithm.jl similarity index 100% rename from src/QuanEstimationBase/src/Algorithm/Algorithm.jl rename to lib/QuanEstimationBase/src/Algorithm/Algorithm.jl diff --git a/src/QuanEstimationBase/src/Algorithm/DDPG.jl b/lib/QuanEstimationBase/src/Algorithm/DDPG.jl similarity index 100% rename from src/QuanEstimationBase/src/Algorithm/DDPG.jl rename to lib/QuanEstimationBase/src/Algorithm/DDPG.jl diff --git a/src/QuanEstimationBase/src/Algorithm/DE.jl b/lib/QuanEstimationBase/src/Algorithm/DE.jl similarity index 100% rename from src/QuanEstimationBase/src/Algorithm/DE.jl rename to lib/QuanEstimationBase/src/Algorithm/DE.jl diff --git a/src/QuanEstimationBase/src/Algorithm/GRAPE.jl b/lib/QuanEstimationBase/src/Algorithm/GRAPE.jl similarity index 100% rename from src/QuanEstimationBase/src/Algorithm/GRAPE.jl rename to lib/QuanEstimationBase/src/Algorithm/GRAPE.jl diff --git a/src/QuanEstimationBase/src/Algorithm/NM.jl b/lib/QuanEstimationBase/src/Algorithm/NM.jl similarity index 100% rename from src/QuanEstimationBase/src/Algorithm/NM.jl rename to lib/QuanEstimationBase/src/Algorithm/NM.jl diff --git a/src/QuanEstimationBase/src/Algorithm/PSO.jl b/lib/QuanEstimationBase/src/Algorithm/PSO.jl similarity index 100% rename from src/QuanEstimationBase/src/Algorithm/PSO.jl rename to lib/QuanEstimationBase/src/Algorithm/PSO.jl diff --git a/src/QuanEstimationBase/src/Algorithm/RI.jl b/lib/QuanEstimationBase/src/Algorithm/RI.jl similarity index 100% rename from src/QuanEstimationBase/src/Algorithm/RI.jl rename to lib/QuanEstimationBase/src/Algorithm/RI.jl diff --git a/src/QuanEstimationBase/src/Common/BayesEstimation.jl b/lib/QuanEstimationBase/src/Common/BayesEstimation.jl similarity index 100% rename from src/QuanEstimationBase/src/Common/BayesEstimation.jl rename to lib/QuanEstimationBase/src/Common/BayesEstimation.jl diff --git a/src/QuanEstimationBase/src/Common/Common.jl b/lib/QuanEstimationBase/src/Common/Common.jl similarity index 100% rename from src/QuanEstimationBase/src/Common/Common.jl rename to lib/QuanEstimationBase/src/Common/Common.jl diff --git a/src/QuanEstimationBase/src/Common/mintime.jl b/lib/QuanEstimationBase/src/Common/mintime.jl similarity index 100% rename from src/QuanEstimationBase/src/Common/mintime.jl rename to lib/QuanEstimationBase/src/Common/mintime.jl diff --git a/src/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AnalogCramerRao.jl b/lib/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AnalogCramerRao.jl similarity index 100% rename from src/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AnalogCramerRao.jl rename to lib/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AnalogCramerRao.jl diff --git a/src/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AsymptoticBound.jl b/lib/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AsymptoticBound.jl similarity index 100% rename from src/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AsymptoticBound.jl rename to lib/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AsymptoticBound.jl diff --git a/src/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AsymptoticBoundWrapper.jl b/lib/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AsymptoticBoundWrapper.jl similarity index 100% rename from src/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AsymptoticBoundWrapper.jl rename to lib/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/AsymptoticBoundWrapper.jl diff --git a/src/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/CramerRao.jl b/lib/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/CramerRao.jl similarity index 100% rename from src/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/CramerRao.jl rename to lib/QuanEstimationBase/src/ObjectiveFunc/AsymptoticBound/CramerRao.jl diff --git a/src/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/BayesianBound.jl b/lib/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/BayesianBound.jl similarity index 100% rename from src/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/BayesianBound.jl rename to lib/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/BayesianBound.jl diff --git a/src/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/BayesianCramerRao.jl b/lib/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/BayesianCramerRao.jl similarity index 100% rename from src/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/BayesianCramerRao.jl rename to lib/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/BayesianCramerRao.jl diff --git a/src/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/ZivZakai.jl b/lib/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/ZivZakai.jl similarity index 100% rename from src/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/ZivZakai.jl rename to lib/QuanEstimationBase/src/ObjectiveFunc/BayesianBound/ZivZakai.jl diff --git a/src/QuanEstimationBase/src/ObjectiveFunc/ObjectiveFunc.jl b/lib/QuanEstimationBase/src/ObjectiveFunc/ObjectiveFunc.jl similarity index 100% rename from src/QuanEstimationBase/src/ObjectiveFunc/ObjectiveFunc.jl rename to lib/QuanEstimationBase/src/ObjectiveFunc/ObjectiveFunc.jl diff --git a/src/QuanEstimationBase/src/OptScenario/OptScenario.jl b/lib/QuanEstimationBase/src/OptScenario/OptScenario.jl similarity index 100% rename from src/QuanEstimationBase/src/OptScenario/OptScenario.jl rename to lib/QuanEstimationBase/src/OptScenario/OptScenario.jl diff --git a/src/QuanEstimationBase/src/OptScenario/optimize.jl b/lib/QuanEstimationBase/src/OptScenario/optimize.jl similarity index 100% rename from src/QuanEstimationBase/src/OptScenario/optimize.jl rename to lib/QuanEstimationBase/src/OptScenario/optimize.jl diff --git a/src/QuanEstimationBase/src/QuanEstimationBase.jl b/lib/QuanEstimationBase/src/QuanEstimationBase.jl similarity index 100% rename from src/QuanEstimationBase/src/QuanEstimationBase.jl rename to lib/QuanEstimationBase/src/QuanEstimationBase.jl diff --git a/src/QuanEstimationBase/src/Resource/Resource.jl b/lib/QuanEstimationBase/src/Resource/Resource.jl similarity index 100% rename from src/QuanEstimationBase/src/Resource/Resource.jl rename to lib/QuanEstimationBase/src/Resource/Resource.jl diff --git a/src/QuanEstimationBase/src/Scheme/EstimationStrategy/AdaptiveEstimation/AdaptiveEstimation.jl b/lib/QuanEstimationBase/src/Scheme/EstimationStrategy/AdaptiveEstimation/AdaptiveEstimation.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/EstimationStrategy/AdaptiveEstimation/AdaptiveEstimation.jl rename to lib/QuanEstimationBase/src/Scheme/EstimationStrategy/AdaptiveEstimation/AdaptiveEstimation.jl diff --git a/src/QuanEstimationBase/src/Scheme/EstimationStrategy/AdaptiveEstimation/AdptiveMZI.jl b/lib/QuanEstimationBase/src/Scheme/EstimationStrategy/AdaptiveEstimation/AdptiveMZI.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/EstimationStrategy/AdaptiveEstimation/AdptiveMZI.jl rename to lib/QuanEstimationBase/src/Scheme/EstimationStrategy/AdaptiveEstimation/AdptiveMZI.jl diff --git a/src/QuanEstimationBase/src/Scheme/EstimationStrategy/EstimationStrategy.jl b/lib/QuanEstimationBase/src/Scheme/EstimationStrategy/EstimationStrategy.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/EstimationStrategy/EstimationStrategy.jl rename to lib/QuanEstimationBase/src/Scheme/EstimationStrategy/EstimationStrategy.jl diff --git a/src/QuanEstimationBase/src/Scheme/Measurement/Measurement.jl b/lib/QuanEstimationBase/src/Scheme/Measurement/Measurement.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Measurement/Measurement.jl rename to lib/QuanEstimationBase/src/Scheme/Measurement/Measurement.jl diff --git a/src/QuanEstimationBase/src/Scheme/Parameterization/Kraus/Kraus.jl b/lib/QuanEstimationBase/src/Scheme/Parameterization/Kraus/Kraus.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Parameterization/Kraus/Kraus.jl rename to lib/QuanEstimationBase/src/Scheme/Parameterization/Kraus/Kraus.jl diff --git a/src/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausData.jl b/lib/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausData.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausData.jl rename to lib/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausData.jl diff --git a/src/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausParamerization.jl b/lib/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausParamerization.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausParamerization.jl rename to lib/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausParamerization.jl diff --git a/src/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausWrapper.jl b/lib/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausWrapper.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausWrapper.jl rename to lib/QuanEstimationBase/src/Scheme/Parameterization/Kraus/KrausWrapper.jl diff --git a/src/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/Lindblad.jl b/lib/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/Lindblad.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/Lindblad.jl rename to lib/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/Lindblad.jl diff --git a/src/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladData.jl b/lib/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladData.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladData.jl rename to lib/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladData.jl diff --git a/src/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladDynamics.jl b/lib/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladDynamics.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladDynamics.jl rename to lib/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladDynamics.jl diff --git a/src/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladWrapper.jl b/lib/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladWrapper.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladWrapper.jl rename to lib/QuanEstimationBase/src/Scheme/Parameterization/Lindblad/LindbladWrapper.jl diff --git a/src/QuanEstimationBase/src/Scheme/Parameterization/Parameterization.jl b/lib/QuanEstimationBase/src/Scheme/Parameterization/Parameterization.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Parameterization/Parameterization.jl rename to lib/QuanEstimationBase/src/Scheme/Parameterization/Parameterization.jl diff --git a/src/QuanEstimationBase/src/Scheme/Parameterization/QubitDynamics.jl b/lib/QuanEstimationBase/src/Scheme/Parameterization/QubitDynamics.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Parameterization/QubitDynamics.jl rename to lib/QuanEstimationBase/src/Scheme/Parameterization/QubitDynamics.jl diff --git a/src/QuanEstimationBase/src/Scheme/Scheme.jl b/lib/QuanEstimationBase/src/Scheme/Scheme.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/Scheme.jl rename to lib/QuanEstimationBase/src/Scheme/Scheme.jl diff --git a/src/QuanEstimationBase/src/Scheme/StatePreparation/StatePreparation.jl b/lib/QuanEstimationBase/src/Scheme/StatePreparation/StatePreparation.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/StatePreparation/StatePreparation.jl rename to lib/QuanEstimationBase/src/Scheme/StatePreparation/StatePreparation.jl diff --git a/src/QuanEstimationBase/src/Scheme/error_control.jl b/lib/QuanEstimationBase/src/Scheme/error_control.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/error_control.jl rename to lib/QuanEstimationBase/src/Scheme/error_control.jl diff --git a/src/QuanEstimationBase/src/Scheme/error_evaluation.jl b/lib/QuanEstimationBase/src/Scheme/error_evaluation.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/error_evaluation.jl rename to lib/QuanEstimationBase/src/Scheme/error_evaluation.jl diff --git a/src/QuanEstimationBase/src/Scheme/show.jl b/lib/QuanEstimationBase/src/Scheme/show.jl similarity index 100% rename from src/QuanEstimationBase/src/Scheme/show.jl rename to lib/QuanEstimationBase/src/Scheme/show.jl diff --git a/src/QuanEstimationBase/src/io.jl b/lib/QuanEstimationBase/src/io.jl similarity index 100% rename from src/QuanEstimationBase/src/io.jl rename to lib/QuanEstimationBase/src/io.jl diff --git a/src/QuanEstimationBase/src/output.jl b/lib/QuanEstimationBase/src/output.jl similarity index 100% rename from src/QuanEstimationBase/src/output.jl rename to lib/QuanEstimationBase/src/output.jl diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d10.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d10.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d10.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d10.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d100.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d100.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d100.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d100.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d101.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d101.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d101.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d101.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d102.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d102.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d102.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d102.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d103.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d103.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d103.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d103.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d104.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d104.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d104.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d104.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d105.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d105.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d105.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d105.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d106.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d106.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d106.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d106.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d107.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d107.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d107.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d107.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d108.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d108.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d108.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d108.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d109.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d109.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d109.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d109.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d11.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d11.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d11.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d11.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d110.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d110.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d110.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d110.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d111.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d111.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d111.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d111.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d112.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d112.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d112.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d112.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d113.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d113.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d113.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d113.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d114.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d114.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d114.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d114.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d115.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d115.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d115.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d115.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d116.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d116.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d116.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d116.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d117.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d117.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d117.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d117.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d118.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d118.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d118.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d118.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d119.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d119.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d119.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d119.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d12.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d12.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d12.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d12.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d120.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d120.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d120.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d120.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d121.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d121.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d121.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d121.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d122.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d122.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d122.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d122.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d123.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d123.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d123.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d123.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d124.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d124.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d124.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d124.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d125.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d125.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d125.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d125.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d126.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d126.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d126.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d126.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d127.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d127.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d127.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d127.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d128.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d128.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d128.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d128.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d129.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d129.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d129.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d129.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d13.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d13.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d13.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d13.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d130.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d130.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d130.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d130.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d131.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d131.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d131.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d131.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d132.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d132.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d132.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d132.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d133.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d133.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d133.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d133.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d134.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d134.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d134.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d134.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d135.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d135.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d135.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d135.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d136.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d136.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d136.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d136.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d137.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d137.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d137.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d137.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d138.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d138.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d138.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d138.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d139.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d139.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d139.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d139.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d14.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d14.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d14.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d14.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d140.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d140.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d140.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d140.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d141.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d141.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d141.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d141.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d142.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d142.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d142.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d142.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d143.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d143.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d143.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d143.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d144.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d144.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d144.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d144.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d145.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d145.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d145.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d145.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d146.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d146.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d146.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d146.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d147.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d147.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d147.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d147.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d148.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d148.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d148.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d148.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d149.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d149.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d149.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d149.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d15.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d15.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d15.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d15.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d150.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d150.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d150.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d150.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d151.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d151.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d151.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d151.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d16.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d16.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d16.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d16.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d17.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d17.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d17.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d17.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d18.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d18.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d18.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d18.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d19.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d19.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d19.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d19.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d2.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d2.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d2.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d2.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d20.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d20.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d20.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d20.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d21.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d21.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d21.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d21.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d22.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d22.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d22.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d22.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d23.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d23.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d23.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d23.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d24.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d24.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d24.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d24.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d25.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d25.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d25.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d25.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d26.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d26.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d26.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d26.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d27.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d27.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d27.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d27.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d28.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d28.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d28.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d28.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d29.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d29.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d29.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d29.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d3.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d3.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d3.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d3.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d30.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d30.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d30.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d30.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d31.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d31.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d31.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d31.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d32.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d32.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d32.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d32.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d33.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d33.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d33.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d33.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d34.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d34.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d34.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d34.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d35.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d35.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d35.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d35.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d36.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d36.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d36.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d36.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d37.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d37.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d37.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d37.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d38.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d38.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d38.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d38.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d39.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d39.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d39.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d39.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d4.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d4.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d4.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d4.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d40.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d40.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d40.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d40.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d41.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d41.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d41.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d41.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d42.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d42.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d42.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d42.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d43.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d43.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d43.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d43.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d44.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d44.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d44.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d44.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d45.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d45.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d45.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d45.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d46.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d46.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d46.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d46.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d47.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d47.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d47.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d47.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d48.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d48.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d48.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d48.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d49.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d49.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d49.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d49.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d5.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d5.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d5.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d5.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d50.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d50.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d50.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d50.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d51.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d51.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d51.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d51.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d52.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d52.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d52.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d52.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d53.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d53.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d53.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d53.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d54.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d54.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d54.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d54.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d55.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d55.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d55.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d55.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d56.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d56.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d56.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d56.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d57.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d57.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d57.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d57.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d58.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d58.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d58.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d58.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d59.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d59.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d59.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d59.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d6.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d6.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d6.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d6.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d60.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d60.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d60.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d60.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d61.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d61.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d61.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d61.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d62.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d62.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d62.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d62.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d63.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d63.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d63.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d63.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d64.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d64.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d64.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d64.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d65.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d65.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d65.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d65.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d66.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d66.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d66.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d66.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d67.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d67.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d67.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d67.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d68.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d68.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d68.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d68.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d69.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d69.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d69.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d69.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d7.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d7.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d7.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d7.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d70.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d70.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d70.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d70.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d71.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d71.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d71.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d71.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d72.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d72.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d72.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d72.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d73.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d73.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d73.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d73.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d74.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d74.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d74.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d74.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d75.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d75.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d75.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d75.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d76.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d76.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d76.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d76.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d77.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d77.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d77.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d77.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d78.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d78.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d78.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d78.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d79.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d79.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d79.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d79.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d8.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d8.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d8.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d8.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d80.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d80.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d80.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d80.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d81.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d81.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d81.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d81.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d82.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d82.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d82.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d82.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d83.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d83.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d83.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d83.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d84.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d84.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d84.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d84.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d85.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d85.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d85.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d85.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d86.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d86.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d86.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d86.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d87.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d87.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d87.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d87.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d88.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d88.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d88.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d88.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d89.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d89.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d89.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d89.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d9.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d9.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d9.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d9.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d90.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d90.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d90.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d90.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d91.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d91.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d91.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d91.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d92.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d92.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d92.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d92.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d93.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d93.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d93.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d93.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d94.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d94.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d94.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d94.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d95.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d95.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d95.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d95.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d96.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d96.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d96.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d96.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d97.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d97.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d97.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d97.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d98.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d98.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d98.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d98.txt diff --git a/src/QuanEstimationBase/src/sic_fiducial_vectors/d99.txt b/lib/QuanEstimationBase/src/sic_fiducial_vectors/d99.txt similarity index 100% rename from src/QuanEstimationBase/src/sic_fiducial_vectors/d99.txt rename to lib/QuanEstimationBase/src/sic_fiducial_vectors/d99.txt diff --git a/src/QuanEstimationBase/test/adaptive/test_adaptive_estimation.jl b/lib/QuanEstimationBase/test/adaptive/test_adaptive_estimation.jl similarity index 100% rename from src/QuanEstimationBase/test/adaptive/test_adaptive_estimation.jl rename to lib/QuanEstimationBase/test/adaptive/test_adaptive_estimation.jl diff --git a/src/QuanEstimationBase/test/adaptive/test_adaptive_estimation_MZI.jl b/lib/QuanEstimationBase/test/adaptive/test_adaptive_estimation_MZI.jl similarity index 100% rename from src/QuanEstimationBase/test/adaptive/test_adaptive_estimation_MZI.jl rename to lib/QuanEstimationBase/test/adaptive/test_adaptive_estimation_MZI.jl diff --git a/src/QuanEstimationBase/test/algorithms/test_AD.jl b/lib/QuanEstimationBase/test/algorithms/test_AD.jl similarity index 100% rename from src/QuanEstimationBase/test/algorithms/test_AD.jl rename to lib/QuanEstimationBase/test/algorithms/test_AD.jl diff --git a/src/QuanEstimationBase/test/algorithms/test_DE.jl b/lib/QuanEstimationBase/test/algorithms/test_DE.jl similarity index 100% rename from src/QuanEstimationBase/test/algorithms/test_DE.jl rename to lib/QuanEstimationBase/test/algorithms/test_DE.jl diff --git a/src/QuanEstimationBase/test/algorithms/test_PSO.jl b/lib/QuanEstimationBase/test/algorithms/test_PSO.jl similarity index 100% rename from src/QuanEstimationBase/test/algorithms/test_PSO.jl rename to lib/QuanEstimationBase/test/algorithms/test_PSO.jl diff --git a/src/QuanEstimationBase/test/bayesian/test_bayesian_estimation.jl b/lib/QuanEstimationBase/test/bayesian/test_bayesian_estimation.jl similarity index 100% rename from src/QuanEstimationBase/test/bayesian/test_bayesian_estimation.jl rename to lib/QuanEstimationBase/test/bayesian/test_bayesian_estimation.jl diff --git a/src/QuanEstimationBase/test/dynamics/test_init_scheme.jl b/lib/QuanEstimationBase/test/dynamics/test_init_scheme.jl similarity index 100% rename from src/QuanEstimationBase/test/dynamics/test_init_scheme.jl rename to lib/QuanEstimationBase/test/dynamics/test_init_scheme.jl diff --git a/src/QuanEstimationBase/test/dynamics/test_kraus.jl b/lib/QuanEstimationBase/test/dynamics/test_kraus.jl similarity index 100% rename from src/QuanEstimationBase/test/dynamics/test_kraus.jl rename to lib/QuanEstimationBase/test/dynamics/test_kraus.jl diff --git a/src/QuanEstimationBase/test/dynamics/test_kraus_wrapper.jl b/lib/QuanEstimationBase/test/dynamics/test_kraus_wrapper.jl similarity index 100% rename from src/QuanEstimationBase/test/dynamics/test_kraus_wrapper.jl rename to lib/QuanEstimationBase/test/dynamics/test_kraus_wrapper.jl diff --git a/src/QuanEstimationBase/test/dynamics/test_lindblad.jl b/lib/QuanEstimationBase/test/dynamics/test_lindblad.jl similarity index 100% rename from src/QuanEstimationBase/test/dynamics/test_lindblad.jl rename to lib/QuanEstimationBase/test/dynamics/test_lindblad.jl diff --git a/src/QuanEstimationBase/test/objective_functions/test_bayesian_cramer_rao.jl b/lib/QuanEstimationBase/test/objective_functions/test_bayesian_cramer_rao.jl similarity index 100% rename from src/QuanEstimationBase/test/objective_functions/test_bayesian_cramer_rao.jl rename to lib/QuanEstimationBase/test/objective_functions/test_bayesian_cramer_rao.jl diff --git a/src/QuanEstimationBase/test/objective_functions/test_cramer_rao_bounds.jl b/lib/QuanEstimationBase/test/objective_functions/test_cramer_rao_bounds.jl similarity index 100% rename from src/QuanEstimationBase/test/objective_functions/test_cramer_rao_bounds.jl rename to lib/QuanEstimationBase/test/objective_functions/test_cramer_rao_bounds.jl diff --git a/src/QuanEstimationBase/test/objective_functions/test_fisher_information_matrix.jl b/lib/QuanEstimationBase/test/objective_functions/test_fisher_information_matrix.jl similarity index 100% rename from src/QuanEstimationBase/test/objective_functions/test_fisher_information_matrix.jl rename to lib/QuanEstimationBase/test/objective_functions/test_fisher_information_matrix.jl diff --git a/src/QuanEstimationBase/test/objective_functions/test_hcrb.jl b/lib/QuanEstimationBase/test/objective_functions/test_hcrb.jl similarity index 100% rename from src/QuanEstimationBase/test/objective_functions/test_hcrb.jl rename to lib/QuanEstimationBase/test/objective_functions/test_hcrb.jl diff --git a/src/QuanEstimationBase/test/objective_functions/test_nhb.jl b/lib/QuanEstimationBase/test/objective_functions/test_nhb.jl similarity index 100% rename from src/QuanEstimationBase/test/objective_functions/test_nhb.jl rename to lib/QuanEstimationBase/test/objective_functions/test_nhb.jl diff --git a/src/QuanEstimationBase/test/objective_functions/test_objective_wrapper.jl b/lib/QuanEstimationBase/test/objective_functions/test_objective_wrapper.jl similarity index 100% rename from src/QuanEstimationBase/test/objective_functions/test_objective_wrapper.jl rename to lib/QuanEstimationBase/test/objective_functions/test_objective_wrapper.jl diff --git a/src/QuanEstimationBase/test/objective_functions/test_ziv_zakai.jl b/lib/QuanEstimationBase/test/objective_functions/test_ziv_zakai.jl similarity index 100% rename from src/QuanEstimationBase/test/objective_functions/test_ziv_zakai.jl rename to lib/QuanEstimationBase/test/objective_functions/test_ziv_zakai.jl diff --git a/src/QuanEstimationBase/test/optimization/test_opt_scenario.jl b/lib/QuanEstimationBase/test/optimization/test_opt_scenario.jl similarity index 100% rename from src/QuanEstimationBase/test/optimization/test_opt_scenario.jl rename to lib/QuanEstimationBase/test/optimization/test_opt_scenario.jl diff --git a/src/QuanEstimationBase/test/runtests.jl b/lib/QuanEstimationBase/test/runtests.jl similarity index 100% rename from src/QuanEstimationBase/test/runtests.jl rename to lib/QuanEstimationBase/test/runtests.jl diff --git a/src/QuanEstimationBase/test/scheme/test_measurement.jl b/lib/QuanEstimationBase/test/scheme/test_measurement.jl similarity index 100% rename from src/QuanEstimationBase/test/scheme/test_measurement.jl rename to lib/QuanEstimationBase/test/scheme/test_measurement.jl diff --git a/src/QuanEstimationBase/test/scheme/test_parameterization.jl b/lib/QuanEstimationBase/test/scheme/test_parameterization.jl similarity index 100% rename from src/QuanEstimationBase/test/scheme/test_parameterization.jl rename to lib/QuanEstimationBase/test/scheme/test_parameterization.jl diff --git a/src/QuanEstimationBase/test/scheme/test_state.jl b/lib/QuanEstimationBase/test/scheme/test_state.jl similarity index 100% rename from src/QuanEstimationBase/test/scheme/test_state.jl rename to lib/QuanEstimationBase/test/scheme/test_state.jl diff --git a/src/QuanEstimationBase/test/test_mintime.jl b/lib/QuanEstimationBase/test/test_mintime.jl similarity index 100% rename from src/QuanEstimationBase/test/test_mintime.jl rename to lib/QuanEstimationBase/test/test_mintime.jl diff --git a/src/QuanEstimationBase/test/test_sic.jl b/lib/QuanEstimationBase/test/test_sic.jl similarity index 100% rename from src/QuanEstimationBase/test/test_sic.jl rename to lib/QuanEstimationBase/test/test_sic.jl diff --git a/src/QuanEstimationBase/test/utils.jl b/lib/QuanEstimationBase/test/utils.jl similarity index 100% rename from src/QuanEstimationBase/test/utils.jl rename to lib/QuanEstimationBase/test/utils.jl From b6298b540dd1c26c24ac9a1ec6e449e96f60d1fb Mon Sep 17 00:00:00 2001 From: Huai-Ming Yu Date: Sun, 19 Jan 2025 20:52:47 +0800 Subject: [PATCH 2/7] fix CI --- .github/workflows/CI_NVMagnetometer.yml | 6 +++--- .github/workflows/CI_QuanEstimation.yml | 1 + .github/workflows/CI_QuanEstimationBase.yml | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI_NVMagnetometer.yml b/.github/workflows/CI_NVMagnetometer.yml index 6e25283..37d2aed 100644 --- a/.github/workflows/CI_NVMagnetometer.yml +++ b/.github/workflows/CI_NVMagnetometer.yml @@ -4,7 +4,7 @@ on: branches: - main paths: - - "src/NVMagnetometer/**" + - "lib/NVMagnetometer/**" - ".github/workflows/CI_NVMagnetometer.yml" push: branches: @@ -53,10 +53,10 @@ jobs: Pkg.Registry.update() # Install packages present in subdirectories dev_pks = Pkg.PackageSpec[] - for path in ("src/QuanEstimationBase",) + for path in ("lib/QuanEstimationBase",) push!(dev_pks, Pkg.PackageSpec(; path)) end Pkg.develop(dev_pks) Pkg.instantiate() Pkg.test(; coverage="user") - shell: julia --color=yes --code-coverage=user --depwarn=yes --project=src/NVMagnetometer {0} \ No newline at end of file + shell: julia --color=yes --code-coverage=user --depwarn=yes --project=lib/NVMagnetometer {0} \ No newline at end of file diff --git a/.github/workflows/CI_QuanEstimation.yml b/.github/workflows/CI_QuanEstimation.yml index 8ef8022..42a5d22 100644 --- a/.github/workflows/CI_QuanEstimation.yml +++ b/.github/workflows/CI_QuanEstimation.yml @@ -5,6 +5,7 @@ on: - main paths: - "src/**" + - "lib/**" - "ext/**" - "test/**" - "Project.toml" diff --git a/.github/workflows/CI_QuanEstimationBase.yml b/.github/workflows/CI_QuanEstimationBase.yml index ac36207..8612938 100644 --- a/.github/workflows/CI_QuanEstimationBase.yml +++ b/.github/workflows/CI_QuanEstimationBase.yml @@ -4,7 +4,7 @@ on: branches: - main paths: - - "src/QuanEstimationBase/**" + - "lib/QuanEstimationBase/**" - ".github/workflows/CI_QuanEstimationBase.yml" push: branches: @@ -51,4 +51,4 @@ jobs: run: | import Pkg Pkg.Registry.update() - shell: julia --color=yes --code-coverage=user --depwarn=yes --project=src/QuanEstimationBase {0} \ No newline at end of file + shell: julia --color=yes --code-coverage=user --depwarn=yes --project=lib/QuanEstimationBase {0} \ No newline at end of file From 1a370219d577f8a72bd348c51a79438f0c035f9c Mon Sep 17 00:00:00 2001 From: Huai-Ming Yu Date: Sun, 19 Jan 2025 20:57:09 +0800 Subject: [PATCH 3/7] fix CIs for QuanEstimation --- .github/workflows/CI_QuanEstimation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI_QuanEstimation.yml b/.github/workflows/CI_QuanEstimation.yml index 42a5d22..a06d1bb 100644 --- a/.github/workflows/CI_QuanEstimation.yml +++ b/.github/workflows/CI_QuanEstimation.yml @@ -59,7 +59,7 @@ jobs: Pkg.Registry.update() # Install packages present in subdirectories dev_pks = Pkg.PackageSpec[] - for path in ("src/QuanEstimationBase", "src/NVMagnetometer") + for path in ("lib/QuanEstimationBase", "lib/NVMagnetometer") push!(dev_pks, Pkg.PackageSpec(; path)) end Pkg.develop(dev_pks) From a59bf73438ea6ea24c31d97563fec3f4ba6a4891 Mon Sep 17 00:00:00 2001 From: Huai-Ming Yu Date: Sun, 19 Jan 2025 21:29:32 +0800 Subject: [PATCH 4/7] update CI --- .github/workflows/CI_QuanEstimation.yml | 2 +- .github/workflows/CI_QuanEstimationBase.yml | 8 ++++++++ lib/QuanEstimationBase/test/algorithms/test_AD.jl | 6 +++--- lib/QuanEstimationBase/test/algorithms/test_DE.jl | 10 +++++----- lib/QuanEstimationBase/test/algorithms/test_PSO.jl | 6 +++--- .../test/optimization/test_opt_scenario.jl | 4 ++-- lib/QuanEstimationBase/test/runtests.jl | 4 ---- 7 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.github/workflows/CI_QuanEstimation.yml b/.github/workflows/CI_QuanEstimation.yml index a06d1bb..8d93490 100644 --- a/.github/workflows/CI_QuanEstimation.yml +++ b/.github/workflows/CI_QuanEstimation.yml @@ -68,7 +68,7 @@ jobs: shell: julia --color=yes --code-coverage=user --depwarn=yes --project=. {0} - uses: julia-actions/julia-processcoverage@v1 with: - directories: src + directories: src, lib/QuanEstimationBase, lib/NVMagnetometer - uses: codecov/codecov-action@v5 with: files: lcov.info diff --git a/.github/workflows/CI_QuanEstimationBase.yml b/.github/workflows/CI_QuanEstimationBase.yml index 8612938..95b32eb 100644 --- a/.github/workflows/CI_QuanEstimationBase.yml +++ b/.github/workflows/CI_QuanEstimationBase.yml @@ -51,4 +51,12 @@ jobs: run: | import Pkg Pkg.Registry.update() + # Install packages present in subdirectories + dev_pks = Pkg.PackageSpec[] + for path in ("lib/QuanEstimationBase",) + push!(dev_pks, Pkg.PackageSpec(; path)) + end + Pkg.develop(dev_pks) + Pkg.instantiate() + Pkg.test(; coverage="user") shell: julia --color=yes --code-coverage=user --depwarn=yes --project=lib/QuanEstimationBase {0} \ No newline at end of file diff --git a/lib/QuanEstimationBase/test/algorithms/test_AD.jl b/lib/QuanEstimationBase/test/algorithms/test_AD.jl index cb7a3c0..3da6b1e 100644 --- a/lib/QuanEstimationBase/test/algorithms/test_AD.jl +++ b/lib/QuanEstimationBase/test/algorithms/test_AD.jl @@ -21,7 +21,7 @@ end function test_Mopt_Projection() M = QuanEstimationBase.SIC(2) seed = 1234 - opt = Mopt_Projection(; M = M, seed = seed) + opt = MeasurementOpt(; mtype = :Projection, M = M, seed = seed) @test opt.M == M @test opt.rng == MersenneTwister(seed) end @@ -31,7 +31,7 @@ function test_Mopt_LinearComb() POVM_basis = QuanEstimationBase.SIC(2) M_num = 2 seed = 1234 - opt = Mopt_LinearComb(POVM_basis = POVM_basis, M_num = M_num, seed = seed) + opt = MeasurementOpt(; mtype = :LC,POVM_basis = POVM_basis, M_num = M_num, seed = seed) @test opt.POVM_basis == POVM_basis @test opt.M_num == M_num @test opt.rng == MersenneTwister(seed) @@ -41,7 +41,7 @@ end function test_Mopt_Rotation() POVM_basis = QuanEstimationBase.SIC(2) seed = 1234 - opt = Mopt_Rotation(POVM_basis = POVM_basis, seed = seed) + opt = MeasurementOpt(; mtype = :Rotation, POVM_basis = POVM_basis, seed = seed) @test opt.POVM_basis == POVM_basis @test opt.rng == MersenneTwister(seed) end diff --git a/lib/QuanEstimationBase/test/algorithms/test_DE.jl b/lib/QuanEstimationBase/test/algorithms/test_DE.jl index eaaf4aa..d37991c 100644 --- a/lib/QuanEstimationBase/test/algorithms/test_DE.jl +++ b/lib/QuanEstimationBase/test/algorithms/test_DE.jl @@ -16,10 +16,10 @@ function test_StateOpt() @test opt.rng == MersenneTwister(seed) end -function test_Mopt_Projection() +function test_MeasurementOpt(; mtype = :Projection,) M = QuanEstimationBase.SIC(2) seed = 1234 - opt = Mopt_Projection(M = M, seed = seed) + opt = MeasurementOpt(; mtype = :Projection,M = M, seed = seed) @test opt.M == M @test opt.rng == MersenneTwister(seed) end @@ -28,7 +28,7 @@ function test_Mopt_LinearComb() POVM_basis = QuanEstimationBase.SIC(2) M_num = 2 seed = 1234 - opt = Mopt_LinearComb(POVM_basis = POVM_basis, M_num = M_num, seed = seed) + opt = MeasurementOpt(; mtype = :LC, POVM_basis = POVM_basis, M_num = M_num, seed = seed) @test opt.POVM_basis == POVM_basis @test opt.M_num == M_num @test opt.rng == MersenneTwister(seed) @@ -37,7 +37,7 @@ end function test_Mopt_Rotation() POVM_basis = QuanEstimationBase.SIC(2) seed = 1234 - opt = Mopt_Rotation(POVM_basis = POVM_basis, seed = seed) + opt = MeasurementOpt(; mtype = :Rotation,POVM_basis = POVM_basis, seed = seed) @test opt.POVM_basis == POVM_basis @test opt.rng == MersenneTwister(seed) end @@ -52,7 +52,7 @@ function test_OptScenario() end @testset "Mopt_Projection" begin - test_Mopt_Projection() + test_MeasurementOpt() end @testset "Mopt_LinearComb" begin diff --git a/lib/QuanEstimationBase/test/algorithms/test_PSO.jl b/lib/QuanEstimationBase/test/algorithms/test_PSO.jl index 886ce9e..aa42035 100644 --- a/lib/QuanEstimationBase/test/algorithms/test_PSO.jl +++ b/lib/QuanEstimationBase/test/algorithms/test_PSO.jl @@ -19,7 +19,7 @@ end function test_Mopt_Projection() M = QuanEstimationBase.SIC(2) seed = 1234 - opt = Mopt_Projection(M = M, seed = seed) + opt = MeasurementOpt(; mtype = :Projection,M = M, seed = seed) @test opt.M == M @test opt.rng == MersenneTwister(seed) end @@ -28,7 +28,7 @@ function test_Mopt_LinearComb() POVM_basis = QuanEstimationBase.SIC(2) M_num = 2 seed = 1234 - opt = Mopt_LinearComb(POVM_basis = POVM_basis, M_num = M_num, seed = seed) + opt = MeasurementOpt(; mtype = :LC, POVM_basis = POVM_basis, M_num = M_num, seed = seed) @test opt.POVM_basis == POVM_basis @test opt.M_num == M_num @test opt.rng == MersenneTwister(seed) @@ -37,7 +37,7 @@ end function test_Mopt_Rotation() POVM_basis = QuanEstimationBase.SIC(2) seed = 1234 - opt = Mopt_Rotation(POVM_basis = POVM_basis, seed = seed) + opt = MeasurementOpt(; mtype = :Rotation, POVM_basis = POVM_basis, seed = seed) @test opt.POVM_basis == POVM_basis @test opt.rng == MersenneTwister(seed) end diff --git a/lib/QuanEstimationBase/test/optimization/test_opt_scenario.jl b/lib/QuanEstimationBase/test/optimization/test_opt_scenario.jl index 1b63a3b..d4216ef 100644 --- a/lib/QuanEstimationBase/test/optimization/test_opt_scenario.jl +++ b/lib/QuanEstimationBase/test/optimization/test_opt_scenario.jl @@ -35,7 +35,7 @@ end function test_Mopt_Projection() M = QuanEstimationBase.SIC(2) seed = 1234 - opt = Mopt_Projection(M = M, seed = seed) + opt = MeasurementOpt(; mtype = :Projection,M = M, seed = seed) @test opt.M == M @test opt.rng == MersenneTwister(seed) end @@ -45,7 +45,7 @@ function test_Mopt_LinearComb() POVM_basis = QuanEstimationBase.SIC(2) M_num = 2 seed = 1234 - opt = Mopt_LinearComb(POVM_basis = POVM_basis, M_num = M_num, seed = seed) + opt = MeasurementOpt(; mtype = :LC, POVM_basis = POVM_basis, M_num = M_num, seed = seed) @test opt.POVM_basis == POVM_basis @test opt.M_num == M_num @test opt.rng == MersenneTwister(seed) diff --git a/lib/QuanEstimationBase/test/runtests.jl b/lib/QuanEstimationBase/test/runtests.jl index fefd6ac..1b42876 100644 --- a/lib/QuanEstimationBase/test/runtests.jl +++ b/lib/QuanEstimationBase/test/runtests.jl @@ -51,10 +51,6 @@ end include("algorithms/test_DE.jl") end - @testset "NM" begin - include("algorithms/test_NM.jl") - end - @testset "PSO" begin include("algorithms/test_PSO.jl") end From 74a3cea4a9db439523db8186959543a551a76097 Mon Sep 17 00:00:00 2001 From: Huai-Ming Yu Date: Sun, 19 Jan 2025 21:31:30 +0800 Subject: [PATCH 5/7] update CI --- .github/workflows/CI_QuanEstimationBase.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/CI_QuanEstimationBase.yml b/.github/workflows/CI_QuanEstimationBase.yml index 95b32eb..8d747f4 100644 --- a/.github/workflows/CI_QuanEstimationBase.yml +++ b/.github/workflows/CI_QuanEstimationBase.yml @@ -51,12 +51,6 @@ jobs: run: | import Pkg Pkg.Registry.update() - # Install packages present in subdirectories - dev_pks = Pkg.PackageSpec[] - for path in ("lib/QuanEstimationBase",) - push!(dev_pks, Pkg.PackageSpec(; path)) - end - Pkg.develop(dev_pks) Pkg.instantiate() Pkg.test(; coverage="user") shell: julia --color=yes --code-coverage=user --depwarn=yes --project=lib/QuanEstimationBase {0} \ No newline at end of file From c21ff55edee97002ac2077ef1247cba4640810ac Mon Sep 17 00:00:00 2001 From: Huai-Ming Yu Date: Sun, 19 Jan 2025 21:45:46 +0800 Subject: [PATCH 6/7] update CI --- .github/workflows/CI_QuanEstimation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI_QuanEstimation.yml b/.github/workflows/CI_QuanEstimation.yml index 8d93490..e472bf8 100644 --- a/.github/workflows/CI_QuanEstimation.yml +++ b/.github/workflows/CI_QuanEstimation.yml @@ -68,7 +68,7 @@ jobs: shell: julia --color=yes --code-coverage=user --depwarn=yes --project=. {0} - uses: julia-actions/julia-processcoverage@v1 with: - directories: src, lib/QuanEstimationBase, lib/NVMagnetometer + directories: src, lib/QuanEstimationBase/src, lib/NVMagnetometer/src - uses: codecov/codecov-action@v5 with: files: lcov.info From e665d0af3d91520394aab75d4ec19c7801b97741 Mon Sep 17 00:00:00 2001 From: Huai-Ming Yu Date: Sun, 19 Jan 2025 22:06:57 +0800 Subject: [PATCH 7/7] update CI --- .github/workflows/CI_QuanEstimation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI_QuanEstimation.yml b/.github/workflows/CI_QuanEstimation.yml index e472bf8..20d536b 100644 --- a/.github/workflows/CI_QuanEstimation.yml +++ b/.github/workflows/CI_QuanEstimation.yml @@ -68,7 +68,7 @@ jobs: shell: julia --color=yes --code-coverage=user --depwarn=yes --project=. {0} - uses: julia-actions/julia-processcoverage@v1 with: - directories: src, lib/QuanEstimationBase/src, lib/NVMagnetometer/src + directories: src,ext,lib/QuanEstimationBase/src,lib/NVMagnetometer/src - uses: codecov/codecov-action@v5 with: files: lcov.info