From 5c305270c286f706214516a0eabc7f5a0a55e58a Mon Sep 17 00:00:00 2001 From: William Kalfus Date: Tue, 17 Sep 2019 15:54:56 -0400 Subject: [PATCH 1/2] Support for both APS3 channels --- QGL.egg-info/PKG-INFO | 64 +++++++++++++++++++++++++++++++ QGL.egg-info/SOURCES.txt | 44 +++++++++++++++++++++ QGL.egg-info/dependency_links.txt | 1 + QGL.egg-info/requires.txt | 6 +++ QGL.egg-info/top_level.txt | 1 + QGL/ChannelLibraries.py | 6 +-- 6 files changed, 118 insertions(+), 4 deletions(-) create mode 100644 QGL.egg-info/PKG-INFO create mode 100644 QGL.egg-info/SOURCES.txt create mode 100644 QGL.egg-info/dependency_links.txt create mode 100644 QGL.egg-info/requires.txt create mode 100644 QGL.egg-info/top_level.txt diff --git a/QGL.egg-info/PKG-INFO b/QGL.egg-info/PKG-INFO new file mode 100644 index 00000000..0aa61f17 --- /dev/null +++ b/QGL.egg-info/PKG-INFO @@ -0,0 +1,64 @@ +Metadata-Version: 2.1 +Name: QGL +Version: 2019.1 +Summary: Quantum Gate Language (QGL) is a domain specific language embedded in python for specifying pulse sequences. +Home-page: https://github.com/BBN-Q/QGL +License: Apache 2.0 License +Download-URL: https://github.com/BBN-Q/QGL +Description: # Quantum Gate Language + + [![Build Status](https://travis-ci.org/BBN-Q/QGL.svg?branch=master)](https://travis-ci.org/BBN-Q/QGL) [![Coverage Status](https://coveralls.io/repos/BBN-Q/QGL/badge.svg?branch=master)](https://coveralls.io/r/BBN-Q/QGL) + + Quantum Gate Language (QGL) is a domain specific language embedded in python for + specifying pulse sequences. + + Read the [online documentation](https://bbn-q.github.io/QGL/) and see example + usage in this [Jupyter + notebook](https://github.com/BBN-Q/QGL/blob/master/doc/QGL-demo.ipynb). + + ## Setup instructions + + The most straightforward way to get up and running is to use the [Anaconda + Python distribution](http://continuum.io/downloads). This includes nearly all + the dependencies. The remaining dependencies can be installed from the terminal + or Anaconda Command Prompt on Windows. While QGL can be run on windows, our + experiment control software [Auspex](https://github.com/BBN-Q/auspex) relies on linux + when running qubit experiments. + + ### Python 3.6+ + + ```bash + cd QGL/ + pip install . + ``` + Alternatively, if you plan to modify the source code it will be easier to perform a + developer install using: + ```bash + pip install -e . + ``` + If you'd like to use some of the built-in gate-set-tomography functionality, + you can grab the PyGSTi package during the install: + ``` + pip install '.[gst]' + ``` + If the `QGL` module is not installed, the repository path needs to be in the + `PYTHONPATH`. On Windows machines, you add/modify this environment variable by + going to System -> Advanced Settings -> Environment variables. On Mac/Linux + machines add the following line to your .bashrc or .bash_profile: ``` export + PYTHONPATH=/path/to/QGL/repo:$PYTHONPATH``` + + ## Usage + QGL is designed to be utilized alongside Auspex, and most of the usage example, + including how to define a channel library, can be found in the [Auspex documentation](https://auspex.readthedocs.io/en/develop/qubits.html) + + ## Dependencies + * Python 3.6+ + * Numpy/Scipy + * networkx 2.0 + * iPython/Jupyter 4.0 (only for Jupyter notebooks) + * bbndb + +Keywords: quantum qubit experiment configuration gate language +Platform: UNKNOWN +Requires-Python: >=3.6 +Description-Content-Type: text/markdown diff --git a/QGL.egg-info/SOURCES.txt b/QGL.egg-info/SOURCES.txt new file mode 100644 index 00000000..3c94db60 --- /dev/null +++ b/QGL.egg-info/SOURCES.txt @@ -0,0 +1,44 @@ +README.md +setup.py +QGL/BlockLabel.py +QGL/ChannelLibraries.py +QGL/Channels.py +QGL/Cliffords.py +QGL/Compiler.py +QGL/ControlFlow.py +QGL/GSTTools.py +QGL/PatternUtils.py +QGL/Plotting.py +QGL/PulsePrimitives.py +QGL/PulseSequencePlotter.py +QGL/PulseSequencer.py +QGL/PulseShapes.py +QGL/Scheduler.py +QGL/TdmInstructions.py +QGL/Tomography.py +QGL/__init__.py +QGL/config.py +QGL/config_location.py +QGL/mm.py +QGL.egg-info/PKG-INFO +QGL.egg-info/SOURCES.txt +QGL.egg-info/dependency_links.txt +QGL.egg-info/requires.txt +QGL.egg-info/top_level.txt +QGL/BasicSequences/AllXY.py +QGL/BasicSequences/BlankingSweeps.py +QGL/BasicSequences/CR.py +QGL/BasicSequences/Decoupling.py +QGL/BasicSequences/Feedback.py +QGL/BasicSequences/FlipFlop.py +QGL/BasicSequences/RB.py +QGL/BasicSequences/Rabi.py +QGL/BasicSequences/SPAM.py +QGL/BasicSequences/StarkShift.py +QGL/BasicSequences/T1T2.py +QGL/BasicSequences/__init__.py +QGL/BasicSequences/helpers.py +QGL/drivers/APS2Pattern.py +QGL/drivers/APS3Pattern.py +QGL/drivers/APSPattern.py +QGL/drivers/__init__.py \ No newline at end of file diff --git a/QGL.egg-info/dependency_links.txt b/QGL.egg-info/dependency_links.txt new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/QGL.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/QGL.egg-info/requires.txt b/QGL.egg-info/requires.txt new file mode 100644 index 00000000..900673d3 --- /dev/null +++ b/QGL.egg-info/requires.txt @@ -0,0 +1,6 @@ +bbndb>=2019.1 +numpy>=1.11.1 +scipy>=0.17.1 +networkx>=1.11 +bqplot>=0.11.5 +sqlalchemy>=1.2.15 diff --git a/QGL.egg-info/top_level.txt b/QGL.egg-info/top_level.txt new file mode 100644 index 00000000..0e533603 --- /dev/null +++ b/QGL.egg-info/top_level.txt @@ -0,0 +1 @@ +QGL diff --git a/QGL/ChannelLibraries.py b/QGL/ChannelLibraries.py index b81c74bd..9ed42944 100644 --- a/QGL/ChannelLibraries.py +++ b/QGL/ChannelLibraries.py @@ -53,7 +53,6 @@ from . import config from . import Channels from . import PulseShapes -from .PulsePrimitives import clear_pulse_cache from IPython.display import HTML, display @@ -377,12 +376,11 @@ def build_connectivity_graph(self): self.connectivityG[chan.source][chan.target]['channel'] = chan @check_for_duplicates - def new_APS3(self, label, address, serial_port, **kwargs): + def new_APS3(self, label, address, serial_port, dac, **kwargs): chan1 = Channels.PhysicalQuadratureChannel(label=f"{label}-1", channel=0, instrument=label, translator="APS3Pattern", sampling_rate=2.5e9, channel_db=self.channelDatabase) - chan2 = Channels.PhysicalQuadratureChannel(label=f"{label}-2", channel=1, instrument=label, translator="APS3Pattern", sampling_rate=2.5e9, channel_db=self.channelDatabase) m1 = Channels.PhysicalMarkerChannel(label=f"{label}-m1", channel=0, instrument=label, translator="APS3Pattern", sampling_rate=2.5e9, channel_db=self.channelDatabase) - this_transmitter = Channels.Transmitter(label=label, model="APS3", address=address, serial_port=serial_port, channels=[chan1, chan2, m1], channel_db=self.channelDatabase, **kwargs) + this_transmitter = Channels.Transmitter(label=label, model="APS3", address=address, serial_port=serial_port, dac=dac, channels=[chan1, m1], channel_db=self.channelDatabase, **kwargs) this_transmitter.trigger_source = 'external' if 'trigger_source' not in kwargs else kwargs['trigger_source'] self.add_and_update_dict(this_transmitter) From f163a4a94145d70527c2b216b69ee6bcabc77425 Mon Sep 17 00:00:00 2001 From: Graham Rowlands Date: Tue, 4 May 2021 14:25:19 -0400 Subject: [PATCH 2/2] Purge egg artifacts --- QGL.egg-info/PKG-INFO | 64 ------------------------------- QGL.egg-info/SOURCES.txt | 44 --------------------- QGL.egg-info/dependency_links.txt | 1 - QGL.egg-info/requires.txt | 6 --- QGL.egg-info/top_level.txt | 1 - 5 files changed, 116 deletions(-) delete mode 100644 QGL.egg-info/PKG-INFO delete mode 100644 QGL.egg-info/SOURCES.txt delete mode 100644 QGL.egg-info/dependency_links.txt delete mode 100644 QGL.egg-info/requires.txt delete mode 100644 QGL.egg-info/top_level.txt diff --git a/QGL.egg-info/PKG-INFO b/QGL.egg-info/PKG-INFO deleted file mode 100644 index 0aa61f17..00000000 --- a/QGL.egg-info/PKG-INFO +++ /dev/null @@ -1,64 +0,0 @@ -Metadata-Version: 2.1 -Name: QGL -Version: 2019.1 -Summary: Quantum Gate Language (QGL) is a domain specific language embedded in python for specifying pulse sequences. -Home-page: https://github.com/BBN-Q/QGL -License: Apache 2.0 License -Download-URL: https://github.com/BBN-Q/QGL -Description: # Quantum Gate Language - - [![Build Status](https://travis-ci.org/BBN-Q/QGL.svg?branch=master)](https://travis-ci.org/BBN-Q/QGL) [![Coverage Status](https://coveralls.io/repos/BBN-Q/QGL/badge.svg?branch=master)](https://coveralls.io/r/BBN-Q/QGL) - - Quantum Gate Language (QGL) is a domain specific language embedded in python for - specifying pulse sequences. - - Read the [online documentation](https://bbn-q.github.io/QGL/) and see example - usage in this [Jupyter - notebook](https://github.com/BBN-Q/QGL/blob/master/doc/QGL-demo.ipynb). - - ## Setup instructions - - The most straightforward way to get up and running is to use the [Anaconda - Python distribution](http://continuum.io/downloads). This includes nearly all - the dependencies. The remaining dependencies can be installed from the terminal - or Anaconda Command Prompt on Windows. While QGL can be run on windows, our - experiment control software [Auspex](https://github.com/BBN-Q/auspex) relies on linux - when running qubit experiments. - - ### Python 3.6+ - - ```bash - cd QGL/ - pip install . - ``` - Alternatively, if you plan to modify the source code it will be easier to perform a - developer install using: - ```bash - pip install -e . - ``` - If you'd like to use some of the built-in gate-set-tomography functionality, - you can grab the PyGSTi package during the install: - ``` - pip install '.[gst]' - ``` - If the `QGL` module is not installed, the repository path needs to be in the - `PYTHONPATH`. On Windows machines, you add/modify this environment variable by - going to System -> Advanced Settings -> Environment variables. On Mac/Linux - machines add the following line to your .bashrc or .bash_profile: ``` export - PYTHONPATH=/path/to/QGL/repo:$PYTHONPATH``` - - ## Usage - QGL is designed to be utilized alongside Auspex, and most of the usage example, - including how to define a channel library, can be found in the [Auspex documentation](https://auspex.readthedocs.io/en/develop/qubits.html) - - ## Dependencies - * Python 3.6+ - * Numpy/Scipy - * networkx 2.0 - * iPython/Jupyter 4.0 (only for Jupyter notebooks) - * bbndb - -Keywords: quantum qubit experiment configuration gate language -Platform: UNKNOWN -Requires-Python: >=3.6 -Description-Content-Type: text/markdown diff --git a/QGL.egg-info/SOURCES.txt b/QGL.egg-info/SOURCES.txt deleted file mode 100644 index 3c94db60..00000000 --- a/QGL.egg-info/SOURCES.txt +++ /dev/null @@ -1,44 +0,0 @@ -README.md -setup.py -QGL/BlockLabel.py -QGL/ChannelLibraries.py -QGL/Channels.py -QGL/Cliffords.py -QGL/Compiler.py -QGL/ControlFlow.py -QGL/GSTTools.py -QGL/PatternUtils.py -QGL/Plotting.py -QGL/PulsePrimitives.py -QGL/PulseSequencePlotter.py -QGL/PulseSequencer.py -QGL/PulseShapes.py -QGL/Scheduler.py -QGL/TdmInstructions.py -QGL/Tomography.py -QGL/__init__.py -QGL/config.py -QGL/config_location.py -QGL/mm.py -QGL.egg-info/PKG-INFO -QGL.egg-info/SOURCES.txt -QGL.egg-info/dependency_links.txt -QGL.egg-info/requires.txt -QGL.egg-info/top_level.txt -QGL/BasicSequences/AllXY.py -QGL/BasicSequences/BlankingSweeps.py -QGL/BasicSequences/CR.py -QGL/BasicSequences/Decoupling.py -QGL/BasicSequences/Feedback.py -QGL/BasicSequences/FlipFlop.py -QGL/BasicSequences/RB.py -QGL/BasicSequences/Rabi.py -QGL/BasicSequences/SPAM.py -QGL/BasicSequences/StarkShift.py -QGL/BasicSequences/T1T2.py -QGL/BasicSequences/__init__.py -QGL/BasicSequences/helpers.py -QGL/drivers/APS2Pattern.py -QGL/drivers/APS3Pattern.py -QGL/drivers/APSPattern.py -QGL/drivers/__init__.py \ No newline at end of file diff --git a/QGL.egg-info/dependency_links.txt b/QGL.egg-info/dependency_links.txt deleted file mode 100644 index 8b137891..00000000 --- a/QGL.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/QGL.egg-info/requires.txt b/QGL.egg-info/requires.txt deleted file mode 100644 index 900673d3..00000000 --- a/QGL.egg-info/requires.txt +++ /dev/null @@ -1,6 +0,0 @@ -bbndb>=2019.1 -numpy>=1.11.1 -scipy>=0.17.1 -networkx>=1.11 -bqplot>=0.11.5 -sqlalchemy>=1.2.15 diff --git a/QGL.egg-info/top_level.txt b/QGL.egg-info/top_level.txt deleted file mode 100644 index 0e533603..00000000 --- a/QGL.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -QGL