diff --git a/cirq-aqt/cirq_aqt/aqt_device.py b/cirq-aqt/cirq_aqt/aqt_device.py index fb9242c70cc..7c3c3a08347 100644 --- a/cirq-aqt/cirq_aqt/aqt_device.py +++ b/cirq-aqt/cirq_aqt/aqt_device.py @@ -16,13 +16,13 @@ The device is based on a linear calcium ion string with arbitrary connectivity. For more information see: -https://quantumoptics.at/en/publications/journal-articles.html +[https://quantumoptics.at/en/publications/journal-articles.html](https://quantumoptics.at/en/publications/journal-articles.html){:.external} -https://iopscience.iop.org/article/10.1088/1367-2630/15/12/123012/meta +[https://iopscience.iop.org/article/10.1088/1367-2630/15/12/123012/meta](https://iopscience.iop.org/article/10.1088/1367-2630/15/12/123012/meta){:.external} The native gate set consists of the local gates: X,Y, and XX entangling gates - """ + import json from typing import Any, cast, Dict, Optional, Sequence, List, Tuple, Union import numpy as np diff --git a/cirq-aqt/cirq_aqt/aqt_sampler.py b/cirq-aqt/cirq_aqt/aqt_sampler.py index e3365786230..861667c8eb9 100644 --- a/cirq-aqt/cirq_aqt/aqt_sampler.py +++ b/cirq-aqt/cirq_aqt/aqt_sampler.py @@ -14,11 +14,11 @@ """Samplers to access the AQT ion trap devices via the provided API. For more information on these devices see the AQT homepage: -https://www.aqt.eu +[https://www.aqt.eu](https://www.aqt.eu){:.external} API keys for classical simulators and quantum devices can be obtained at: -https://gateway-portal.aqt.eu/ +[https://gateway-portal.aqt.eu/](https://gateway-portal.aqt.eu/){:.external} """ diff --git a/cirq-google/cirq_google/engine/runtime_estimator.py b/cirq-google/cirq_google/engine/runtime_estimator.py index 9ebbb173e4a..9468cc0625b 100644 --- a/cirq-google/cirq_google/engine/runtime_estimator.py +++ b/cirq-google/cirq_google/engine/runtime_estimator.py @@ -11,7 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - """Utility functions to estimate runtime using Engine to execute circuits. Users can call estimate_run_time, estimate_run_sweep_time, or @@ -25,12 +24,12 @@ Parameters were calculated using a variety of width/depth/sweeps from the rep rate calculator, see: -https://github.com/quantumlib/ReCirq/blob/master/recirq/benchmarks/rep_rate/ +[https://github.com/quantumlib/ReCirq/blob/master/recirq/benchmarks/rep_rate/](https://github.com/quantumlib/ReCirq/blob/master/recirq/benchmarks/rep_rate/){:.external} Model was then fitted by hand, correcting for anomalies and outliers when possible. - """ + from typing import List, Optional, Sequence import cirq diff --git a/dev_tools/conf/.pylintrc b/dev_tools/conf/.pylintrc index e782d77b6b0..5582381a555 100644 --- a/dev_tools/conf/.pylintrc +++ b/dev_tools/conf/.pylintrc @@ -63,7 +63,7 @@ enable= yield-outside-function # Ignore long lines containing urls or pylint directives. -ignore-long-lines=^(.*#\w*pylint: disable.*|\s*(# )??)$ +ignore-long-lines=^(.*#\w*pylint: disable.*|\s*(# )?[<\[\(]?https?://\S+[>\]\)]?)$ [TYPECHECK]