run vqe
Component: cr-action:run vqe (v1.0.0)
Added by: gfursin (2019-10-16 07:57:37)
Authors: Grigori Fursin
License: BSD 3-clause (code) and CC BY-SA 4.0 (data)
Source: GitHub
Creation date: 2018-07-17 11:24:47
CID: 081173242a88bc94:4bf44f082cc4777ecr-action:run vqe  )

Sign up here to be notified when new results are reproduced or new CodeReef components are shared!

How to get and run stable version (under development):
  pip install codereef
  cr download module:vqe --version=1.0.0 --all
  ck run vqe --help

How to get and run development version:
  pip install ck
  ck pull repo:ck-quantum
  ck run vqe --help

How to run from Python:
   import ck.kernel as ck

   r=ck.access({'action':'run',
                'module_uoa':'vqe',
                ... See JSON API below ...
               })
   if r['return']>0: return r
   ...
Info about the CK module with this action: vqe
Workflow framework: CK
Development repository: ck-quantum
Module description: simplify running the vqe pipeline and recording the results
Workflow: VQE quantum competition pipeline
API Python code: Link
JSON API:
        "    Input:  {
                (sample_size)       - number of \"shots\" to use in each quantum program execution
                (max_iterations)    - a (soft) limit on the number of optimizer's iterations
                (start_param_value) - set the starting value for each optimizer's parameter (a float number or the word 'random')
                (repetitions)       - a number of times to run the whole optimizer convergence experiment (for stats)
                (provider)          - 'ibm' or 'rigetti' (see default_provider)
                (device)            - which simulator or quantum device to run the whole experiment on (interactive by default)
                (timestamp)         - when the experiment was started (normally generated automatically)
                (timeout)           - timeout for the device
            }

    Output: {
                return              - return code =  0, if successful
                                                  >  0, if error
                (error)             - error text if return > 0
            }
"
       


All versions:


Public comments

    Please log in to add your comment!


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