semvec/pypi-packages huggingface dataset:
qprof-qiskit 1.0.1
qprof plugin for qiskit framework.
Keywords: quantum,performance,gprof,profiling,qiskit,plugin

**qprof_interfaces**
====================

**qprof_qiskit** is a plugin for ``qprof``.
This plugin adds the support for the `qiskit <https://qiskit.org/>`_
library to ``qprof``.

Installation
------------

``qprof_qiskit`` being a Python module, it is installable with ``pip``.

From Gitlab
~~~~~~~~~~~

.. code:: shell

   git clone https://gitlab.com/qcomputing/qprof/qprof_qiskit.git
   pip install qprof_qiskit/

From PyPi
~~~~~~~~~

.. code::shell

    pip install qprof[qiskit]

Usage
-----

Profiling
~~~~~~~~~

Profiling is performed with the ``qprof.profile`` function.

The ``qprof.profile`` function needs a quantum routine implemented with one of the
supported frameworks along with the "base" gate times provided as a dictionary.

Example of profiling:

.. code:: python

    # Import the qprof tools
    from qprof import profile

    # Import the framework tools to generate a quantum routine
    from qiskit.aqua.algorithms import Grover
    from qiskit.aqua.components.oracles import LogicalExpressionOracle


    # Generate the routine to benchmark.
    input_3sat = """
    c example DIMACS-CNF 3-SAT
    p cnf 3 5
    -1 -2 -3 0
    1 -2 3 0
    1 2 -3 0
    1 -2 -3 0
    -1 2 3 0
    """

    oracle = LogicalExpressionOracle(input_3sat)
    grover = Grover(oracle)
    circuit = grover.construct_circuit()

    # Hard-coded gate times retrieved by hand
    gate_times = {"U1": 0, "U2": 89, "U3": 178, "CX": 930, "BARRIER": 0}

    # Profile the resulting quantum circuit and use the "gprof" exporter
    qprof_out = profile(circuit, gate_times, "gprof")

    # Print to stdout the analysis report
    print(qprof_out)

Full profiling example
----------------------

Requirements for the example
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You should have the ``dot`` tool installed on your machine, along with the
`gprof2dot <https://github.com/jrfonseca/gprof2dot>`_ tool that can be installed
with ``pip install gprof2dot``.

Profile the code
~~~~~~~~~~~~~~~~

Let save the code of the previous section in a file `profile.py`.

You can generate the following graph with the command

.. code:: bash

    python3 profile.py | gprof2dot | dot -Tpng -o profiling_result.png

.. image:: docs/images/profile_result.png
qprof-myqlm 1.0.1
qprof plugin for qat framework.
Keywords: quantum,performance,gprof,profiling,qat,plugin

**qprof_interfaces**
====================

**qprof_qat** is a plugin for `qprof <https://gitlab.com/qcomputing/qprof/qprof>`_, a quantum profiler largely inspired by
`gprof <https://ftp.gnu.org/old-gnu/Manuals/gprof-2.9.1/html_chapter/gprof_1.html#SEC1>`_.
This plugin adds the support for the ``qat`` library to
`qprof <https://gitlab.com/qcomputing/qprof/qprof>`_.
It is a Python module distributed under the open-source (non-OSI but BSD compatible)
`CeCILL-B licence <https://cecill.info/licences/Licence_CeCILL-B_V1-en.html>`_.

Installation
------------

*qprof_qat* being a Python module, it is installable with ``pip``.

From Gitlab
~~~~~~~~~~~

.. code:: shell

   git clone https://gitlab.com/cerfacs/qprof_interfaces.git
   pip install qprof_qat/

From PyPi
~~~~~~~~~

The code has not been published on PyPi yet.
qprof-interfaces 1.0.1
qprof plugin providing the base interfaces.
Keywords: quantum,performance,gprof,profiling,interface

**qprof_interfaces**
====================

**qprof_interfaces** is a plugin for `qprof <https://gitlab.com/qcomputing/qprof/qprof>`_.
Its goal is to define the interface *qprof* modules should respect in order to
integrate a framework.

Installation
------------

From Gitlab
~~~~~~~~~~~

.. code:: shell

   git clone https://gitlab.com/cerfacs/qprof/qprof_interfaces.git
   pip install qprof_interfaces/

From PyPi
~~~~~~~~~

.. code:: shell

    pip install qprof_interface

Usage
-----

This plugin should not be needed by a simple user and is targeted at developers willing
to implement a plugin to support a new framework.
raok 0.5.4.post1
verbose TESTING radius authentication and accounting server and client

Raok
~~~~
is very simple RADIUS  **testing** server which accepts any authentication or accounting and
prints it out. Unless you specify otherwise.
It supports challenges, and PAP/CHAP/MS-CHAP/MS-CHAP2 and various other small things good for testing.

NOTE: before start, run **raok-init.sh** to create default config files.

You can configure it in:

.. code-block::

    /etc/raok/raok.cfg

or from current directory, if the above is not found.

.. code-block::

   ./etc/raok.cfg

Rasta
~~~~~
is very simple program sending RADIUS accounting  using the same config file.

Support
~~~~~~~

For comments, feedback or new feature discussion feel free to
drop a message to **pplay-users@googlegroups.com** mailing list.