Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qiskit: init at 0.4.15 #40395

Merged
merged 4 commits into from Jun 14, 2018
Merged

qiskit: init at 0.4.15 #40395

merged 4 commits into from Jun 14, 2018

Conversation

pandaman64
Copy link
Contributor

@pandaman64 pandaman64 commented May 12, 2018

Motivation for this change

IBMQuantumExperience: init at 1.9.1
qiskit: init at 0.4.15
qasm2image: init at 0.5.0

This pull request introduces several python libraries for creating quantum programs.
IBMQuantumExperience is an API for IBM Q, IBM's quantum processors.
QISKit is an SDK for developing quantum programs with Python.
qasm2image visualizes quantum programs.

QISKit depends on IBMQuantumExperience and qasm2image on QISKit. So I put them in a single pull request.

Some QISKit's dependencies have a different version from the upstream, so I copied their default.nix into QISKit's directory and changed to the appropriate versions.
I'm not sure this is a good workaround.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Copy link
Member

@FRidh FRidh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Python package set of libraries in Nixpkgs can have only one version of each package. A library itself can also only depend on the versions provided with python-packages.nix, and not on any other private versions.

Typically, packages don't need exactly the versions they specify.

description = "A Python library for the Quantum Experience API";
homepage = https://github.com/QISKit/qiskit-api-py;
license = lib.licenses.apache2;
maintainers = [];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will you maintain this?

sha256 = "480cce2ca285368432b7d00b9cd702a4f8a1c9d69914ba6f65e08099e151e407";
};

buildInputs = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

propagatedBuildInputs

description = "A Python module to visualise quantum circuit";
homepage = https://github.com/nelimeee/qasm2image;
license = lib.licenses.cecill_b;
maintainers = [];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will you maintain this?

];

# test doesn't pass
doCheck = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not? Is it something upstream needs to fix? Or should we?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests fail because PyPI's QISKit package doesn't contain tests modules.
I updated the description.

@@ -0,0 +1,1965 @@

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is I guess an accident?

@@ -0,0 +1,59 @@
{ pkgs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no pkgs, only individual packages as parameters

@@ -0,0 +1,59 @@
{ pkgs
, stdenv
, lib
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lib is available as stdenv.lib

];

# test doesn't pass
doCheck = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

description = "Quantum Software Development Kit for writing quantum computing experiments, programs, and applications";
homepage = https://github.com/QISKit/qiskit-sdk-py;
license = lib.licenses.apache2;
maintainers = [];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will you maintain this?

@FRidh
Copy link
Member

FRidh commented May 12, 2018

qitkis dependencies:

requirements = [
    "IBMQuantumExperience>=1.9.0",
    "matplotlib>=2.1,<2.2",
    "networkx>=2.0,<2.1",
    "numpy>=1.13,<1.15",
    "ply==3.10",
    "scipy>=0.19,<1.1",
    "sympy>=1.0",
    "pillow>=4.2.1"
]

I've just updated ply to 3.11. Judging from their changelog using 3.11 should be fine. So, this line in setup.py can be patched to remove the pinning of ply.

@pandaman64
Copy link
Contributor Author

Removed all private dependencies from QISKit.
Added me as the maintainer of these packages.

I'll try to fix test issues.

@pandaman64
Copy link
Contributor Author

pandaman64 commented May 27, 2018

Should I merge the upstream into this PR? or rebase?
The Nixpkgs manual says I should rebase. Rebased.

@pandaman64
Copy link
Contributor Author

@FRidh Could you review this PR again?

colorama
];
checkPhase = ''
python3 tests/launch_tests.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${python.interpreter}

@pandaman64
Copy link
Contributor Author

@FRidh fixed

@FRidh
Copy link
Member

FRidh commented May 28, 2018

@GrahamcOfBorg build python2.pkgs.IBMQuantumExperience python2.pkgs.qiskit python2.pkgs.qasm2image python3.pkgs.IBMQuantumExperience python3.pkgs.qiskit python3.pkgs.qasm2image

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: python2.pkgs.IBMQuantumExperience, python2.pkgs.qiskit, python3.pkgs.IBMQuantumExperience, python3.pkgs.qiskit, python3.pkgs.qasm2image

The following builds were skipped because they don't evaluate on aarch64-linux: python2.pkgs.qasm2image

Partial log (click to expand)

