mirror of
https://github.com/vale981/master-thesis
synced 2025-03-06 02:21:38 -05:00
use flake for 02_finite_temperature
This commit is contained in:
parent
b7166df3e4
commit
2988dad2f1
4 changed files with 2157 additions and 0 deletions
1
python/energy_flow_proper/02_finite_temperature/.envrc
Normal file
1
python/energy_flow_proper/02_finite_temperature/.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use_flake
|
18
python/energy_flow_proper/02_finite_temperature/flake.nix
Normal file
18
python/energy_flow_proper/02_finite_temperature/flake.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
description = "Zero temperature energy flow with a single qubit coupled to a bath.";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
utils.url = "github:vale981/hiro-flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, utils, nixpkgs, ... }:
|
||||
(utils.lib.poetry2nixWrapper nixpkgs {
|
||||
name = "01_zero_temp";
|
||||
shellPackages = pkgs: with pkgs; [ pyright python3Packages.jupyter ];
|
||||
noPackage = true;
|
||||
poetryArgs = {
|
||||
projectDir = ./.;
|
||||
};
|
||||
});
|
||||
}
|
2115
python/energy_flow_proper/02_finite_temperature/poetry.lock
generated
Normal file
2115
python/energy_flow_proper/02_finite_temperature/poetry.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,23 @@
|
|||
[tool.poetry]
|
||||
name = "02_finite_temp"
|
||||
version = "0.1.0"
|
||||
description = "Finite temperature energy flow with a single qubit coupled to a bath."
|
||||
authors = ["Valentin Boettcher <hiro@protagon.space>"]
|
||||
license = "GPLv3"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.9,<3.11"
|
||||
numpy = "^1.20.3"
|
||||
scipy = "^1.7.3"
|
||||
stocproc = { git = "https://github.com/vale981/stocproc" }
|
||||
hops = { git = "git@gitlab.hrz.tu-chemnitz.de:s8896854--tu-dresden.de/hops.git", branch="main" }
|
||||
hopsflow = { git = "https://github.com/vale981/hopsflow", branch="main" }
|
||||
matplotlib = "^3.5.0"
|
||||
jupyter = "^1.0.0"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
black = "^21.12b0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
Loading…
Add table
Reference in a new issue