Skip to content

HWQuantum/noisy-state-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

noisy-state-lib

A storage place for the functions to do with noisy states, etc...

Using with pip

To use with pip, follow this guide.

Using with Nix

Here's an example of a minimal shell.nix file to set up an environment with this library

Make sure you give the proper revision to the rev variable in fetchGit.

let
  pkgs = import <nixpkgs> {};
  nslib = with pkgs;
    python3.pkgs.buildPythonPackage rec {
      pname = "noisy-state-lib";
      version = "0.0.1";
      src = builtins.fetchGit {
        name = "noisy-state-lib-src";
        url = https://github.com/HWQuantum/noisy-state-lib;
        ref = "refs/heads/master";
        rev = "<REPLACE WITH NEWEST REVISION>";
      };
      propagatedBuildInputs = with pkgs.python3Packages; [numpy];
    };
in
with pkgs;
mkShell {
  name = "import_packages";
  buildInputs = [
    (python3.withPackages (ps: with ps; [nslib numpy]))
  ];
}

About

A storage place for the functions to do with noisy states, etc...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published