Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Commit 2bfbb4f

Browse files
author
Rajib Chakravorty
authored
Merge pull request #3 from qctrl/convert-adapter
changed adaptor to adapter and Pyquil to pyQuil
2 parents 6c94d8b + 42f0ee2 commit 2bfbb4f

File tree

8 files changed

+48
-67
lines changed

8 files changed

+48
-67
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Q-CTRL Pyquil Adaptor
1+
# Q-CTRL pyQuil Adapter
22

3-
The aim of the Q-CTRL Pyquil Adaptor package is to provide export functions allowing
3+
The aim of the Q-CTRL pyQuil Adapter package is to provide export functions allowing
44
users to deploy established error-robust quantum control protocols from the
55
open literature and defined in Q-CTRL Open Controls on Rigetti quantum hardware
66
and simulators.
@@ -18,13 +18,13 @@ Anyone interested in quantum control is welcome to contribute to this project.
1818

1919
## Installation
2020

21-
Q-CTRL Pyquil Adaptor can be installed through `pip` or from source. We recommend
21+
Q-CTRL pyQuil Adapter can be installed through `pip` or from source. We recommend
2222
the `pip` distribution to get the most recent stable release. If you want the
2323
latest features then install from source.
2424

2525
### Requirements
2626

27-
To use Q-CTRL Pyquil Adaptor you will need an installation of Python. We
27+
To use Q-CTRL pyQuil Adapter you will need an installation of Python. We
2828
recommend using the [Anaconda](https://www.anaconda.com/) distribution of
2929
Python. Anaconda includes standard numerical and scientific Python packages
3030
which are optimally compiled for your machine. Follow the [Anaconda
@@ -38,7 +38,7 @@ jupyter notebook editor](https://jupyter.org/install) on its own.
3838

3939
### Using PyPi
4040

41-
Use `pip` to install the latest version of Q-CTRL Pyquil Adaptor.
41+
Use `pip` to install the latest version of Q-CTRL pyQuil Adapter.
4242

4343
```shell
4444
pip install qctrl-pyquil

README.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
Q-CTRL Pyquil Adaptor
2+
Q-CTRL pyQuil Adapter
33
=====================
44

5-
The aim of the Q-CTRL Pyquil Adaptor package is to provide export functions allowing
5+
The aim of the Q-CTRL pyQuil Adapter package is to provide export functions allowing
66
users to deploy established error-robust quantum control protocols from the
77
open literature and defined in Q-CTRL Open Controls on Rigetti quantum hardware
88
and simulators.
@@ -22,14 +22,14 @@ Table of Contents
2222
Installation
2323
------------
2424

25-
Q-CTRL Pyquil Adaptor can be installed through ``pip`` or from source. We recommend
25+
Q-CTRL pyQuil Adapter can be installed through ``pip`` or from source. We recommend
2626
the ``pip`` distribution to get the most recent stable release. If you want the
2727
latest features then install from source.
2828

2929
Requirements
3030
^^^^^^^^^^^^
3131

32-
To use Q-CTRL Pyquil Adaptor you will need an installation of Python. We
32+
To use Q-CTRL pyQuil Adapter you will need an installation of Python. We
3333
recommend using the `Anaconda <https://www.anaconda.com/>`_ distribution of
3434
Python. Anaconda includes standard numerical and scientific Python packages
3535
which are optimally compiled for your machine. Follow the `Anaconda
@@ -44,7 +44,7 @@ jupyter notebook editor <https://jupyter.org/install>`_ on its own.
4444
Using PyPi
4545
^^^^^^^^^^
4646

47-
Use ``pip`` to install the latest version of Q-CTRL Pyquil Adaptor.
47+
Use ``pip`` to install the latest version of Q-CTRL pyQuil Adapter.
4848

4949
.. code-block:: shell
5050

docs/index.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11

2-
Q-CTRL Pyquil Adaptor
2+
Q-CTRL pyQuil Adapter
33
=====================
44

5-
Aim of the Q-CTRL Pyquil Adaptor package is to provide easy to use export functions
5+
Aim of the Q-CTRL pyQuil Adapter package is to provide easy to use export functions
66
allowing users to deploy the quantum controls techniques, define in Q-CTRL Open
77
Controls, on Rigetti quantum devices and simulators.
88

99
Installation
1010
------------
1111

12-
Q-CTRL Pyquil Adaptor can be install through ``pip`` or from source. We recommend
12+
Q-CTRL pyQuil Adapter can be install through ``pip`` or from source. We recommend
1313
the ``pip`` distribution to get the most recent stable release. If you want the
1414
latest features then install from source.
1515

1616
Requirements
1717
^^^^^^^^^^^^
1818

19-
To use Q-CTRL Pyquil Adaptor you will need an installation of Python. We
19+
To use Q-CTRL pyQuil Adapter you will need an installation of Python. We
2020
recommend using the `Anaconda <https://www.anaconda.com/>`_ distribution of
2121
Python. Anaconda includes standard numerical and scientific Python packages
2222
which are optimally compiled for your machine. Follow the `Anaconda
@@ -31,7 +31,7 @@ jupyter notebook editor <https://jupyter.org/install>`_ on its own.
3131
Using PyPi
3232
^^^^^^^^^^
3333

34-
Use ``pip`` to install the latest version of Q-CTRL Pyquil Adaptor.
34+
Use ``pip`` to install the latest version of Q-CTRL pyQuil Adapter.
3535

3636
.. code-block:: shell
3737

poetry.lock

+27-46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
22
name = "qctrl-pyquil"
33
version = "0.0.1"
4-
description = "Q-CTRL Pyquil Adapter"
4+
description = "Q-CTRL pyQuil Adapter"
55
license = "Apache-2.0"
66
authors = ["Q-CTRL <[email protected]>"]
77
readme = "README.md"

qctrlpyquil/program.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def convert_dds_to_pyquil_program(
3838
algorithm=INSTANT_UNITARY):
3939

4040
"""Converts a Dynamic Decoupling Sequence into quantum program
41-
as defined in Pyquil.
41+
as defined in pyQuil.
4242
4343
Parameters
4444
----------
@@ -63,7 +63,7 @@ def convert_dds_to_pyquil_program(
6363
Returns
6464
-------
6565
pyquil.Program
66-
The Pyquil program containting gates specified by the rotations of
66+
The pyQuil program containing gates specified by the rotations of
6767
dynamic decoupling sequence
6868
6969
Raises

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
long_description=readme,
2626
name='qctrl-pyquil',
2727
version='0.0.1',
28-
description='Q-CTRL Pyquil Adapter',
28+
description='Q-CTRL pyQuil Adapter',
2929
python_requires='<3.8,>=3.6.4',
3030
project_urls={"repository": "https://github.com/qctrl/python-pyquil"},
3131
author='Q-CTRL',

tests/test_pyquil_sequence.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
"""
1717
===================================
18-
Tests conversion to Pyquil program
18+
Tests conversion to PyQuil program
1919
===================================
2020
"""
2121

@@ -31,7 +31,7 @@
3131
def test_pyquil_program():
3232

3333
"""Tests if the Dynamic Decoupling Sequence gives rise to Identity
34-
operation in Pyquil
34+
operation in PyQuil
3535
"""
3636
_duration = 5e-6
3737
_offsets = [0, 1e-6, 2.5e-6, 4e-6, 5e-6]

0 commit comments

Comments
 (0)