Successfully installed qiskit-0.4.15
/build/qiskit-0.4.15
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/aq2wricp2kissdq9zrj7ipvvmivwbczi-python3.6-qiskit-0.4.15
strip is /nix/store/8yfik687kfccisxnad42j19lfb7ij9b4-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/aq2wricp2kissdq9zrj7ipvvmivwbczi-python3.6-qiskit-0.4.15/lib
patching script interpreter paths in /nix/store/aq2wricp2kissdq9zrj7ipvvmivwbczi-python3.6-qiskit-0.4.15
checking for references to /build in /nix/store/aq2wricp2kissdq9zrj7ipvvmivwbczi-python3.6-qiskit-0.4.15...
cannot build derivation '/nix/store/xx3879w4ys1i81kllxmamfvqqqzpxzww-python3.6-qasm2image-0.5.0.drv': 2 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/2dysyn5v2ms0m3lja4f297p5vr88ygl7-python2.7-qiskit-0.4.15.drv', '/nix/store/xx3879w4ys1i81kllxmamfvqqqzpxzww-python3.6-qasm2image-0.5.0.drv' failed

@pandaman64
Copy link
Contributor Author

cairocffi is broken?

../../nix/store/i47jxql6wcgd8vkxqh0hc9420d6zddq6-python3.6-cairocffi-0.8.0/lib/python3.6/site-packages/cairocffi/test_cairo.py . [  2%]
........./nix/store/7b2p80jk29w7jz2d907nsbpqgxr1zk98-stdenv-linux/setup: line 1283:  2901 Aborted                 py.test $out/lib/python3.6/site-packages
builder for '/nix/store/gg7cy17sad8lmnvyaxbqs5h00lisd0qa-python3.6-cairocffi-0.8.0.drv' failed with exit code 134

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: python2.pkgs.IBMQuantumExperience, python2.pkgs.qiskit, python3.pkgs.IBMQuantumExperience, python3.pkgs.qiskit, python3.pkgs.qasm2image

The following builds were skipped because they don't evaluate on x86_64-linux: python2.pkgs.qasm2image

Partial log (click to expand)

Successfully installed qiskit-0.4.15
/build/qiskit-0.4.15
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9m9k2xvz7rqlh3mryapr8kp6bg8lwq3p-python3.6-qiskit-0.4.15
strip is /nix/store/92d2ifxcni4n3zx9s8wnkcjlvnx5ajlc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/9m9k2xvz7rqlh3mryapr8kp6bg8lwq3p-python3.6-qiskit-0.4.15/lib
patching script interpreter paths in /nix/store/9m9k2xvz7rqlh3mryapr8kp6bg8lwq3p-python3.6-qiskit-0.4.15
checking for references to /build in /nix/store/9m9k2xvz7rqlh3mryapr8kp6bg8lwq3p-python3.6-qiskit-0.4.15...
cannot build derivation '/nix/store/xvmqnbrsiqx1243hfb5979ckly7c2xrk-python3.6-qasm2image-0.5.0.drv': 2 dependencies couldn't be built
error: build of '/nix/store/4drls6bmdzmkfhiiwnm2fp71shdxlkqf-python2.7-qiskit-0.4.15.drv', '/nix/store/xvmqnbrsiqx1243hfb5979ckly7c2xrk-python3.6-qasm2image-0.5.0.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python2.pkgs.IBMQuantumExperience, python2.pkgs.qiskit, python3.pkgs.IBMQuantumExperience, python3.pkgs.qiskit, python3.pkgs.qasm2image

The following builds were skipped because they don't evaluate on x86_64-darwin: python2.pkgs.qasm2image

Partial log (click to expand)

