File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed
pkgs/development/python-modules/stim Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 buildPythonPackage ,
4- cirq-core ,
54 fetchFromGitHub ,
5+
6+ # build-system
7+ pybind11 ,
8+ setuptools ,
9+
10+ # dependencies
11+ numpy ,
12+
13+ # tests
14+ cirq-core ,
615 matplotlib ,
716 networkx ,
8- numpy ,
917 pandas ,
10- pybind11 ,
1118 pytest-xdist ,
1219 pytestCheckHook ,
13- pythonOlder ,
1420 scipy ,
15- setuptools ,
16- wheel ,
1721} :
1822
1923buildPythonPackage rec {
2024 pname = "stim" ;
2125 version = "1.14.0" ;
2226 pyproject = true ;
2327
24- disabled = pythonOlder "3.6" ;
25-
2628 src = fetchFromGitHub {
2729 owner = "quantumlib" ;
2830 repo = "Stim" ;
@@ -50,7 +52,6 @@ buildPythonPackage rec {
5052 build-system = [
5153 pybind11
5254 setuptools
53- wheel
5455 ] ;
5556
5657 dependencies = [ numpy ] ;
@@ -75,6 +76,12 @@ buildPythonPackage rec {
7576 "glue/cirq"
7677 ] ;
7778
79+ disabledTests = [
80+ # AssertionError: Sample rate 1.0 is over 5 standard deviations away from 1.0.
81+ "test_frame_simulator_sampling_noisy_gates_agrees_with_cirq_data"
82+ "test_tableau_simulator_sampling_noisy_gates_agrees_with_cirq_data"
83+ ] ;
84+
7885 meta = {
7986 description = "Tool for high performance simulation and analysis of quantum stabilizer circuits, especially quantum error correction (QEC) circuits" ;
8087 mainProgram = "stim" ;
You can’t perform that action at this time.
0 commit comments