Raw data access (json)

module:hackathon.20180615 (v1.0.0)
Creation date: 2018-08-09
Source: GitHub
cID: 032630d041b4fd8a:f40e5947238264d1

Don't hesitate to get in touch if you encounter any issues or would like to discuss this community project!
Please report if this CK component works: 1  or fails: 0 
Sign up to be notified when artifacts are shared or updated!

Description  

This is our attempt to share automation actions from scientific research projects as unified Python modules with a common CLI and Python API to help researchers and practitioners reuse best practices. Our on-going project is to make the onboarding process as simple as possible via this platform. Please check this CK white paper and don't hesitate to contact us if you have suggestions or feedback!

Dependencies    

Style 1   Style 2  

ReadMe  

1st Quantum Computing Hackathon, Cambridge, 15 June 2018

Installation (on Ubuntu)

Install global prerequisites, Python3 and its pip (Python2 is also supported)

$ sudo apt-get install python3 python3-pip

Install Collective Knowledge

$ sudo pip3 install ck

Installation (on MacOS)

Install Python3 and its pip (Python2 is also supported)

$ brew update
$ brew reinstall python
$ pip install ck

Non-root CK installation

You can install CK in your local user space as follows:

$ git clone http://github.com/ctuning/ck
$ export PATH=$PWD/ck/bin:$PATH
$ export PYTHONPATH=$PWD/ck:$PYTHONPATH

Test CK installation

$ ck version

Common part of the workflow installation

Pull CK repositories

$ ck pull repo:ck-quantum
$ ck pull repo:ck-env
$ ck pull repo:ck-rigetti
$ ck pull repo:ck-qiskit

Detect a Python interpreter (interactively choose one if there are several options)

$ ck detect soft:compiler.python

Install this CK repository with all its dependencies (other CK repos to reuse artifacts)

$ ck install package:tool-hackathon

Install pyQuil

$ ck install package:lib-pyquil-1.9.0

Run a demo program (press Enter if prompted)

$ ck run program:pyquil-demo
...

    * tmp-stdout.tmp

      Number of games: 10
      Q's winning average: 1.0
      Picard's flip-decision average: 0.5

Run VQE

$ ck run program:rigetti-vqe

Versions  

Files  

Comments  

Please log in to add your comments!
If you notice any inapropriate content that should not be here, please report us as soon as possible and we will try to remove it within 48 hours!