../scipy/spatial/tests/test_distance.py::TestPdist::test_pdist_seuclidean_iris_nonC <- ../../../../nix/store/sbsywkd5hqnj40pzjwwiij6pv4ianjwx-python3.6-scipy-1.0.1/lib/python3.6/site-packages/scipy/spatial/tests/test_distance.py PASSED [ 82%]
../scipy/spatial/tests/test_distance.py::TestPdist::test_pdist_cosine_random <- ../../../../nix/store/sbsywkd5hqnj40pzjwwiij6pv4ianjwx-python3.6-scipy-1.0.1/lib/python3.6/site-packages/scipy/spatial/tests/test_distance.py PASSED [ 82%]
../scipy/spatial/tests/test_distance.py::TestPdist::test_pdist_cosine_random_float32 <- ../../../../nix/store/sbsywkd5hqnj40pzjwwiij6pv4ianjwx-python3.6-scipy-1.0.1/lib/python3.6/site-packages/scipy/spatial/tests/test_distance.py PASSED [ 82%]
../scipy/spatial/tests/test_distance.py::TestPdist::test_pdist_cosine_random_nonC <- ../../../../nix/store/sbsywkd5hqnj40pzjwwiij6pv4ianjwx-python3.6-scipy-1.0.1/lib/python3.6/site-packages/scipy/spatial/tests/test_distance.py PASSED [ 82%]
../scipy/spatial/tests/test_distance.py::TestPdist::test_pdist_cosine_iris <- ../../../../nix/store/sbsywkd5hqnj40pzjwwiij6pv4ianjwx-python3.6-scipy-1.0.1/lib/python3.6/site-packages/scipy/spatial/tests/test_distance.py PASSED [ 82%]
../scipy/spatial/tests/test_distance.py::TestPdist::test_pdist_cosine_iris_float32 <- ../../../../nix/store/sbsywkd5hqnj40pzjwwiij6pv4ianjwx-python3.6-scipy-1.0.1/lib/python3.6/site-packages/scipy/spatial/tests/test_distance.py PASSED [ 82%]
building of '/nix/store/kcjh788iqcbgsck20yxyr3l0qpl77i5y-python3.6-scipy-1.0.1.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/x85f5n956v1dhm1gglg1dpxnavkcrnia-python3.6-qiskit-0.4.15.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/f0f62bf11y4ihgmczg1nrkisfp8ra16p-python3.6-qasm2image-0.5.0.drv': 3 dependencies couldn't be built
error: build of '/nix/store/762bryv0i8vqp7p5s5vzbfhckl1w12rq-python2.7-qiskit-0.4.15.drv', '/nix/store/f0f62bf11y4ihgmczg1nrkisfp8ra16p-python3.6-qasm2image-0.5.0.drv', '/nix/store/x85f5n956v1dhm1gglg1dpxnavkcrnia-python3.6-qiskit-0.4.15.drv' failed

@pandaman64 pandaman64 force-pushed the quantum branch 2 times, most recently from 1abeb45 to a07664c Compare June 4, 2018 03:59
@pandaman64
Copy link
Contributor Author

@FRidh All build issues should be fixed now.

@pandaman64
Copy link
Contributor Author

@FRidh Why don't you approve?

@FRidh
Copy link
Member

FRidh commented Jun 5, 2018

@pandaman64 simple, I don't check this page this continuously.

@FRidh
Copy link
Member

FRidh commented Jun 5, 2018

@GrahamcOfBorg build python2.pkgs.IBMQuantumExperience python2.pkgs.qiskit python2.pkgs.qasm2image python3.pkgs.IBMQuantumExperience python3.pkgs.qiskit python3.pkgs.qasm2image

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python2.pkgs.IBMQuantumExperience, python3.pkgs.IBMQuantumExperience, python3.pkgs.qiskit, python3.pkgs.qasm2image

The following builds were skipped because they don't evaluate on x86_64-linux: python2.pkgs.qiskit, python2.pkgs.qasm2image

Partial log (click to expand)

[ OK ] Testing with '/build/source/tests/examples/ibmqx2/Deutsch_Algorithm.qasm'
[ OK ] Testing with '/build/source/tests/examples/invalid/gate_no_found.qasm'
"Cannot find gate definition for 'w', line 5 file "
Error near line 4 Column 2d/source/tests/examples/invalid/missing_semicolon.qasm'
[ OK ] Testing with '/build/source/tests/examples/invalid/missing_semicolon.qasm'
"Invalid version string. Expected '2.0;'.  Is the semicolon missing?"
/nix/store/pnpp8hkc772lvbksid7243m18fkxahna-python2.7-IBMQuantumExperience-1.9.1
/nix/store/qz3s657waplhrv2cqkjbslqg4s0vy8aa-python3.6-IBMQuantumExperience-1.9.1
/nix/store/7inr9rmnp596b2lfpj339956zqlh7i74-python3.6-qiskit-0.4.15
/nix/store/r11c094x8p1f4d13i02p1nhd7zxprw5z-python3.6-qasm2image-0.5.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python2.pkgs.IBMQuantumExperience, python3.pkgs.IBMQuantumExperience, python3.pkgs.qiskit, python3.pkgs.qasm2image

