Skip to content

Commit 59dc930

Browse files
committed
Merge branch 'master' into feature/fast_complex_exponential
2 parents 376ea42 + 7c7e8c1 commit 59dc930

27 files changed

+14408
-15332
lines changed

.readthedocs.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
version: 2
2+
3+
build:
4+
image: stable
5+
26
conda:
37
environment: environment.yml
8+
49
python:
5-
version: 3
10+
system_packages: true
611
install:
712
- method: pip
813
path: .
14+
extra_requirements:
15+
- doc
16+
- fancy_progressbar

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ install:
1515
- hash -r
1616
- conda config --set always_yes yes --set changeps1 no
1717
- conda config --append channels conda-forge
18-
- conda update -q conda
1918
# Useful for debugging any issues with conda
2019
- conda info -a
2120

2221
- conda env create -f ./environment.yml
23-
- source activate test-environment
24-
- python setup.py install
22+
- source activate filter_functions
23+
- pip install .[fancy_progressbar,doc,tests]
2524

2625
script:
2726
- "coverage run --rcfile=coverage.ini -m pytest"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# `filter_functions`: A package for efficient numeric calculation of generalized filter functions
1+
# `filter_functions`: A package for efficient numerical calculation of generalized filter functions
22
[![Coverage Status](https://coveralls.io/repos/github/qutech/filter_functions/badge.svg?branch=master)](https://coveralls.io/github/qutech/filter_functions?branch=master)
33
[![Build Status](https://travis-ci.org/qutech/filter_functions.svg?branch=master)](https://travis-ci.org/qutech/filter_functions)
44
[![Documentation Status](https://readthedocs.org/projects/filter-functions/badge/?version=latest)](https://filter-functions.readthedocs.io/en/latest/?badge=latest)
55

66
Simply put, filter functions characterize a pulse's susceptibility to noise at a given frequency and can thus be used to gain insight into the decoherence of the system. The formalism allows for efficient calculation of several quantities of interest such as average gate fidelity. Moreover, the filter function of a composite pulse can be easily derived from those of the constituent pulses, allowing for efficient assembly and characterization of pulse sequences.
77

8-
Previously, filter functions have only been computed analytically for select pulses such as dynamical decoupling sequences [1], [2]. With this project we aim to provide a toolkit for calculating and inspecting filter functions for arbitrary pulses including pulses without analytic form such as one might get from numeric pulse optimization algorithms.
8+
Previously, filter functions have only been computed analytically for select pulses such as dynamical decoupling sequences [1], [2]. With this project we aim to provide a toolkit for calculating and inspecting filter functions for arbitrary pulses including pulses without analytic form such as one might get from numerical pulse optimization algorithms.
99

1010
The package is built to interface with [QuTiP](http://qutip.org/), a widely-used quantum toolbox for Python, and comes with extensive documentation and a test suite.
1111

doc/source/examples/advanced_concatenation.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
"name": "python",
245245
"nbconvert_exporter": "python",
246246
"pygments_lexer": "ipython3",
247-
"version": "3.7.4"
247+
"version": "3.7.6"
248248
}
249249
},
250250
"nbformat": 4,

doc/source/examples/calculating_error_transfer_matrices.ipynb

Lines changed: 13777 additions & 36 deletions
Large diffs are not rendered by default.

doc/source/examples/extending_pulses.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"outputs": [],
2222
"source": [
2323
"import numpy as np\n",
24-
"import qutip as qt\n",
24+
"from qutip.qip import operations\n",
2525
"\n",
2626
"import filter_functions as ff\n",
2727
"from filter_functions import util\n",
@@ -139,7 +139,7 @@
139139
"outputs": [],
140140
"source": [
141141
"cnot_12 = hadamard_2 @ cphase_12 @ hadamard_2\n",
142-
"util.oper_equiv(cnot_12.total_Q, qt.cnot(control=0, target=1))"
142+
"util.oper_equiv(cnot_12.total_Q, operations.cnot(control=0, target=1))"
143143
]
144144
},
145145
{
@@ -168,7 +168,7 @@
168168
"\n",
169169
"cnot_21 = ff.remap(cnot_12, (1, 0), oper_identifier_mapping=mapping)\n",
170170
"\n",
171-
"util.oper_equiv(cnot_21.total_Q, qt.cnot(control=1, target=0))\n",
171+
"util.oper_equiv(cnot_21.total_Q, operations.cnot(control=1, target=0))\n",
172172
"print(cnot_21.c_oper_identifiers, cnot_21.n_oper_identifiers, sep='\\t')"
173173
]
174174
},
@@ -230,7 +230,7 @@
230230
"name": "python",
231231
"nbconvert_exporter": "python",
232232
"pygments_lexer": "ipython3",
233-
"version": "3.7.4"
233+
"version": "3.7.6"
234234
}
235235
},
236236
"nbformat": 4,

doc/source/examples/getting_started.ipynb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,13 @@
252252
"source": [
253253
"The discrepancy to the analytical solution is due to the finite pulse width we have chosen here. We can see that, contrary to the FID-like filter function along $\\sigma_x$, the dephasing filter function of the SE pulse drops to (almost) zero for DC noise, affirming that indeed the pulse enhances coherence as it filters out frequencies slower than the pulse duration."
254254
]
255+
},
256+
{
257+
"cell_type": "code",
258+
"execution_count": null,
259+
"metadata": {},
260+
"outputs": [],
261+
"source": []
255262
}
256263
],
257264
"metadata": {
@@ -270,7 +277,7 @@
270277
"name": "python",
271278
"nbconvert_exporter": "python",
272279
"pygments_lexer": "ipython3",
273-
"version": "3.7.4"
280+
"version": "3.7.6"
274281
}
275282
},
276283
"nbformat": 4,

doc/source/examples/periodic_driving.ipynb

Lines changed: 114 additions & 114 deletions
Large diffs are not rendered by default.

doc/source/examples/quantum_fourier_transform.ipynb

Lines changed: 208 additions & 14762 deletions
Large diffs are not rendered by default.

doc/source/examples/qutip_integration.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"name": "python",
139139
"nbconvert_exporter": "python",
140140
"pygments_lexer": "ipython3",
141-
"version": "3.7.4"
141+
"version": "3.7.6"
142142
}
143143
},
144144
"nbformat": 4,

0 commit comments

Comments
 (0)