mirror of
https://github.com/vale981/master-thesis
synced 2025-03-05 10:01:43 -05:00
add project 9
This commit is contained in:
parent
8718a88854
commit
773e0be6b4
6 changed files with 2820 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
|||
use_flake
|
||||
eval "$shellHook"
|
|
@ -0,0 +1 @@
|
|||
../figsaver.py
|
126
python/energy_flow_proper/09_dynamic_two_bath_one_qubit/flake.lock
generated
Normal file
126
python/energy_flow_proper/09_dynamic_two_bath_one_qubit/flake.lock
generated
Normal file
|
@ -0,0 +1,126 @@
|
|||
{
|
||||
"nodes": {
|
||||
"flake-utils": {
|
||||
"locked": {
|
||||
"lastModified": 1648297722,
|
||||
"narHash": "sha256-W+qlPsiZd8F3XkzXOzAoR+mpFqzm3ekQkJNa+PIh1BQ=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "0f8662f1319ad6abf89b3380dd2722369fc51ade",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils_2": {
|
||||
"locked": {
|
||||
"lastModified": 1610051610,
|
||||
"narHash": "sha256-U9rPz/usA1/Aohhk7Cmc2gBrEEKRzcW4nwPWMPwja4Y=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "3982c9903e93927c2164caa727cd3f6a0e6d14cc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1649012074,
|
||||
"narHash": "sha256-vQUROcJ3FfT3GTB/nJrXwVvjuq8WfK0ImN+RUgDVN1c=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "bc4b9eef3ce3d5a90d8693e8367c9cbfc9fc1e13",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-unstable",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1648390671,
|
||||
"narHash": "sha256-u69opCeHUx3CsdIerD0wVSR+DjfDQjnztObqfk9Trqc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ce8cbe3c01fd8ee2de526ccd84bbf9b82397a510",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-unstable",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1610729867,
|
||||
"narHash": "sha256-bk/SBaBLqZX/PEqal27DMQwAHHl0dcZMp8NNksQr80s=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "04af07c659c6723a2259bb6bc00a47ec53330f20",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"poetry2nix": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils_2",
|
||||
"nixpkgs": "nixpkgs_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1648438095,
|
||||
"narHash": "sha256-TTZ6mu1IO2YxCxd/FtLMixWwpCcgS9eZ7LfzDeoEMUI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "poetry2nix",
|
||||
"rev": "33b5419aa62c88bf890877a8b8c74864b4a41122",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "poetry2nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs",
|
||||
"utils": "utils"
|
||||
}
|
||||
},
|
||||
"utils": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"poetry2nix": "poetry2nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1648546910,
|
||||
"narHash": "sha256-mb49efdjcFXu1S6EwN4Q+vDYDn2eIIPOEZ8N4zTPMfU=",
|
||||
"owner": "vale981",
|
||||
"repo": "hiro-flake-utils",
|
||||
"rev": "02504e6918ff7d9d5e9290ebb7a77b6eba78ad0c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "vale981",
|
||||
"repo": "hiro-flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
description = "Testing out the one bath case with time dependent coupling and two baths.";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
utils.url = "github:vale981/hiro-flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, utils, nixpkgs, ... }:
|
||||
(utils.lib.poetry2nixWrapper nixpkgs {
|
||||
name = "08_dynamic_one_bath";
|
||||
shellPackages = pkgs: with pkgs; [ pyright python39Packages.jupyter sshfs ];
|
||||
python = pkgs: pkgs.python39;
|
||||
shellOverride = (oldAttrs: {
|
||||
shellHook = ''
|
||||
export PYTHONPATH=/home/hiro/src/two_qubit_model/:$PYTHONPATH
|
||||
export PYTHONPATH=/home/hiro/src/hops/:$PYTHONPATH
|
||||
export PYTHONPATH=/home/hiro/src/hopsflow/:$PYTHONPATH
|
||||
# export PYTHONPATH=/home/hiro/src/stocproc/:$PYTHONPATH
|
||||
'';
|
||||
});
|
||||
noPackage = true;
|
||||
poetryArgs = {
|
||||
projectDir = ./.;
|
||||
};
|
||||
});
|
||||
}
|
2641
python/energy_flow_proper/09_dynamic_two_bath_one_qubit/poetry.lock
generated
Normal file
2641
python/energy_flow_proper/09_dynamic_two_bath_one_qubit/poetry.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,23 @@
|
|||
[tool.poetry]
|
||||
name = "09_dynamic_two_bath_one_qubit"
|
||||
version = "1.0.0"
|
||||
description = "Testing out the one bath case with time dependent coupling and two baths."
|
||||
authors = ["Valentin Boettcher <hiro@protagon.space>"]
|
||||
license = "GPLv3"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.9,<3.11"
|
||||
hiro_models = { git = "git@github.com:vale981/two_qubit_model.git", branch="main" }
|
||||
hops = { git = "git@gitlab.hrz.tu-chemnitz.de:s8896854--tu-dresden.de/hops.git", branch="time_dep_coupling" }
|
||||
matplotlib = "^3.5.0"
|
||||
jupyter = "^1.0.0"
|
||||
qutip = "^4.6.2"
|
||||
lmfit = "^1.0.3"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
black = "^21.12b0"
|
||||
click = "==8.0.4"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
Loading…
Add table
Reference in a new issue