The following builds were skipped because they don't evaluate on aarch64-linux: python2.pkgs.qiskit, python2.pkgs.qasm2image

Partial log (click to expand)

[ OK ] Testing with '/build/source/tests/examples/generic/ipea_3_pi_8.qasm'
[ OK ] Testing with '/build/source/tests/examples/generic/inverseqft2.qasm'
[ OK ] Testing with '/build/source/tests/examples/generic/inverseqft1.qasm'
[ OK ] Testing with '/build/source/tests/examples/generic/bigadder.qasm'
[ OK ] Testing with '/build/source/tests/examples/generic/adder.qasm'
[ OK ] Testing with '/build/source/tests/examples/generic/W-state.qasm'
/nix/store/wcfsyalak4kx75wqykww09p7jzkf801p-python2.7-IBMQuantumExperience-1.9.1
/nix/store/052s7cmwvf5qh9w7rpspaycrgs2japb2-python3.6-IBMQuantumExperience-1.9.1
/nix/store/fy5pm0v4hd3bjfnlhawixw7q88x7g4rb-python3.6-qiskit-0.4.15
/nix/store/y70ivwn62bzg783nz7vnzpw0803sqxs8-python3.6-qasm2image-0.5.0

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python2.pkgs.IBMQuantumExperience, python3.pkgs.IBMQuantumExperience, python3.pkgs.qiskit, python3.pkgs.qasm2image

The following builds were skipped because they don't evaluate on x86_64-darwin: python2.pkgs.qiskit, python2.pkgs.qasm2image

Partial log (click to expand)

Requirement already satisfied: pycparser in /nix/store/vygxpsgs6qjz8var12fn5n0phb1bzg0n-python3.6-pycparser-2.18/lib/python3.6/site-packages (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=1.3->requests-ntlm->IBMQuantumExperience>=1.8.29->qiskit==0.4.15) (2.18)
Installing collected packages: qiskit
Successfully installed qiskit-0.4.15
/private/tmp/nix-build-python3.6-qiskit-0.4.15.drv-0/qiskit-0.4.15
post-installation fixup
strip is /nix/store/yyak5sjv68n9vdgnkd2cb5djk1l9sqj5-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/bqrcjdp72dl1k13m9p0vz3vixp8cvd56-python3.6-qiskit-0.4.15/lib
patching script interpreter paths in /nix/store/bqrcjdp72dl1k13m9p0vz3vixp8cvd56-python3.6-qiskit-0.4.15
cannot build derivation '/nix/store/73lyg6ks9x5b48zgnc2w7s2nyds9551f-python3.6-qasm2image-0.5.0.drv': 2 dependencies couldn't be built
error: build of '/nix/store/73lyg6ks9x5b48zgnc2w7s2nyds9551f-python3.6-qasm2image-0.5.0.drv' failed

@pandaman64
Copy link
Contributor Author

cairocffi is still broken:

============================= test session starts ==============================
platform darwin -- Python 3.6.5, pytest-3.5.1, py-1.5.3, pluggy-0.6.0
rootdir: /nix/store/0xh4m597s9mp4f2b68mx5imbgnbms2hh-python3.6-cairocffi-0.8.1/lib/python3.6/site-packages, inifile:
collected 0 items / 3 errors
==================================== ERRORS ====================================
___________________ ERROR collecting cairocffi/test_cairo.py ___________________
/nix/store/ya6mmnma6h569brxyq8ms4mim9zld2yv-python3.6-py-1.5.3/lib/python3.6/site-packages/py/_path/local.py:668: in pyimport
    __import__(modname)
/nix/store/0xh4m597s9mp4f2b68mx5imbgnbms2hh-python3.6-cairocffi-0.8.1/lib/python3.6/site-packages/cairocffi/__init__.py:43: in <module>
    cairo = dlopen(ffi, 'cairo', 'cairo-2', 'cairo-gobject-2')
/nix/store/0xh4m597s9mp4f2b68mx5imbgnbms2hh-python3.6-cairocffi-0.8.1/lib/python3.6/site-packages/cairocffi/__init__.py:37: in dlopen
    lib = ffi.dlopen(path)
