From f11d6a431116c8b47f615c99e8bebcc5df0905e5 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Tue, 22 Mar 2022 10:12:58 +0100 Subject: [PATCH] make it a package --- model_auxiliary.py => hiro_models/model_auxiliary.py | 0 model_base.py => hiro_models/model_base.py | 0 one_qubit_model.py => hiro_models/one_qubit_model.py | 0 two_qubit_model.py => hiro_models/two_qubit_model.py | 0 pyproject.toml | 2 +- test_one_qubit_model.py | 2 +- test_two_qubit_model.py | 2 +- 7 files changed, 3 insertions(+), 3 deletions(-) rename model_auxiliary.py => hiro_models/model_auxiliary.py (100%) rename model_base.py => hiro_models/model_base.py (100%) rename one_qubit_model.py => hiro_models/one_qubit_model.py (100%) rename two_qubit_model.py => hiro_models/two_qubit_model.py (100%) diff --git a/model_auxiliary.py b/hiro_models/model_auxiliary.py similarity index 100% rename from model_auxiliary.py rename to hiro_models/model_auxiliary.py diff --git a/model_base.py b/hiro_models/model_base.py similarity index 100% rename from model_base.py rename to hiro_models/model_base.py diff --git a/one_qubit_model.py b/hiro_models/one_qubit_model.py similarity index 100% rename from one_qubit_model.py rename to hiro_models/one_qubit_model.py diff --git a/two_qubit_model.py b/hiro_models/two_qubit_model.py similarity index 100% rename from two_qubit_model.py rename to hiro_models/two_qubit_model.py diff --git a/pyproject.toml b/pyproject.toml index a79e493..3ca2071 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "two_qubit_model" +name = "hiro_models" version = "1.1.0" description = "Operators for a general model of two interacting qubits coupled to two baths." authors = ["Valentin Boettcher "] diff --git a/test_one_qubit_model.py b/test_one_qubit_model.py index fb4509a..3a2369b 100644 --- a/test_one_qubit_model.py +++ b/test_one_qubit_model.py @@ -1,6 +1,6 @@ import pytest import random -from one_qubit_model import * +from models.one_qubit_model import * from qutip import * from utility import assert_serializable import scipy.integrate diff --git a/test_two_qubit_model.py b/test_two_qubit_model.py index 482c2f6..055e099 100644 --- a/test_two_qubit_model.py +++ b/test_two_qubit_model.py @@ -1,6 +1,6 @@ import pytest import random -from two_qubit_model import * +from models.two_qubit_model import * from qutip import * from utility import assert_serializable