E   OSError: cannot load library '/nix/store/4zcjwnzdw089kvjkzjg0dn4q8dhqwx3z-cairo-1.15.12/lib/libcairo.so.2': dlopen(/nix/store/4zcjwnzdw089kvjkzjg0dn4q8dhqwx3z-cairo-1.15.12/lib/libcairo.so.2, 2): image not found
__________________ ERROR collecting cairocffi/test_pixbuf.py ___________________
/nix/store/ya6mmnma6h569brxyq8ms4mim9zld2yv-python3.6-py-1.5.3/lib/python3.6/site-packages/py/_path/local.py:668: in pyimport
    __import__(modname)
/nix/store/0xh4m597s9mp4f2b68mx5imbgnbms2hh-python3.6-cairocffi-0.8.1/lib/python3.6/site-packages/cairocffi/__init__.py:43: in <module>
    cairo = dlopen(ffi, 'cairo', 'cairo-2', 'cairo-gobject-2')
/nix/store/0xh4m597s9mp4f2b68mx5imbgnbms2hh-python3.6-cairocffi-0.8.1/lib/python3.6/site-packages/cairocffi/__init__.py:37: in dlopen
    lib = ffi.dlopen(path)
E   OSError: cannot load library '/nix/store/4zcjwnzdw089kvjkzjg0dn4q8dhqwx3z-cairo-1.15.12/lib/libcairo.so.2': dlopen(/nix/store/4zcjwnzdw089kvjkzjg0dn4q8dhqwx3z-cairo-1.15.12/lib/libcairo.so.2, 2): image not found
____________________ ERROR collecting cairocffi/test_xcb.py ____________________
/nix/store/ya6mmnma6h569brxyq8ms4mim9zld2yv-python3.6-py-1.5.3/lib/python3.6/site-packages/py/_path/local.py:668: in pyimport
    __import__(modname)
/nix/store/0xh4m597s9mp4f2b68mx5imbgnbms2hh-python3.6-cairocffi-0.8.1/lib/python3.6/site-packages/cairocffi/__init__.py:43: in <module>
    cairo = dlopen(ffi, 'cairo', 'cairo-2', 'cairo-gobject-2')
/nix/store/0xh4m597s9mp4f2b68mx5imbgnbms2hh-python3.6-cairocffi-0.8.1/lib/python3.6/site-packages/cairocffi/__init__.py:37: in dlopen
    lib = ffi.dlopen(path)
E   OSError: cannot load library '/nix/store/4zcjwnzdw089kvjkzjg0dn4q8dhqwx3z-cairo-1.15.12/lib/libcairo.so.2': dlopen(/nix/store/4zcjwnzdw089kvjkzjg0dn4q8dhqwx3z-cairo-1.15.12/lib/libcairo.so.2, 2): image not found
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 3 error in 0.60 seconds ============================
builder for '/nix/store/flm8c7fgygmpcraiwhsrnp4l8s22nmwb-python3.6-cairocffi-0.8.1.drv' failed with exit code 2

It seems OpenMP is missing in darwin. I'll add it.

In file included from /tmp/nix-build-python3.6-qiskit-0.4.15.drv-0/qiskit-0.4.15/src/qiskit-simulator/src/main.cpp:30:
/tmp/nix-build-python3.6-qiskit-0.4.15.drv-0/qiskit-0.4.15/src/qiskit-simulator/src/simulator.hpp:35:10: fatal error: 'omp.h' file not found
#include <omp.h> // OpenMP
         ^~~~~~~
1 error generated.

@pandaman64
Copy link
Contributor Author

@FRidh Fixed darwin build issue. Sorry for pinging you a lot.

@pandaman64
Copy link
Contributor Author

@FRidh Could you run the build and approve?

@FRidh
Copy link
Member

FRidh commented Jun 14, 2018

@GrahamcOfBorg build python2.pkgs.IBMQuantumExperience python2.pkgs.qiskit python2.pkgs.qasm2image python3.pkgs.IBMQuantumExperience python3.pkgs.qiskit python3.pkgs.qasm2image

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python2.pkgs.IBMQuantumExperience, python3.pkgs.IBMQuantumExperience, python3.pkgs.qiskit, python3.pkgs.qasm2image

The following builds were skipped because they don't evaluate on x86_64-linux: python2.pkgs.qiskit, python2.pkgs.qasm2image

Partial log (click to expand)

[ OK ] Testing with '/build/source/tests/examples/ibmqx2/iswap.qasm'
[ OK ] Testing with '/build/source/tests/examples/ibmqx2/qe_qft_4.qasm'
[ OK ] Testing with '/build/source/tests/examples/ibmqx2/qe_qft_5.qasm'
[ OK ] Testing with '/build/source/tests/examples/ibmqx2/W3test.qasm'
[ OK ] Testing with '/build/source/tests/examples/ibmqx2/qe_qft_3.qasm'
[ OK ] Testing with '/build/source/tests/examples/ibmqx2/011_3_qubit_grover_50_.qasm'
/nix/store/pnpp8hkc772lvbksid7243m18fkxahna-python2.7-IBMQuantumExperience-1.9.1
/nix/store/qz3s657waplhrv2cqkjbslqg4s0vy8aa-python3.6-IBMQuantumExperience-1.9.1
/nix/store/3vd475pq9fslg5n8qj8pb9zfs2wp8v4i-python3.6-qiskit-0.4.15
/nix/store/5kbbdmcfnsyh4k4nnjsyh3arzm71dvyb-python3.6-qasm2image-0.5.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: python2.pkgs.IBMQuantumExperience, python3.pkgs.IBMQuantumExperience, python3.pkgs.qiskit, python3.pkgs.qasm2image

The following builds were skipped because they don't evaluate on x86_64-darwin: python2.pkgs.qiskit, python2.pkgs.qasm2image

Partial log (click to expand)

[ OK ] Testing with '/private/tmp/nix-build-python3.6-qasm2image-0.5.0.drv-0/source/tests/examples/ibmqx2/W3test.qasm'
[ OK ] Testing with '/private/tmp/nix-build-python3.6-qasm2image-0.5.0.drv-0/source/tests/examples/invalid/gate_no_found.qasm'
"Cannot find gate definition for 'w', line 5 file "
Error near line 4 Column 2ate/tmp/nix-build-python3.6-qasm2image-0.5.0.drv-0/source/tests/examples/invalid/missing_semicolon.qasm'
[ OK ] Testing with '/private/tmp/nix-build-python3.6-qasm2image-0.5.0.drv-0/source/tests/examples/invalid/missing_semicolon.qasm'
"Invalid version string. Expected '2.0;'.  Is the semicolon missing?"
/nix/store/51ymlhbypdlnf6bqlgxk71q5bwkazfrk-python2.7-IBMQuantumExperience-1.9.1
/nix/store/4n3gg875slg1xab4kiyz551r76j2giwn-python3.6-IBMQuantumExperience-1.9.1
/nix/store/m9jija39cgx59z9hnm8ijk1q65hhwfif-python3.6-qiskit-0.4.15
/nix/store/gm1iqdr3rqyhs7acssj3y16nxdsy2bdw-python3.6-qasm2image-0.5.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python2.pkgs.IBMQuantumExperience, python3.pkgs.IBMQuantumExperience, python3.pkgs.qiskit, python3.pkgs.qasm2image

The following builds were skipped because they don't evaluate on aarch64-linux: python2.pkgs.qiskit, python2.pkgs.qasm2image

Partial log (click to expand)

[ OK ] Testing with '/build/source/tests/examples/generic/ipea_3_pi_8.qasm'
[ OK ] Testing with '/build/source/tests/examples/generic/inverseqft2.qasm'
[ OK ] Testing with '/build/source/tests/examples/generic/inverseqft1.qasm'
[ OK ] Testing with '/build/source/tests/examples/generic/bigadder.qasm'
[ OK ] Testing with '/build/source/tests/examples/generic/adder.qasm'
[ OK ] Testing with '/build/source/tests/examples/generic/W-state.qasm'
/nix/store/wcfsyalak4kx75wqykww09p7jzkf801p-python2.7-IBMQuantumExperience-1.9.1
/nix/store/052s7cmwvf5qh9w7rpspaycrgs2japb2-python3.6-IBMQuantumExperience-1.9.1
/nix/store/hqgfa10hl3mwdcfs28k1884akcaq2rq5-python3.6-qiskit-0.4.15
/nix/store/8jak1y8sx45k4n8xahldn4bby1dl01vl-python3.6-qasm2image-0.5.0

@pandaman64
Copy link
Contributor Author

@FRidh Now this PR is mergeable. Isn't it?

@FRidh FRidh merged commit 2e36e26 into NixOS:master Jun 14, 2018
@pandaman64
Copy link
Contributor Author

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants