From 4f0300ae94ab3a4e5ca4b79b3655e1890612ab6b Mon Sep 17 00:00:00 2001 From: CircleCI builder Date: Tue, 20 Aug 2024 18:12:07 +0000 Subject: [PATCH] [skip ci] Update docs --- .buildinfo | 2 +- _modules/index.html | 2 +- _modules/oitg/cache.html | 2 +- _modules/oitg/circuits/clifford.html | 2 +- _modules/oitg/circuits/composite_pulses.html | 2 +- _modules/oitg/circuits/gate.html | 2 +- _modules/oitg/circuits/protocols/gst.html | 2 +- .../oitg/circuits/protocols/gst/generate.html | 2 +- .../oitg/circuits/protocols/gst/specs.html | 2 +- .../protocols/process_tomo/analyse.html | 2 +- .../protocols/process_tomo/generate.html | 2 +- .../protocols/process_tomo/tools.html | 2 +- .../oitg/circuits/protocols/rbm/generate.html | 2 +- .../oitg/circuits/protocols/rpe/analyse.html | 2 +- .../oitg/circuits/protocols/rpe/generate.html | 2 +- _modules/oitg/circuits/qasm.html | 2 +- _modules/oitg/circuits/results.html | 2 +- _modules/oitg/circuits/runner.html | 2 +- _modules/oitg/circuits/to_matrix.html | 2 +- _modules/oitg/circuits/visualisation.html | 2 +- _modules/oitg/paths.html | 2 +- _modules/oitg/results.html | 2 +- _modules/oitg/threshold.html | 2 +- _static/basic.css | 2 +- _static/doctools.js | 2 +- _static/language_data.js | 4 +- _static/searchtools.js | 165 +++++++++++------- cache.html | 2 +- circuits.html | 2 +- genindex.html | 2 +- index.html | 3 +- paths.html | 2 +- py-modindex.html | 2 +- results.html | 2 +- search.html | 2 +- searchindex.js | 2 +- threshold.html | 2 +- 37 files changed, 143 insertions(+), 97 deletions(-) diff --git a/.buildinfo b/.buildinfo index 78f1176..87a5ad0 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: a1c890065ad264799589d61fe958976d +config: fb4b67af78bfb8206850748d898c70c2 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/_modules/index.html b/_modules/index.html index fdfce1c..ac212c5 100644 --- a/_modules/index.html +++ b/_modules/index.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/cache.html b/_modules/oitg/cache.html index 96e302f..4485e44 100644 --- a/_modules/oitg/cache.html +++ b/_modules/oitg/cache.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/clifford.html b/_modules/oitg/circuits/clifford.html index 452826b..e3a66bd 100644 --- a/_modules/oitg/circuits/clifford.html +++ b/_modules/oitg/circuits/clifford.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/composite_pulses.html b/_modules/oitg/circuits/composite_pulses.html index d404de7..ca4e643 100644 --- a/_modules/oitg/circuits/composite_pulses.html +++ b/_modules/oitg/circuits/composite_pulses.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/gate.html b/_modules/oitg/circuits/gate.html index 61af65c..c223c3a 100644 --- a/_modules/oitg/circuits/gate.html +++ b/_modules/oitg/circuits/gate.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/protocols/gst.html b/_modules/oitg/circuits/protocols/gst.html index 423fa07..843f80d 100644 --- a/_modules/oitg/circuits/protocols/gst.html +++ b/_modules/oitg/circuits/protocols/gst.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/protocols/gst/generate.html b/_modules/oitg/circuits/protocols/gst/generate.html index ee1ff67..3027f48 100644 --- a/_modules/oitg/circuits/protocols/gst/generate.html +++ b/_modules/oitg/circuits/protocols/gst/generate.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/protocols/gst/specs.html b/_modules/oitg/circuits/protocols/gst/specs.html index e50d191..556362a 100644 --- a/_modules/oitg/circuits/protocols/gst/specs.html +++ b/_modules/oitg/circuits/protocols/gst/specs.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/protocols/process_tomo/analyse.html b/_modules/oitg/circuits/protocols/process_tomo/analyse.html index 890f59d..d07873a 100644 --- a/_modules/oitg/circuits/protocols/process_tomo/analyse.html +++ b/_modules/oitg/circuits/protocols/process_tomo/analyse.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/protocols/process_tomo/generate.html b/_modules/oitg/circuits/protocols/process_tomo/generate.html index dcb0308..4729ac8 100644 --- a/_modules/oitg/circuits/protocols/process_tomo/generate.html +++ b/_modules/oitg/circuits/protocols/process_tomo/generate.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/protocols/process_tomo/tools.html b/_modules/oitg/circuits/protocols/process_tomo/tools.html index 02bc363..ca8f32f 100644 --- a/_modules/oitg/circuits/protocols/process_tomo/tools.html +++ b/_modules/oitg/circuits/protocols/process_tomo/tools.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/protocols/rbm/generate.html b/_modules/oitg/circuits/protocols/rbm/generate.html index 82b5ae2..b33a404 100644 --- a/_modules/oitg/circuits/protocols/rbm/generate.html +++ b/_modules/oitg/circuits/protocols/rbm/generate.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/protocols/rpe/analyse.html b/_modules/oitg/circuits/protocols/rpe/analyse.html index e115d76..b96eae6 100644 --- a/_modules/oitg/circuits/protocols/rpe/analyse.html +++ b/_modules/oitg/circuits/protocols/rpe/analyse.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/protocols/rpe/generate.html b/_modules/oitg/circuits/protocols/rpe/generate.html index 706806a..2d0e12d 100644 --- a/_modules/oitg/circuits/protocols/rpe/generate.html +++ b/_modules/oitg/circuits/protocols/rpe/generate.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/qasm.html b/_modules/oitg/circuits/qasm.html index 7dc85b4..25cc158 100644 --- a/_modules/oitg/circuits/qasm.html +++ b/_modules/oitg/circuits/qasm.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/results.html b/_modules/oitg/circuits/results.html index 54c1372..8828925 100644 --- a/_modules/oitg/circuits/results.html +++ b/_modules/oitg/circuits/results.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/runner.html b/_modules/oitg/circuits/runner.html index 3260aa4..217ccf3 100644 --- a/_modules/oitg/circuits/runner.html +++ b/_modules/oitg/circuits/runner.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/to_matrix.html b/_modules/oitg/circuits/to_matrix.html index 4e75105..d3cce50 100644 --- a/_modules/oitg/circuits/to_matrix.html +++ b/_modules/oitg/circuits/to_matrix.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/circuits/visualisation.html b/_modules/oitg/circuits/visualisation.html index 7aee8c6..e5e202e 100644 --- a/_modules/oitg/circuits/visualisation.html +++ b/_modules/oitg/circuits/visualisation.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/paths.html b/_modules/oitg/paths.html index 9e74034..f693344 100644 --- a/_modules/oitg/paths.html +++ b/_modules/oitg/paths.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/results.html b/_modules/oitg/results.html index 054af9c..aaecebf 100644 --- a/_modules/oitg/results.html +++ b/_modules/oitg/results.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/oitg/threshold.html b/_modules/oitg/threshold.html index 41a5360..643b19e 100644 --- a/_modules/oitg/threshold.html +++ b/_modules/oitg/threshold.html @@ -14,7 +14,7 @@ - + diff --git a/_static/basic.css b/_static/basic.css index 30fee9d..f316efc 100644 --- a/_static/basic.css +++ b/_static/basic.css @@ -4,7 +4,7 @@ * * Sphinx stylesheet -- basic theme. * - * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ diff --git a/_static/doctools.js b/_static/doctools.js index d06a71d..4d67807 100644 --- a/_static/doctools.js +++ b/_static/doctools.js @@ -4,7 +4,7 @@ * * Base JavaScript utilities for all Sphinx HTML documentation. * - * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ diff --git a/_static/language_data.js b/_static/language_data.js index 250f566..367b8ed 100644 --- a/_static/language_data.js +++ b/_static/language_data.js @@ -5,7 +5,7 @@ * This script contains the language-specific data used by searchtools.js, * namely the list of stopwords, stemmer, scorer and splitter. * - * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -13,7 +13,7 @@ var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"]; -/* Non-minified version is copied as a separate JS file, is available */ +/* Non-minified version is copied as a separate JS file, if available */ /** * Porter Stemmer diff --git a/_static/searchtools.js b/_static/searchtools.js index 7918c3f..92da3f8 100644 --- a/_static/searchtools.js +++ b/_static/searchtools.js @@ -4,7 +4,7 @@ * * Sphinx JavaScript utilities for the full-text search. * - * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -99,7 +99,7 @@ const _displayItem = (item, searchTerms, highlightTerms) => { .then((data) => { if (data) listItem.appendChild( - Search.makeSearchSummary(data, searchTerms) + Search.makeSearchSummary(data, searchTerms, anchor) ); // highlight search terms in the summary if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js @@ -116,8 +116,8 @@ const _finishSearch = (resultCount) => { ); else Search.status.innerText = _( - `Search finished, found ${resultCount} page(s) matching the search query.` - ); + "Search finished, found ${resultCount} page(s) matching the search query." + ).replace('${resultCount}', resultCount); }; const _displayNextItem = ( results, @@ -137,6 +137,22 @@ const _displayNextItem = ( // search finished, update title and status message else _finishSearch(resultCount); }; +// Helper function used by query() to order search results. +// Each input is an array of [docname, title, anchor, descr, score, filename]. +// Order the results by score (in opposite order of appearance, since the +// `_displayNextItem` function uses pop() to retrieve items) and then alphabetically. +const _orderResultsByScoreThenName = (a, b) => { + const leftScore = a[4]; + const rightScore = b[4]; + if (leftScore === rightScore) { + // same score: sort alphabetically + const leftTitle = a[1].toLowerCase(); + const rightTitle = b[1].toLowerCase(); + if (leftTitle === rightTitle) return 0; + return leftTitle > rightTitle ? -1 : 1; // inverted is intentional + } + return leftScore > rightScore ? 1 : -1; +}; /** * Default splitQuery function. Can be overridden in ``sphinx.search`` with a @@ -160,13 +176,26 @@ const Search = { _queued_query: null, _pulse_status: -1, - htmlToText: (htmlString) => { + htmlToText: (htmlString, anchor) => { const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html'); - htmlElement.querySelectorAll(".headerlink").forEach((el) => { el.remove() }); + for (const removalQuery of [".headerlinks", "script", "style"]) { + htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() }); + } + if (anchor) { + const anchorContent = htmlElement.querySelector(`[role="main"] ${anchor}`); + if (anchorContent) return anchorContent.textContent; + + console.warn( + `Anchored content block not found. Sphinx search tries to obtain it via DOM query '[role=main] ${anchor}'. Check your theme or template.` + ); + } + + // if anchor not specified or not found, fall back to main content const docContent = htmlElement.querySelector('[role="main"]'); - if (docContent !== undefined) return docContent.textContent; + if (docContent) return docContent.textContent; + console.warn( - "Content block not found. Sphinx search tries to obtain it via '[role=main]'. Could you check your theme or template." + "Content block not found. Sphinx search tries to obtain it via DOM query '[role=main]'. Check your theme or template." ); return ""; }, @@ -239,16 +268,7 @@ const Search = { else Search.deferQuery(query); }, - /** - * execute search (requires search index to be loaded) - */ - query: (query) => { - const filenames = Search._index.filenames; - const docNames = Search._index.docnames; - const titles = Search._index.titles; - const allTitles = Search._index.alltitles; - const indexEntries = Search._index.indexentries; - + _parseQuery: (query) => { // stem the search terms and add them to the correct list const stemmer = new Stemmer(); const searchTerms = new Set(); @@ -284,16 +304,32 @@ const Search = { // console.info("required: ", [...searchTerms]); // console.info("excluded: ", [...excludedTerms]); - // array of [docname, title, anchor, descr, score, filename] - let results = []; + return [query, searchTerms, excludedTerms, highlightTerms, objectTerms]; + }, + + /** + * execute search (requires search index to be loaded) + */ + _performSearch: (query, searchTerms, excludedTerms, highlightTerms, objectTerms) => { + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const titles = Search._index.titles; + const allTitles = Search._index.alltitles; + const indexEntries = Search._index.indexentries; + + // Collect multiple result groups to be sorted separately and then ordered. + // Each is an array of [docname, title, anchor, descr, score, filename]. + const normalResults = []; + const nonMainIndexResults = []; + _removeChildren(document.getElementById("search-progress")); - const queryLower = query.toLowerCase(); + const queryLower = query.toLowerCase().trim(); for (const [title, foundTitles] of Object.entries(allTitles)) { - if (title.toLowerCase().includes(queryLower) && (queryLower.length >= title.length/2)) { + if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) { for (const [file, id] of foundTitles) { let score = Math.round(100 * queryLower.length / title.length) - results.push([ + normalResults.push([ docNames[file], titles[file] !== title ? `${titles[file]} > ${title}` : title, id !== null ? "#" + id : "", @@ -308,46 +344,47 @@ const Search = { // search for explicit entries in index directives for (const [entry, foundEntries] of Object.entries(indexEntries)) { if (entry.includes(queryLower) && (queryLower.length >= entry.length/2)) { - for (const [file, id] of foundEntries) { - let score = Math.round(100 * queryLower.length / entry.length) - results.push([ + for (const [file, id, isMain] of foundEntries) { + const score = Math.round(100 * queryLower.length / entry.length); + const result = [ docNames[file], titles[file], id ? "#" + id : "", null, score, filenames[file], - ]); + ]; + if (isMain) { + normalResults.push(result); + } else { + nonMainIndexResults.push(result); + } } } } // lookup as object objectTerms.forEach((term) => - results.push(...Search.performObjectSearch(term, objectTerms)) + normalResults.push(...Search.performObjectSearch(term, objectTerms)) ); // lookup as search terms in fulltext - results.push(...Search.performTermsSearch(searchTerms, excludedTerms)); + normalResults.push(...Search.performTermsSearch(searchTerms, excludedTerms)); // let the scorer override scores with a custom scoring function - if (Scorer.score) results.forEach((item) => (item[4] = Scorer.score(item))); - - // now sort the results by score (in opposite order of appearance, since the - // display function below uses pop() to retrieve items) and then - // alphabetically - results.sort((a, b) => { - const leftScore = a[4]; - const rightScore = b[4]; - if (leftScore === rightScore) { - // same score: sort alphabetically - const leftTitle = a[1].toLowerCase(); - const rightTitle = b[1].toLowerCase(); - if (leftTitle === rightTitle) return 0; - return leftTitle > rightTitle ? -1 : 1; // inverted is intentional - } - return leftScore > rightScore ? 1 : -1; - }); + if (Scorer.score) { + normalResults.forEach((item) => (item[4] = Scorer.score(item))); + nonMainIndexResults.forEach((item) => (item[4] = Scorer.score(item))); + } + + // Sort each group of results by score and then alphabetically by name. + normalResults.sort(_orderResultsByScoreThenName); + nonMainIndexResults.sort(_orderResultsByScoreThenName); + + // Combine the result groups in (reverse) order. + // Non-main index entries are typically arbitrary cross-references, + // so display them after other results. + let results = [...nonMainIndexResults, ...normalResults]; // remove duplicate search results // note the reversing of results, so that in the case of duplicates, the highest-scoring entry is kept @@ -361,7 +398,12 @@ const Search = { return acc; }, []); - results = results.reverse(); + return results.reverse(); + }, + + query: (query) => { + const [searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms] = Search._parseQuery(query); + const results = Search._performSearch(searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms); // for debugging //Search.lastresults = results.slice(); // a copy @@ -466,14 +508,18 @@ const Search = { // add support for partial matches if (word.length > 2) { const escapedWord = _escapeRegExp(word); - Object.keys(terms).forEach((term) => { - if (term.match(escapedWord) && !terms[word]) - arr.push({ files: terms[term], score: Scorer.partialTerm }); - }); - Object.keys(titleTerms).forEach((term) => { - if (term.match(escapedWord) && !titleTerms[word]) - arr.push({ files: titleTerms[word], score: Scorer.partialTitle }); - }); + if (!terms.hasOwnProperty(word)) { + Object.keys(terms).forEach((term) => { + if (term.match(escapedWord)) + arr.push({ files: terms[term], score: Scorer.partialTerm }); + }); + } + if (!titleTerms.hasOwnProperty(word)) { + Object.keys(titleTerms).forEach((term) => { + if (term.match(escapedWord)) + arr.push({ files: titleTerms[term], score: Scorer.partialTitle }); + }); + } } // no match but word was a required one @@ -496,9 +542,8 @@ const Search = { // create the mapping files.forEach((file) => { - if (fileMap.has(file) && fileMap.get(file).indexOf(word) === -1) - fileMap.get(file).push(word); - else fileMap.set(file, [word]); + if (!fileMap.has(file)) fileMap.set(file, [word]); + else if (fileMap.get(file).indexOf(word) === -1) fileMap.get(file).push(word); }); }); @@ -549,8 +594,8 @@ const Search = { * search summary for a given text. keywords is a list * of stemmed words. */ - makeSearchSummary: (htmlText, keywords) => { - const text = Search.htmlToText(htmlText); + makeSearchSummary: (htmlText, keywords, anchor) => { + const text = Search.htmlToText(htmlText, anchor); if (text === "") return null; const textLower = text.toLowerCase(); diff --git a/cache.html b/cache.html index 07404b0..bdb5db8 100644 --- a/cache.html +++ b/cache.html @@ -15,7 +15,7 @@ - + diff --git a/circuits.html b/circuits.html index b9f0186..e2014e9 100644 --- a/circuits.html +++ b/circuits.html @@ -15,7 +15,7 @@ - + diff --git a/genindex.html b/genindex.html index 2b3a5ca..f89053e 100644 --- a/genindex.html +++ b/genindex.html @@ -14,7 +14,7 @@ - + diff --git a/index.html b/index.html index ac73b16..cc1efdd 100644 --- a/index.html +++ b/index.html @@ -15,8 +15,9 @@ - + + diff --git a/paths.html b/paths.html index c902128..1b941f1 100644 --- a/paths.html +++ b/paths.html @@ -15,7 +15,7 @@ - + diff --git a/py-modindex.html b/py-modindex.html index 1f02093..3885897 100644 --- a/py-modindex.html +++ b/py-modindex.html @@ -14,7 +14,7 @@ - + diff --git a/results.html b/results.html index c82921d..2cc9745 100644 --- a/results.html +++ b/results.html @@ -15,7 +15,7 @@ - + diff --git a/search.html b/search.html index 9f4992e..c675a79 100644 --- a/search.html +++ b/search.html @@ -15,7 +15,7 @@ - + diff --git a/searchindex.js b/searchindex.js index d242370..31150e2 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["cache", "circuits", "index", "paths", "results", "threshold"], "filenames": ["cache.rst", "circuits.rst", "index.rst", "paths.rst", "results.rst", "threshold.rst"], "titles": ["oitg.cache API", "oitg.circuits API", "oitg", "oitg.paths API", "oitg.results API", "oitg.threshold API"], "terms": {"minimalist": 0, "memois": 0, "implement": [0, 1, 4], "back": [0, 1, 4], "disk": 0, "pickl": 0, "file": [0, 1, 3, 4], "provid": [0, 1, 4], "function": [0, 1, 2, 5], "transpar": [0, 1], "store": 0, "expens": [0, 1], "comput": [0, 1, 2, 3], "valu": [0, 1, 4], "read": 0, "them": [0, 1], "when": [0, 1, 4], "thei": [0, 1], "ar": [0, 1, 3, 4, 5], "next": [0, 1], "us": [0, 1, 2, 3, 4], "dir_env_var": [0, 2], "oitg_cache_dir": 0, "name": [0, 1, 3, 4], "environ": [0, 1, 3], "variabl": [0, 3], "load": [0, 1, 4], "path": [0, 1, 2, 4], "from": [0, 1, 4], "get_cache_dir": [0, 2], "sourc": [0, 1, 3, 4, 5], "return": [0, 1, 3, 4, 5], "wide": 0, "directori": [0, 3, 4], "The": [0, 1, 2, 3, 4, 5], "default": [0, 1, 3, 4, 5], "can": [0, 1, 3], "overwritten": [0, 3], "set": [0, 4], "read_or_create_pickle_cach": [0, 2], "kei": [0, 1], "str": [0, 1, 3, 4], "compute_valu": 0, "callabl": [0, 1], "ani": [0, 1, 4], "attempt": [0, 1], "given": [0, 1, 3, 4, 5], "doe": [0, 1, 3, 4], "exist": [0, 3, 4], "save": [0, 1], "futur": [0, 1, 4], "call": [0, 4], "assum": [0, 1, 5], "i": [0, 1, 3, 4, 5], "pure": [0, 1], "e": [0, 1], "same": [0, 1], "everi": [0, 1], "time": [0, 1, 5], "support": [0, 1], "invalid": 0, "beyond": [0, 1], "manual": 0, "clear": 0, "clear_pickle_cach": [0, 2], "paramet": [0, 1, 3, 4, 5], "part": [0, 1], "user": [0, 3], "must": [0, 5], "ensur": [0, 1], "uniqu": 0, "across": [0, 1], "client": 0, "code": [0, 1, 3], "invok": [0, 1], "actual": [0, 1], "ha": [0, 1], "been": 0, "yet": 0, "none": [0, 1, 3, 4], "remov": 0, "cache_to_pickle_fil": [0, 2], "wrap": 0, "parameterless": 0, "its": [0, 1], "result": [0, 2, 3], "reload": 0, "subsequ": [0, 1], "invoc": [0, 1], "see": [0, 1, 3, 4, 5], "build": 1, "run": [1, 4], "experi": [1, 2, 3, 4], "correspond": [1, 3], "quantum": [1, 2, 3], "number": [1, 4], "qubit": 1, "like": [1, 3], "much": 1, "most": 1, "thi": [1, 3, 4, 5], "within": [1, 3], "artiq": [1, 3, 4], "produc": 1, "howev": 1, "here": 1, "should": 1, "directli": 1, "depend": 1, "artefact": 1, "place": 1, "oxart": 1, "instead": 1, "defin": 1, "represent": 1, "sequenc": 1, "few": 1, "oper": 1, "manipul": 1, "A": [1, 4], "tupl": [1, 4], "kind": 1, "float": 1, "operand": 1, "int": [1, 4], "identifi": 1, "type": 1, "unitari": 1, "g": 1, "rx": 1, "cz": 1, "list": [1, 4], "parametris": 1, "chosen": 1, "rotat": 1, "angl": 1, "integ": 1, "indic": 1, "denot": 1, "target": [1, 3], "deliber": 1, "just": 1, "plain": 1, "piec": 1, "data": [1, 3], "make": 1, "kernel": 1, "well": [1, 3], "express": 1, "tlist": 1, "": [1, 3, 5], "even": [1, 4], "apart": 1, "come": 1, "up": [1, 4], "an": [1, 3, 4], "extens": 1, "design": 1, "repres": 1, "both": [1, 5], "isn": 1, "t": 1, "trivial": 1, "first": [1, 4], "cf": 1, "problem": 1, "sort": 1, "weakli": 1, "arbitrari": 1, "string": [1, 4], "wors": 1, "than": 1, "mani": 1, "altern": 1, "anywai": 1, "onli": 1, "semant": 1, "better": 1, "collect": 1, "also": 1, "advantag": 1, "keep": 1, "hashabl": 1, "so": [1, 3], "dictionari": [1, 4], "If": [1, 3, 4], "more": 1, "complex": 1, "decomposit": 1, "elementari": 1, "optimis": 1, "etc": 1, "desir": 1, "we": 1, "might": 1, "want": 1, "integr": [1, 5], "qc": 1, "librari": [1, 2], "cirq": 1, "qiskit": 1, "pyquil": 1, "our": 1, "though": 1, "gatesequ": 1, "coher": 1, "portion": 1, "one": 1, "chang": 1, "onc": 1, "built": [1, 4], "gategener": 1, "through": 1, "iter": 1, "interfac": 1, "note": 1, "index": [1, 4], "instanc": 1, "similar": 1, "convert": 1, "class": [1, 4], "alia": [1, 4], "field": [1, 4], "0": [1, 4, 5], "2": [1, 4, 5], "1": [1, 4, 5], "collect_operand": 1, "all": [1, 4], "remap_operand": 1, "operand_map": 1, "dict": [1, 4], "accord": 1, "map": 1, "For": [1, 3], "act": 1, "includ": [1, 4], "case": 1, "where": 1, "multi": 1, "common": [1, 2], "matric": 1, "local_matrix": 1, "ndarrai": 1, "matrix": 1, "describ": [1, 4], "matter": 1, "which": [1, 4], "copi": [1, 4], "mathbb": 1, "c": 1, "single_gate_matrix": 1, "creat": [1, 3, 4], "larger": 1, "system": [1, 3, 4], "num_qubit": 1, "action": 1, "hilbert": 1, "space": [1, 3], "dimension": 1, "gate_sequence_matrix": 1, "infer": 1, "largest": 1, "apply_gate_sequ": 1, "initial_st": 1, "appli": 1, "initi": 1, "state": [1, 5], "vector": 1, "brute": 1, "forc": 1, "group": [1, 2, 3], "helper": 1, "gottesmann": 1, "knill": 1, "theorem": 1, "consist": 1, "mathcal": 1, "_n": 1, "operatornam": 1, "aut": 1, "mathrm": 1, "pauli": 1, "effici": 1, "simul": 1, "clasic": 1, "typic": 1, "some": 1, "stabilis": 1, "formal": 1, "emphat": 1, "about": 1, "contain": [1, 2, 4], "util": 1, "element": 1, "without": 1, "structur": [1, 4], "calcul": [1, 5], "easier": 1, "realli": 1, "practic": 1, "singl": 1, "two": 1, "_1": 1, "_2": 1, "todo": 1, "dpn": 1, "explicitli": 1, "my": 1, "search": [1, 4], "cach": [1, 2], "In": 1, "meantim": 1, "ask": 1, "you": 1, "differ": 1, "gategroup": 1, "gate_sequ": 1, "inverse_idx": 1, "bytearrai": 1, "mathemat": 1, "sens": 1, "each": 1, "canon": 1, "order": 1, "invers": 1, "to_canonical_matrix_kei": 1, "num_el": 1, "total": 1, "gates_for_idx": 1, "idx": 1, "matrix_for_idx": 1, "find_inverse_idx": 1, "look": 1, "pauli_idx": 1, "generalis": 1, "alwai": 1, "subgroup": 1, "to_canonical_matrix": 1, "gate_matrix": 1, "form": 1, "exactli": 1, "global": [1, 5], "round": 1, "error": [1, 5], "4": [1, 5], "decim": 1, "plenti": 1, "suffici": 1, "other": 1, "applic": 1, "suitabl": [1, 5], "make_clifford_group": 1, "construct": 1, "enumer": 1, "decompos": 1, "get_clifford_1q_xypm_implement": 1, "\u03c0": 1, "x": 1, "y": 1, "ax": 1, "minim": 1, "length": 1, "get_clifford_1q_xzpm2_implement": 1, "z": [1, 3], "entanglingg": 1, "specifi": [1, 4], "equival": 1, "local": [1, 4], "non": 1, "cz_like": 1, "iswap_lik": 1, "swap_lik": 1, "get_clifford_2q_implement": 1, "clifford_1q_impl": 1, "entangling_gates_impl": 1, "entangl": 1, "get_cz_entangling_gate_implement": 1, "clifford_1q_impl_0": 1, "categori": 1, "get_zzw_entangling_gate_implement": 1, "symmetr": 1, "zz": 1, "wobbl": 1, "get_clifford_2q_xypm_cz_implement": 1, "get_clifford_2q_xzpm2_cz_implement": 1, "get_clifford_2q_xzpm2_zzw_implement": 1, "spin": 1, "echo": 1, "composit": 1, "puls": 1, "replac": 1, "logic": [1, 4], "have": [1, 4], "behaviour": 1, "under": 1, "imperfect": 1, "refer": 1, "bikn13": 1, "bando": 1, "m": 1, "ichikawa": 1, "kondo": 1, "nakahara": 1, "concaten": 1, "compens": 1, "simultan": 1, "systemat": 1, "j": 1, "phy": 1, "soc": 1, "jpn": 1, "82": 1, "014004": 1, "2013": 1, "kgk": 1, "14": 1, "kabytayev": 1, "et": 1, "al": 1, "control": 1, "nois": 1, "rev": 1, "90": 1, "012316": 1, "2014": 1, "wimp94": 1, "wimperi": 1, "stephen": 1, "broadband": 1, "narrowband": 1, "passband": 1, "advanc": 1, "nmr": 1, "journal": 1, "magnet": 1, "reson": 1, "109": 1, "221": 1, "231": 1, "1994": 1, "except": 1, "unsupportedg": 1, "rais": [1, 4], "cannot": 1, "expand": 1, "request": 1, "to_rxi": 1, "canonicalis": 1, "xy": 1, "plane": 1, "rxy": 1, "posit": 1, "amount": 1, "bb1": 1, "bool": 1, "fals": 1, "per": [1, 3, 4], "amplitud": 1, "suppress": 1, "cancel": 1, "term": 1, "fourth": 1, "offset": 1, "whether": 1, "5": [1, 5], "half": 1, "around": 1, "3": [1, 4], "ident": 1, "asymmetr": 1, "latter": 1, "slightli": 1, "nicer": 1, "detun": 1, "reduced_c_in_sk": 1, "reduc": 1, "corps": 1, "sk1": 1, "cinsk": 1, "among": 1, "those": 1, "against": 1, "give": [1, 5], "requir": 1, "multipl": 1, "expand_us": 1, "method": 1, "ignore_kind": 1, "ignore_unsupported_g": 1, "true": 1, "insert_barri": 1, "silent": 1, "pass": 1, "over": 1, "unsupport": 1, "insert": 1, "barrier": 1, "after": 1, "openqasm": 1, "straightforward": 1, "text": 1, "base": 1, "format": [1, 3, 4], "model": 1, "At": 1, "point": [1, 3], "do": 1, "classic": 1, "feedback": 1, "straight": 1, "line": 1, "start": [1, 5], "prepar": 1, "end": 1, "measur": 1, "extern": 1, "stringify_param": 1, "p": [1, 5], "fraction": 1, "pretti": 1, "print": 1, "readabl": 1, "gate_to_qasm": 1, "statement": 1, "stringify_qasm": 1, "stmt": 1, "parse_gate_sequence_str": 1, "pars": 1, "simpl": 1, "delimit": 1, "constitu": 1, "find": [1, 4], "hdf5": [1, 4], "collect_outcom": 1, "run_ord": 1, "outcom": 1, "observ": 1, "work": [1, 3], "arrai": 1, "run_sequ": 1, "collect_outcomes_from_dataset": 1, "dataset": [1, 4], "occurr": 1, "respect": 1, "wa": [1, 4], "000": 1, "001": 1, "010": 1, "prefix": 1, "written": 1, "extract": 1, "were": 1, "save_circuit_pdf": 1, "filenam": [1, 4], "render": 1, "diagram": 1, "pdf": 1, "matplotlib": 1, "terra": 1, "instal": 1, "output": 1, "displai": 1, "self": 1, "It": [1, 5], "prior": 1, "knowledg": 1, "variou": 1, "develop": 1, "robin": 1, "blume": 1, "kohout": 1, "sandia": 1, "bgn": 1, "13": 1, "blum15": 1, "detail": 1, "kw": 1, "17": 1, "experiment": [1, 3], "demonstr": 1, "small": 1, "necessari": 1, "while": [1, 3], "analysi": [1, 3], "rel": 1, "comprehens": 1, "test": 1, "open": 1, "alreadi": 1, "avail": 1, "pygsti": 1, "packag": 1, "r": 1, "close": 1, "trap": [1, 2, 3], "ion": [1, 2, 3, 5], "arxiv": 1, "1310": 1, "4492": 1, "report": 1, "turbocharg": 1, "nation": 1, "laboratori": 1, "2015": 1, "kim": 1, "d": 1, "microwav": 1, "driven": 1, "semiconductor": 1, "dot": 1, "charg": 1, "natur": 1, "nanotechnologi": 1, "10": 1, "243": 1, "247": 1, "below": 1, "rigor": 1, "fault": 1, "toler": 1, "threshold": [1, 2], "commun": 1, "8": 1, "2017": 1, "python": 1, "http": 1, "www": 1, "info": 1, "gstspec": 1, "prep_fiduci": 1, "meas_fiduci": 1, "germ": 1, "pygsti_nam": 1, "fiduci": 1, "standard": [1, 3, 4], "generate_std_gst_sequ": 1, "max_len_expon": 1, "perform": 1, "power": 1, "approxim": 1, "max": 1, "_len": 1, "_expon": 1, "generate_gst_sequ": 1, "long": 1, "refin": 1, "step": 1, "target_len": 1, "limit": 1, "match": [1, 4], "truncat": 1, "repeat": 1, "whole": 1, "down": 1, "divid": 1, "count": [1, 5], "de": [1, 5], "duplic": 1, "predefin": 1, "commonli": 1, "make_1q_xz_pi_2_spec": 1, "std1q_xz": 1, "make_2q_xy_pi_2_cphase_spec": 1, "cphase": 1, "std2q_xycphas": 1, "make_2q_xy_pi_2_wobble_spec": 1, "select": 1, "std2q_xycnot": 1, "cnot": 1, "As": [1, 5], "suggest": 1, "document": 1, "still": 1, "lead": 1, "complet": 1, "optim": [1, 5], "score": 1, "switch": 1, "henc": 1, "make_2q_xz_pi_2_wobble_spec": 1, "scratch": 1, "consid": 1, "favour": 1, "scale": 1, "properti": 1, "generate_process_tomography_sequ": 1, "tensor": 1, "product": 1, "eigenst": 1, "befor": [1, 4], "expect": [1, 5], "generate_process_tomography_fiducial_pair": 1, "interest": 1, "wrap_target_in_process_tomography_fiduci": 1, "fiducial_pair": 1, "six": 1, "yield": 1, "input": 1, "6": 1, "n": 1, "ones": 1, "price": 1, "pai": 1, "symmetri": 1, "doubl": 1, "9": 1, "take": 1, "fewer": 1, "shot": 1, "reconstruct": 1, "channel": 1, "current": [1, 3, 4], "linear": 1, "maximum": 1, "likelihood": 1, "techniqu": 1, "question": 1, "dimens": 1, "endomorph": 1, "bound": 1, "densiti": 1, "fh01": 1, "fiur\u00e1\u0161ek": 1, "hradil": 1, "physic": 1, "review": 1, "63": 1, "2001": 1, "rhkl07": 1, "reh\u00e1\u010dek": 1, "lvovski": 1, "dilut": 1, "algorithm": 1, "75": 1, "2007": 1, "al12": 1, "new": 1, "105021": 1, "2012": 1, "kblg18": 1, "knee": 1, "bolduc": 1, "leach": 1, "gauger": 1, "via": 1, "trace": 1, "preserv": 1, "project": 1, "98": 1, "2018": 1, "guess_prepare_target_measure_split": 1, "all_sequ": 1, "guess": 1, "measuemr": 1, "acquir": 1, "target_seq": 1, "prep_seq": 1, "meas_seq": 1, "auto_prepare_data": 1, "prepare_data": 1, "readout_projector": 1, "pair": 1, "left": 1, "00": 1, "ldots0": 1, "right": 1, "onto": 1, "ldots00": 1, "ldots01": 1, "ldot": 1, "ldots11": 1, "row": 1, "retun": 1, "column": 1, "k": 1, "projector": 1, "build_choi_predictor": 1, "prep_oper": 1, "meas_oper": 1, "predict": 1, "probabl": [1, 5], "choi": 1, "word": 1, "rho_i": 1, "p_j": 1, "p_": 1, "ij": 1, "tr": 1, "c_": 1, "convent": 1, "entri": 1, "psi_i": 1, "_i": 1, "ideal": 1, "phi_j": 1, "_j": 1, "invert_choi_predictor": 1, "choi_predictor": 1, "obtain": 1, "predictor": 1, "least": 1, "squar": 1, "sometim": 1, "moor": 1, "penros": 1, "pseudo": 1, "Will": 1, "normalis": 1, "presenc": 1, "sampl": 1, "superoper": 1, "necessarili": 1, "neither": 1, "nor": 1, "linear_inversion_tomographi": 1, "prep_projector": 1, "negative_log_likelihood": 1, "observation_vec": 1, "neg": 1, "log": 1, "negative_log_likelihood_gradi": 1, "gradient": 1, "deriv": 1, "l": 1, "nabla": 1, "frac": 1, "partial": 1, "usual": 1, "wise": 1, "calculu": 1, "diluted_mle_tomographi": 1, "rel_tol": 1, "1e": 1, "iteration_limit": 1, "10000": 1, "fix": 1, "By": 1, "definit": 1, "maximis": 1, "extrem": 1, "condit": 1, "amen": 1, "shown": 1, "constraint": 1, "lagrang": 1, "multipli": 1, "eq": 1, "16": 1, "enforc": 1, "hermitian": 1, "particular": 1, "formul": 1, "section": 1, "progress": 1, "possibl": 1, "further": 1, "increas": 1, "discuss": 1, "stop": 1, "criterion": 1, "thrown": 1, "reach": [1, 3], "fulfil": 1, "cptp": 1, "project_into_cp": 1, "nearest": 1, "tpprojector": 1, "pure_state_dimens": 1, "subspac": 1, "allow": 1, "ancillari": 1, "re": 1, "size": 1, "orthogon": 1, "12": 1, "project_into_cptp": 1, "tp_projector": 1, "tol": 1, "0001": 1, "closest": 1, "did": 1, "converg": 1, "pgdb_mle_tomographi": 1, "descent": 1, "backtrack": 1, "propos": 1, "numpi": 1, "mat2vec": 1, "shape": 1, "done": 1, "stack": 1, "anoth": 1, "irrelev": 1, "vec2mat": 1, "transform": 1, "ket": 1, "psi": 1, "dens": 1, "choi2liou": 1, "liouvil": 1, "With": 1, "almost": 1, "involut": 1, "factor": 1, "liou2choi": 1, "liou": 1, "avg_gate_fidel": 1, "target_unitari": 1, "averag": 1, "fidel": 1, "overlin": 1, "u": 1, "otim": 1, "suppos": 1, "theori": 1, "arbitrarili": 1, "direct": 1, "veri": 1, "ineffici": 1, "spirit": 1, "pedestrian": 1, "scheme": 1, "track": 1, "stabil": 1, "generate_rbm_experi": 1, "sequence_length": 1, "randomisations_per_length": 1, "pauli_randomize_last": 1, "interleave_g": 1, "derive_shorter_by_trunc": 1, "seed": 1, "interleav": 1, "random": 1, "twice": 1, "last": 1, "invert": 1, "previou": 1, "randomli": 1, "thu": 1, "between": 1, "suscept": 1, "spam": 1, "otherwis": 1, "second": 1, "shorter": 1, "longer": 1, "append": 1, "appropri": 1, "fresh": 1, "handi": 1, "debug": 1, "out": 1, "relationship": 1, "unpredict": 1, "clifford_idx": 1, "expected_result": 1, "binari": 1, "compris": 1, "formalis": 1, "intuit": 1, "strategi": 1, "repetit": 1, "calibr": 1, "precis": 1, "skip": 1, "fring": 1, "subdivid": 1, "interv": 1, "theoret": 1, "achiev": 1, "o": 1, "extra": 1, "descript": [1, 4], "kly15": 1, "follow": 1, "procedur": 1, "rklm17": 1, "variant": 1, "axi": 1, "kimmel": 1, "low": 1, "h": 1, "yoder": 1, "univers": 1, "062315": 1, "ruding": 1, "lobser": 1, "maunz": 1, "cheap": 1, "accur": 1, "letter": 1, "118": 1, "generate_rpe_sequ": 1, "pi_2": 1, "along": 1, "final": 1, "pi": 1, "estimate_phas": 1, "pauli_xy_estim": 1, "exponenti": 1, "lengthen": 1, "bloch": 1, "sphere": 1, "cosin": 1, "sine": 1, "would": 1, "statist": [1, 5], "tradition": 1, "consider": 1, "spent": 1, "write": 1, "fetch": 1, "address": 1, "sequencerunn": 1, "abstract": 1, "sequencerunneropt": 1, "former": 1, "accept": 1, "how": 1, "often": 1, "sai": 1, "unwieldli": 1, "constructor": 1, "argument": [1, 4], "There": 1, "main": 1, "aspect": 1, "sequenti": 1, "fact": 1, "tend": 1, "core": 1, "devic": 1, "slow": 1, "lesser": 1, "degre": 1, "network": [1, 3], "advis": 1, "compil": 1, "On": 1, "hand": 1, "resourc": 1, "try": 1, "dma": 1, "record": 1, "thousand": 1, "memori": 1, "bad": 1, "idea": 1, "solut": 1, "chunk": 1, "configur": 1, "wall": 1, "clock": 1, "durat": 1, "good": 1, "exact": [1, 5], "interpret": 1, "specif": 1, "host": 1, "slice": 1, "afterward": 1, "hundr": 1, "hour": [1, 4], "thermal": 1, "drift": 1, "min": 1, "notic": 1, "To": [1, 4], "avoid": 1, "shift": 1, "wash": 1, "correl": 1, "permut": 1, "possibli": 1, "mention": 1, "abov": 1, "compromis": 1, "sever": 1, "b": 1, "choos": 1, "precomput": 1, "quickli": 1, "access": [1, 4], "tradeoff": 1, "need": 1, "three": 1, "conceptu": 1, "nest": 1, "loop": 1, "trade": 1, "off": 1, "qualiti": 1, "v": 1, "concern": 1, "num_global_repeat": 1, "randomise_glob": 1, "chunk_siz": 1, "num_repeats_per_chunk": 1, "num_shots_per_repeat": 1, "100": 1, "randomise_per_repeat": 1, "option": 1, "level": 1, "docstr": 1, "background": 1, "concept": 1, "immedi": 1, "bring": 1, "emit": 1, "warn": 1, "fold": 1, "rpc": 1, "cycl": 1, "gather": 1, "progress_callback": 1, "progress_callback_interv": 1, "dataset_prefix": 1, "readout": [1, 5], "callback": 1, "period": 1, "throughout": 1, "acquisit": [1, 4], "updat": 1, "plot": 1, "suppli": 1, "sinc": 1, "embed": 1, "ignor": 1, "stringify_gate_sequ": 1, "seq": 1, "routin": 2, "conveni": 2, "oxford": [2, 3], "api": 2, "circuit": 2, "basic": 2, "protocol": 2, "execut": 2, "shared_area_path": [2, 3], "analysis_root_path": [2, 3], "todays_analysis_path": [2, 3], "artiq_results_path": [2, 3, 4], "load_hdf5_fil": [2, 4], "load_result": [2, 4], "find_result": [2, 4], "optimise_readout": [2, 5], "optimise_treshold": [2, 5], "optimise_t_bin": [2, 5], "calc_p_error": [2, 5], "poisson_optimal_thresh_count": [2, 5], "known": 3, "setup": 3, "share": [3, 4], "area": 3, "platform": 3, "window": 3, "mount": [3, 4], "unix": [3, 4], "linux": 3, "maco": 3, "steaneshar": 3, "oitg_shared_area": 3, "shared_area": 3, "oitg_us": 3, "dai": [3, 4], "todai": [3, 4], "intend": 3, "analys": 3, "taken": 3, "easili": 3, "found": 3, "again": 3, "later": 3, "conclus": 3, "reexamin": 3, "date": [3, 4], "iso": [3, 4], "yyyi": [3, 4], "mm": [3, 4], "dd": [3, 4], "artiqresult": 3, "subdirectori": 3, "oitg_experi": 3, "content": 4, "start_tim": 4, "timestamp": 4, "expid": 4, "submiss": 4, "rid": 4, "class_nam": 4, "root_path": 4, "local_path": 4, "master": 4, "full": 4, "fall": 4, "automat": 4, "drive": 4, "speed": 4, "circumv": 4, "cl": 4, "filter": 4, "root": 4, "folder": 4, "auto": 4, "determin": 4, "locat": 4, "id": 4, "ioerror": 4, "bright_rat": 5, "dark_rat": 5, "dark_to_bright_r": 5, "8561643835616439": 5, "p_bright": 5, "bin": 5, "bright": 5, "dark": 5, "poisson": 5, "distribut": 5, "minimis": 5, "account": 5, "shelv": 5, "dure": 5, "thesi": 5, "alic": 5, "burrel": 5, "2010": 5, "rate": 5, "ratein": 5, "decai": 5, "becom": 5, "seek": 5, "minimum": 5, "zero": 5, "168": 5, "calcium": 5, "d5": 5, "shelf": 5, "encount": 5, "target_t_bin": 5, "threshold_count": 5, "p_error": 5, "t_bin": 5, "thresh_count": 5, "discrimin": 5, "evalu": 5, "mean_bright": 5, "mean_dark": 5, "absenc": 5, "neglect": 5, "accident": 5, "therefor": 5, "2e": 5}, "objects": {"oitg": [[0, 0, 0, "-", "cache"], [1, 0, 0, "-", "circuits"], [3, 0, 0, "-", "paths"], [4, 0, 0, "-", "results"], [5, 0, 0, "-", "threshold"]], "oitg.cache": [[0, 1, 1, "", "DIR_ENV_VAR"], [0, 2, 1, "", "cache_to_pickle_file"], [0, 2, 1, "", "clear_pickle_cache"], [0, 2, 1, "", "get_cache_dir"], [0, 2, 1, "", "read_or_create_pickle_cache"]], "oitg.circuits": [[1, 0, 0, "-", "clifford"], [1, 0, 0, "-", "composite_pulses"], [1, 0, 0, "-", "gate"], [1, 0, 0, "-", "qasm"], [1, 0, 0, "-", "results"], [1, 0, 0, "-", "runner"], [1, 0, 0, "-", "to_matrix"], [1, 0, 0, "-", "visualisation"]], "oitg.circuits.clifford": [[1, 3, 1, "", "EntanglingGate"], [1, 3, 1, "", "GateGroup"], [1, 2, 1, "", "get_clifford_1q_xypm_implementation"], [1, 2, 1, "", "get_clifford_1q_xzpm2_implementation"], [1, 2, 1, "", "get_clifford_2q_implementation"], [1, 2, 1, "", "get_clifford_2q_xypm_cz_implementation"], [1, 2, 1, "", "get_clifford_2q_xzpm2_cz_implementation"], [1, 2, 1, "", "get_clifford_2q_xzpm2_zzw_implementation"], [1, 2, 1, "", "get_cz_entangling_gate_implementation"], [1, 2, 1, "", "get_zzw_entangling_gate_implementation"], [1, 2, 1, "", "make_clifford_group"], [1, 2, 1, "", "to_canonical_matrix"], [1, 2, 1, "", "to_canonical_matrix_key"]], "oitg.circuits.clifford.EntanglingGate": [[1, 4, 1, "", "cz_like"], [1, 4, 1, "", "iswap_like"], [1, 4, 1, "", "swap_like"]], "oitg.circuits.clifford.GateGroup": [[1, 5, 1, "", "find_inverse_idx"], [1, 5, 1, "", "gates_for_idx"], [1, 5, 1, "", "matrix_for_idx"], [1, 5, 1, "", "num_elements"], [1, 5, 1, "", "pauli_idxs"]], "oitg.circuits.composite_pulses": [[1, 6, 1, "", "UnsupportedGate"], [1, 2, 1, "", "bb1"], [1, 2, 1, "", "expand_using"], [1, 2, 1, "", "reduced_c_in_sk"], [1, 2, 1, "", "to_rxy"]], "oitg.circuits.gate": [[1, 3, 1, "", "Gate"], [1, 1, 1, "", "GateGenerator"], [1, 1, 1, "", "GateSequence"], [1, 2, 1, "", "collect_operands"], [1, 2, 1, "", "remap_operands"]], "oitg.circuits.gate.Gate": [[1, 4, 1, "", "kind"], [1, 4, 1, "", "operands"], [1, 4, 1, "", "parameters"]], "oitg.circuits.protocols": [[1, 0, 0, "-", "gst"], [1, 0, 0, "-", "process_tomo"], [1, 0, 0, "-", "rbm"], [1, 0, 0, "-", "rpe"]], "oitg.circuits.protocols.gst": [[1, 3, 1, "", "GSTSpec"], [1, 0, 0, "-", "generate"], [1, 0, 0, "-", "specs"]], "oitg.circuits.protocols.gst.generate": [[1, 2, 1, "", "generate_gst_sequences"], [1, 2, 1, "", "generate_std_gst_sequences"]], "oitg.circuits.protocols.gst.specs": [[1, 2, 1, "", "make_1q_xz_pi_2_spec"], [1, 2, 1, "", "make_2q_xy_pi_2_cphase_spec"], [1, 2, 1, "", "make_2q_xy_pi_2_wobble_spec"], [1, 2, 1, "", "make_2q_xz_pi_2_wobble_spec"]], "oitg.circuits.protocols.process_tomo": [[1, 0, 0, "-", "analyse"], [1, 0, 0, "-", "generate"], [1, 0, 0, "-", "tools"]], "oitg.circuits.protocols.process_tomo.analyse": [[1, 3, 1, "", "TPProjector"], [1, 2, 1, "", "auto_prepare_data"], [1, 2, 1, "", "build_choi_predictor"], [1, 2, 1, "", "diluted_mle_tomography"], [1, 2, 1, "", "guess_prepare_target_measure_split"], [1, 2, 1, "", "invert_choi_predictor"], [1, 2, 1, "", "linear_inversion_tomography"], [1, 2, 1, "", "negative_log_likelihood"], [1, 2, 1, "", "negative_log_likelihood_gradient"], [1, 2, 1, "", "pgdb_mle_tomography"], [1, 2, 1, "", "prepare_data"], [1, 2, 1, "", "project_into_cp"], [1, 2, 1, "", "project_into_cptp"]], "oitg.circuits.protocols.process_tomo.analyse.TPProjector": [[1, 5, 1, "", "project"]], "oitg.circuits.protocols.process_tomo.generate": [[1, 2, 1, "", "generate_process_tomography_fiducial_pairs"], [1, 2, 1, "", "generate_process_tomography_sequences"], [1, 2, 1, "", "wrap_target_in_process_tomography_fiducials"]], "oitg.circuits.protocols.process_tomo.tools": [[1, 2, 1, "", "avg_gate_fidelity"], [1, 2, 1, "", "choi2liou"], [1, 2, 1, "", "liou2choi"], [1, 2, 1, "", "mat2vec"], [1, 2, 1, "", "projector"], [1, 2, 1, "", "vec2mat"]], "oitg.circuits.protocols.rbm": [[1, 0, 0, "-", "generate"]], "oitg.circuits.protocols.rbm.generate": [[1, 2, 1, "", "generate_rbm_experiment"]], "oitg.circuits.protocols.rpe": [[1, 0, 0, "-", "analyse"], [1, 0, 0, "-", "generate"]], "oitg.circuits.protocols.rpe.analyse": [[1, 2, 1, "", "analyse"], [1, 2, 1, "", "estimate_phase"]], "oitg.circuits.protocols.rpe.generate": [[1, 2, 1, "", "generate_rpe_sequences"]], "oitg.circuits.qasm": [[1, 2, 1, "", "gate_to_qasm"], [1, 2, 1, "", "parse_gate_sequence_string"], [1, 2, 1, "", "stringify_param"], [1, 2, 1, "", "stringify_qasm"]], "oitg.circuits.results": [[1, 2, 1, "", "collect_outcomes"], [1, 2, 1, "", "collect_outcomes_from_datasets"]], "oitg.circuits.runner": [[1, 3, 1, "", "SequenceRunner"], [1, 3, 1, "", "SequenceRunnerOptions"], [1, 2, 1, "", "stringify_gate_sequence"]], "oitg.circuits.runner.SequenceRunner": [[1, 5, 1, "", "run_sequences"]], "oitg.circuits.to_matrix": [[1, 2, 1, "", "apply_gate_sequence"], [1, 2, 1, "", "gate_sequence_matrix"], [1, 2, 1, "", "local_matrix"], [1, 2, 1, "", "single_gate_matrix"]], "oitg.circuits.visualisation": [[1, 2, 1, "", "save_circuit_pdf"]], "oitg.paths": [[3, 2, 1, "", "analysis_root_path"], [3, 2, 1, "", "artiq_results_path"], [3, 2, 1, "", "shared_area_path"], [3, 2, 1, "", "todays_analysis_path"]], "oitg.results": [[4, 3, 1, "", "Result"], [4, 2, 1, "", "find_results"], [4, 2, 1, "", "load_hdf5_file"], [4, 2, 1, "", "load_result"]], "oitg.results.Result": [[4, 4, 1, "", "cls"], [4, 4, 1, "", "day"], [4, 4, 1, "", "hour"], [4, 4, 1, "", "path"]], "oitg.threshold": [[5, 2, 1, "", "calc_p_error"], [5, 2, 1, "", "optimise_readout"], [5, 2, 1, "", "optimise_t_bin"], [5, 2, 1, "", "optimise_treshold"], [5, 2, 1, "", "poisson_optimal_thresh_count"]]}, "objtypes": {"0": "py:module", "1": "py:data", "2": "py:function", "3": "py:class", "4": "py:attribute", "5": "py:method", "6": "py:exception"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "data", "Python data"], "2": ["py", "function", "Python function"], "3": ["py", "class", "Python class"], "4": ["py", "attribute", "Python attribute"], "5": ["py", "method", "Python method"], "6": ["py", "exception", "Python exception"]}, "titleterms": {"oitg": [0, 1, 2, 3, 4, 5], "cach": 0, "api": [0, 1, 3, 4, 5], "circuit": 1, "basic": 1, "gate": 1, "modul": 1, "to_matrix": 1, "clifford": 1, "composite_puls": 1, "qasm": 1, "result": [1, 4], "visualis": 1, "protocol": 1, "set": 1, "tomographi": 1, "gst": 1, "gener": 1, "spec": 1, "process": 1, "process_tomo": 1, "analys": 1, "tool": 1, "randomis": 1, "benchmark": 1, "rbm": 1, "robust": 1, "phase": 1, "estim": 1, "rpe": 1, "execut": 1, "runner": 1, "content": 2, "path": 3, "threshold": 5}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx": 60}, "alltitles": {"oitg.cache API": [[0, "module-oitg.cache"]], "oitg.circuits API": [[1, "module-oitg.circuits"]], "Basics": [[1, "basics"]], "oitg.circuits.gate module": [[1, "module-oitg.circuits.gate"]], "oitg.circuits.to_matrix module": [[1, "module-oitg.circuits.to_matrix"]], "oitg.circuits.clifford module": [[1, "module-oitg.circuits.clifford"]], "oitg.circuits.composite_pulses module": [[1, "module-oitg.circuits.composite_pulses"]], "oitg.circuits.qasm module": [[1, "module-oitg.circuits.qasm"]], "oitg.circuits.results module": [[1, "module-oitg.circuits.results"]], "oitg.circuits.visualisation module": [[1, "module-oitg.circuits.visualisation"]], "Protocols": [[1, "protocols"]], "Gate Set Tomography (oitg.circuits.protocols.gst)": [[1, "module-oitg.circuits.protocols.gst"]], "oitg.circuits.protocols.gst.generate module": [[1, "module-oitg.circuits.protocols.gst.generate"]], "oitg.circuits.protocols.gst.specs module": [[1, "module-oitg.circuits.protocols.gst.specs"]], "Process Tomography (oitg.circuits.protocols.process_tomo)": [[1, "module-oitg.circuits.protocols.process_tomo"]], "oitg.circuits.protocols.process_tomo.generate module": [[1, "module-oitg.circuits.protocols.process_tomo.generate"]], "oitg.circuits.protocols.process_tomo.analyse module": [[1, "module-oitg.circuits.protocols.process_tomo.analyse"]], "oitg.circuits.protocols.process_tomo.tools module": [[1, "module-oitg.circuits.protocols.process_tomo.tools"]], "Randomised Benchmarking (oitg.circuits.protocols.rbm)": [[1, "module-oitg.circuits.protocols.rbm"]], "oitg.circuits.protocols.rbm.generate module": [[1, "module-oitg.circuits.protocols.rbm.generate"]], "Robust Phase Estimation (oitg.circuits.protocols.rpe)": [[1, "module-oitg.circuits.protocols.rpe"]], "oitg.circuits.protocols.rpe.generate module": [[1, "module-oitg.circuits.protocols.rpe.generate"]], "oitg.circuits.protocols.rpe.analyse module": [[1, "module-oitg.circuits.protocols.rpe.analyse"]], "Circuit execution": [[1, "circuit-execution"]], "oitg.circuits.runner module": [[1, "module-oitg.circuits.runner"]], "oitg": [[2, "oitg"]], "Contents:": [[2, null]], "oitg.paths API": [[3, "module-oitg.paths"]], "oitg.results API": [[4, "module-oitg.results"]], "oitg.threshold API": [[5, "module-oitg.threshold"]]}, "indexentries": {"dir_env_var (in module oitg.cache)": [[0, "oitg.cache.DIR_ENV_VAR"]], "cache_to_pickle_file() (in module oitg.cache)": [[0, "oitg.cache.cache_to_pickle_file"]], "clear_pickle_cache() (in module oitg.cache)": [[0, "oitg.cache.clear_pickle_cache"]], "get_cache_dir() (in module oitg.cache)": [[0, "oitg.cache.get_cache_dir"]], "module": [[0, "module-oitg.cache"], [1, "module-oitg.circuits"], [1, "module-oitg.circuits.clifford"], [1, "module-oitg.circuits.composite_pulses"], [1, "module-oitg.circuits.gate"], [1, "module-oitg.circuits.protocols.gst"], [1, "module-oitg.circuits.protocols.gst.generate"], [1, "module-oitg.circuits.protocols.gst.specs"], [1, "module-oitg.circuits.protocols.process_tomo"], [1, "module-oitg.circuits.protocols.process_tomo.analyse"], [1, "module-oitg.circuits.protocols.process_tomo.generate"], [1, "module-oitg.circuits.protocols.process_tomo.tools"], [1, "module-oitg.circuits.protocols.rbm"], [1, "module-oitg.circuits.protocols.rbm.generate"], [1, "module-oitg.circuits.protocols.rpe"], [1, "module-oitg.circuits.protocols.rpe.analyse"], [1, "module-oitg.circuits.protocols.rpe.generate"], [1, "module-oitg.circuits.qasm"], [1, "module-oitg.circuits.results"], [1, "module-oitg.circuits.runner"], [1, "module-oitg.circuits.to_matrix"], [1, "module-oitg.circuits.visualisation"], [3, "module-oitg.paths"], [4, "module-oitg.results"], [5, "module-oitg.threshold"]], "oitg.cache": [[0, "module-oitg.cache"]], "read_or_create_pickle_cache() (in module oitg.cache)": [[0, "oitg.cache.read_or_create_pickle_cache"]], "entanglinggate (class in oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.EntanglingGate"]], "gstspec (class in oitg.circuits.protocols.gst)": [[1, "oitg.circuits.protocols.gst.GSTSpec"]], "gate (class in oitg.circuits.gate)": [[1, "oitg.circuits.gate.Gate"]], "gategenerator (in module oitg.circuits.gate)": [[1, "oitg.circuits.gate.GateGenerator"]], "gategroup (class in oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.GateGroup"]], "gatesequence (in module oitg.circuits.gate)": [[1, "oitg.circuits.gate.GateSequence"]], "sequencerunner (class in oitg.circuits.runner)": [[1, "oitg.circuits.runner.SequenceRunner"]], "sequencerunneroptions (class in oitg.circuits.runner)": [[1, "oitg.circuits.runner.SequenceRunnerOptions"]], "tpprojector (class in oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.TPProjector"]], "unsupportedgate": [[1, "oitg.circuits.composite_pulses.UnsupportedGate"]], "analyse() (in module oitg.circuits.protocols.rpe.analyse)": [[1, "oitg.circuits.protocols.rpe.analyse.analyse"]], "apply_gate_sequence() (in module oitg.circuits.to_matrix)": [[1, "oitg.circuits.to_matrix.apply_gate_sequence"]], "auto_prepare_data() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.auto_prepare_data"]], "avg_gate_fidelity() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.avg_gate_fidelity"]], "bb1() (in module oitg.circuits.composite_pulses)": [[1, "oitg.circuits.composite_pulses.bb1"]], "build_choi_predictor() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.build_choi_predictor"]], "choi2liou() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.choi2liou"]], "collect_operands() (in module oitg.circuits.gate)": [[1, "oitg.circuits.gate.collect_operands"]], "collect_outcomes() (in module oitg.circuits.results)": [[1, "oitg.circuits.results.collect_outcomes"]], "collect_outcomes_from_datasets() (in module oitg.circuits.results)": [[1, "oitg.circuits.results.collect_outcomes_from_datasets"]], "cz_like (oitg.circuits.clifford.entanglinggate attribute)": [[1, "oitg.circuits.clifford.EntanglingGate.cz_like"]], "diluted_mle_tomography() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.diluted_mle_tomography"]], "estimate_phase() (in module oitg.circuits.protocols.rpe.analyse)": [[1, "oitg.circuits.protocols.rpe.analyse.estimate_phase"]], "expand_using() (in module oitg.circuits.composite_pulses)": [[1, "oitg.circuits.composite_pulses.expand_using"]], "find_inverse_idx() (oitg.circuits.clifford.gategroup method)": [[1, "oitg.circuits.clifford.GateGroup.find_inverse_idx"]], "gate_sequence_matrix() (in module oitg.circuits.to_matrix)": [[1, "oitg.circuits.to_matrix.gate_sequence_matrix"]], "gate_to_qasm() (in module oitg.circuits.qasm)": [[1, "oitg.circuits.qasm.gate_to_qasm"]], "gates_for_idx() (oitg.circuits.clifford.gategroup method)": [[1, "oitg.circuits.clifford.GateGroup.gates_for_idx"]], "generate_gst_sequences() (in module oitg.circuits.protocols.gst.generate)": [[1, "oitg.circuits.protocols.gst.generate.generate_gst_sequences"]], "generate_process_tomography_fiducial_pairs() (in module oitg.circuits.protocols.process_tomo.generate)": [[1, "oitg.circuits.protocols.process_tomo.generate.generate_process_tomography_fiducial_pairs"]], "generate_process_tomography_sequences() (in module oitg.circuits.protocols.process_tomo.generate)": [[1, "oitg.circuits.protocols.process_tomo.generate.generate_process_tomography_sequences"]], "generate_rbm_experiment() (in module oitg.circuits.protocols.rbm.generate)": [[1, "oitg.circuits.protocols.rbm.generate.generate_rbm_experiment"]], "generate_rpe_sequences() (in module oitg.circuits.protocols.rpe.generate)": [[1, "oitg.circuits.protocols.rpe.generate.generate_rpe_sequences"]], "generate_std_gst_sequences() (in module oitg.circuits.protocols.gst.generate)": [[1, "oitg.circuits.protocols.gst.generate.generate_std_gst_sequences"]], "get_clifford_1q_xypm_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_1q_xypm_implementation"]], "get_clifford_1q_xzpm2_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_1q_xzpm2_implementation"]], "get_clifford_2q_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_2q_implementation"]], "get_clifford_2q_xypm_cz_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_2q_xypm_cz_implementation"]], "get_clifford_2q_xzpm2_cz_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_2q_xzpm2_cz_implementation"]], "get_clifford_2q_xzpm2_zzw_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_2q_xzpm2_zzw_implementation"]], "get_cz_entangling_gate_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_cz_entangling_gate_implementation"]], "get_zzw_entangling_gate_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_zzw_entangling_gate_implementation"]], "guess_prepare_target_measure_split() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.guess_prepare_target_measure_split"]], "invert_choi_predictor() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.invert_choi_predictor"]], "iswap_like (oitg.circuits.clifford.entanglinggate attribute)": [[1, "oitg.circuits.clifford.EntanglingGate.iswap_like"]], "kind (oitg.circuits.gate.gate attribute)": [[1, "oitg.circuits.gate.Gate.kind"]], "linear_inversion_tomography() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.linear_inversion_tomography"]], "liou2choi() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.liou2choi"]], "local_matrix() (in module oitg.circuits.to_matrix)": [[1, "oitg.circuits.to_matrix.local_matrix"]], "make_1q_xz_pi_2_spec() (in module oitg.circuits.protocols.gst.specs)": [[1, "oitg.circuits.protocols.gst.specs.make_1q_xz_pi_2_spec"]], "make_2q_xy_pi_2_cphase_spec() (in module oitg.circuits.protocols.gst.specs)": [[1, "oitg.circuits.protocols.gst.specs.make_2q_xy_pi_2_cphase_spec"]], "make_2q_xy_pi_2_wobble_spec() (in module oitg.circuits.protocols.gst.specs)": [[1, "oitg.circuits.protocols.gst.specs.make_2q_xy_pi_2_wobble_spec"]], "make_2q_xz_pi_2_wobble_spec() (in module oitg.circuits.protocols.gst.specs)": [[1, "oitg.circuits.protocols.gst.specs.make_2q_xz_pi_2_wobble_spec"]], "make_clifford_group() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.make_clifford_group"]], "mat2vec() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.mat2vec"]], "matrix_for_idx() (oitg.circuits.clifford.gategroup method)": [[1, "oitg.circuits.clifford.GateGroup.matrix_for_idx"]], "negative_log_likelihood() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.negative_log_likelihood"]], "negative_log_likelihood_gradient() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.negative_log_likelihood_gradient"]], "num_elements() (oitg.circuits.clifford.gategroup method)": [[1, "oitg.circuits.clifford.GateGroup.num_elements"]], "oitg.circuits": [[1, "module-oitg.circuits"]], "oitg.circuits.clifford": [[1, "module-oitg.circuits.clifford"]], "oitg.circuits.composite_pulses": [[1, "module-oitg.circuits.composite_pulses"]], "oitg.circuits.gate": [[1, "module-oitg.circuits.gate"]], "oitg.circuits.protocols.gst": [[1, "module-oitg.circuits.protocols.gst"]], "oitg.circuits.protocols.gst.generate": [[1, "module-oitg.circuits.protocols.gst.generate"]], "oitg.circuits.protocols.gst.specs": [[1, "module-oitg.circuits.protocols.gst.specs"]], "oitg.circuits.protocols.process_tomo": [[1, "module-oitg.circuits.protocols.process_tomo"]], "oitg.circuits.protocols.process_tomo.analyse": [[1, "module-oitg.circuits.protocols.process_tomo.analyse"]], "oitg.circuits.protocols.process_tomo.generate": [[1, "module-oitg.circuits.protocols.process_tomo.generate"]], "oitg.circuits.protocols.process_tomo.tools": [[1, "module-oitg.circuits.protocols.process_tomo.tools"]], "oitg.circuits.protocols.rbm": [[1, "module-oitg.circuits.protocols.rbm"]], "oitg.circuits.protocols.rbm.generate": [[1, "module-oitg.circuits.protocols.rbm.generate"]], "oitg.circuits.protocols.rpe": [[1, "module-oitg.circuits.protocols.rpe"]], "oitg.circuits.protocols.rpe.analyse": [[1, "module-oitg.circuits.protocols.rpe.analyse"]], "oitg.circuits.protocols.rpe.generate": [[1, "module-oitg.circuits.protocols.rpe.generate"]], "oitg.circuits.qasm": [[1, "module-oitg.circuits.qasm"]], "oitg.circuits.results": [[1, "module-oitg.circuits.results"]], "oitg.circuits.runner": [[1, "module-oitg.circuits.runner"]], "oitg.circuits.to_matrix": [[1, "module-oitg.circuits.to_matrix"]], "oitg.circuits.visualisation": [[1, "module-oitg.circuits.visualisation"]], "operands (oitg.circuits.gate.gate attribute)": [[1, "oitg.circuits.gate.Gate.operands"]], "parameters (oitg.circuits.gate.gate attribute)": [[1, "oitg.circuits.gate.Gate.parameters"]], "parse_gate_sequence_string() (in module oitg.circuits.qasm)": [[1, "oitg.circuits.qasm.parse_gate_sequence_string"]], "pauli_idxs() (oitg.circuits.clifford.gategroup method)": [[1, "oitg.circuits.clifford.GateGroup.pauli_idxs"]], "pgdb_mle_tomography() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.pgdb_mle_tomography"]], "prepare_data() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.prepare_data"]], "project() (oitg.circuits.protocols.process_tomo.analyse.tpprojector method)": [[1, "oitg.circuits.protocols.process_tomo.analyse.TPProjector.project"]], "project_into_cp() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.project_into_cp"]], "project_into_cptp() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.project_into_cptp"]], "projector() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.projector"]], "reduced_c_in_sk() (in module oitg.circuits.composite_pulses)": [[1, "oitg.circuits.composite_pulses.reduced_c_in_sk"]], "remap_operands() (in module oitg.circuits.gate)": [[1, "oitg.circuits.gate.remap_operands"]], "run_sequences() (oitg.circuits.runner.sequencerunner method)": [[1, "oitg.circuits.runner.SequenceRunner.run_sequences"]], "save_circuit_pdf() (in module oitg.circuits.visualisation)": [[1, "oitg.circuits.visualisation.save_circuit_pdf"]], "single_gate_matrix() (in module oitg.circuits.to_matrix)": [[1, "oitg.circuits.to_matrix.single_gate_matrix"]], "stringify_gate_sequence() (in module oitg.circuits.runner)": [[1, "oitg.circuits.runner.stringify_gate_sequence"]], "stringify_param() (in module oitg.circuits.qasm)": [[1, "oitg.circuits.qasm.stringify_param"]], "stringify_qasm() (in module oitg.circuits.qasm)": [[1, "oitg.circuits.qasm.stringify_qasm"]], "swap_like (oitg.circuits.clifford.entanglinggate attribute)": [[1, "oitg.circuits.clifford.EntanglingGate.swap_like"]], "to_canonical_matrix() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.to_canonical_matrix"]], "to_canonical_matrix_key() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.to_canonical_matrix_key"]], "to_rxy() (in module oitg.circuits.composite_pulses)": [[1, "oitg.circuits.composite_pulses.to_rxy"]], "vec2mat() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.vec2mat"]], "wrap_target_in_process_tomography_fiducials() (in module oitg.circuits.protocols.process_tomo.generate)": [[1, "oitg.circuits.protocols.process_tomo.generate.wrap_target_in_process_tomography_fiducials"]], "analysis_root_path() (in module oitg.paths)": [[3, "oitg.paths.analysis_root_path"]], "artiq_results_path() (in module oitg.paths)": [[3, "oitg.paths.artiq_results_path"]], "oitg.paths": [[3, "module-oitg.paths"]], "shared_area_path() (in module oitg.paths)": [[3, "oitg.paths.shared_area_path"]], "todays_analysis_path() (in module oitg.paths)": [[3, "oitg.paths.todays_analysis_path"]], "result (class in oitg.results)": [[4, "oitg.results.Result"]], "cls (oitg.results.result attribute)": [[4, "oitg.results.Result.cls"]], "day (oitg.results.result attribute)": [[4, "oitg.results.Result.day"]], "find_results() (in module oitg.results)": [[4, "oitg.results.find_results"]], "hour (oitg.results.result attribute)": [[4, "oitg.results.Result.hour"]], "load_hdf5_file() (in module oitg.results)": [[4, "oitg.results.load_hdf5_file"]], "load_result() (in module oitg.results)": [[4, "oitg.results.load_result"]], "oitg.results": [[4, "module-oitg.results"]], "path (oitg.results.result attribute)": [[4, "oitg.results.Result.path"]], "calc_p_error() (in module oitg.threshold)": [[5, "oitg.threshold.calc_p_error"]], "oitg.threshold": [[5, "module-oitg.threshold"]], "optimise_readout() (in module oitg.threshold)": [[5, "oitg.threshold.optimise_readout"]], "optimise_t_bin() (in module oitg.threshold)": [[5, "oitg.threshold.optimise_t_bin"]], "optimise_treshold() (in module oitg.threshold)": [[5, "oitg.threshold.optimise_treshold"]], "poisson_optimal_thresh_count() (in module oitg.threshold)": [[5, "oitg.threshold.poisson_optimal_thresh_count"]]}}) \ No newline at end of file +Search.setIndex({"alltitles": {"Basics": [[1, "basics"]], "Circuit execution": [[1, "circuit-execution"]], "Contents:": [[2, null]], "Gate Set Tomography (oitg.circuits.protocols.gst)": [[1, "module-oitg.circuits.protocols.gst"]], "Process Tomography (oitg.circuits.protocols.process_tomo)": [[1, "module-oitg.circuits.protocols.process_tomo"]], "Protocols": [[1, "protocols"]], "Randomised Benchmarking (oitg.circuits.protocols.rbm)": [[1, "module-oitg.circuits.protocols.rbm"]], "Robust Phase Estimation (oitg.circuits.protocols.rpe)": [[1, "module-oitg.circuits.protocols.rpe"]], "oitg": [[2, "oitg"]], "oitg.cache API": [[0, "module-oitg.cache"]], "oitg.circuits API": [[1, "module-oitg.circuits"]], "oitg.circuits.clifford module": [[1, "module-oitg.circuits.clifford"]], "oitg.circuits.composite_pulses module": [[1, "module-oitg.circuits.composite_pulses"]], "oitg.circuits.gate module": [[1, "module-oitg.circuits.gate"]], "oitg.circuits.protocols.gst.generate module": [[1, "module-oitg.circuits.protocols.gst.generate"]], "oitg.circuits.protocols.gst.specs module": [[1, "module-oitg.circuits.protocols.gst.specs"]], "oitg.circuits.protocols.process_tomo.analyse module": [[1, "module-oitg.circuits.protocols.process_tomo.analyse"]], "oitg.circuits.protocols.process_tomo.generate module": [[1, "module-oitg.circuits.protocols.process_tomo.generate"]], "oitg.circuits.protocols.process_tomo.tools module": [[1, "module-oitg.circuits.protocols.process_tomo.tools"]], "oitg.circuits.protocols.rbm.generate module": [[1, "module-oitg.circuits.protocols.rbm.generate"]], "oitg.circuits.protocols.rpe.analyse module": [[1, "module-oitg.circuits.protocols.rpe.analyse"]], "oitg.circuits.protocols.rpe.generate module": [[1, "module-oitg.circuits.protocols.rpe.generate"]], "oitg.circuits.qasm module": [[1, "module-oitg.circuits.qasm"]], "oitg.circuits.results module": [[1, "module-oitg.circuits.results"]], "oitg.circuits.runner module": [[1, "module-oitg.circuits.runner"]], "oitg.circuits.to_matrix module": [[1, "module-oitg.circuits.to_matrix"]], "oitg.circuits.visualisation module": [[1, "module-oitg.circuits.visualisation"]], "oitg.paths API": [[3, "module-oitg.paths"]], "oitg.results API": [[4, "module-oitg.results"]], "oitg.threshold API": [[5, "module-oitg.threshold"]]}, "docnames": ["cache", "circuits", "index", "paths", "results", "threshold"], "envversion": {"sphinx": 61, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1}, "filenames": ["cache.rst", "circuits.rst", "index.rst", "paths.rst", "results.rst", "threshold.rst"], "indexentries": {"analyse() (in module oitg.circuits.protocols.rpe.analyse)": [[1, "oitg.circuits.protocols.rpe.analyse.analyse", false]], "analysis_root_path() (in module oitg.paths)": [[3, "oitg.paths.analysis_root_path", false]], "apply_gate_sequence() (in module oitg.circuits.to_matrix)": [[1, "oitg.circuits.to_matrix.apply_gate_sequence", false]], "artiq_results_path() (in module oitg.paths)": [[3, "oitg.paths.artiq_results_path", false]], "auto_prepare_data() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.auto_prepare_data", false]], "avg_gate_fidelity() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.avg_gate_fidelity", false]], "bb1() (in module oitg.circuits.composite_pulses)": [[1, "oitg.circuits.composite_pulses.bb1", false]], "build_choi_predictor() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.build_choi_predictor", false]], "cache_to_pickle_file() (in module oitg.cache)": [[0, "oitg.cache.cache_to_pickle_file", false]], "calc_p_error() (in module oitg.threshold)": [[5, "oitg.threshold.calc_p_error", false]], "choi2liou() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.choi2liou", false]], "clear_pickle_cache() (in module oitg.cache)": [[0, "oitg.cache.clear_pickle_cache", false]], "cls (oitg.results.result attribute)": [[4, "oitg.results.Result.cls", false]], "collect_operands() (in module oitg.circuits.gate)": [[1, "oitg.circuits.gate.collect_operands", false]], "collect_outcomes() (in module oitg.circuits.results)": [[1, "oitg.circuits.results.collect_outcomes", false]], "collect_outcomes_from_datasets() (in module oitg.circuits.results)": [[1, "oitg.circuits.results.collect_outcomes_from_datasets", false]], "cz_like (oitg.circuits.clifford.entanglinggate attribute)": [[1, "oitg.circuits.clifford.EntanglingGate.cz_like", false]], "day (oitg.results.result attribute)": [[4, "oitg.results.Result.day", false]], "diluted_mle_tomography() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.diluted_mle_tomography", false]], "dir_env_var (in module oitg.cache)": [[0, "oitg.cache.DIR_ENV_VAR", false]], "entanglinggate (class in oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.EntanglingGate", false]], "estimate_phase() (in module oitg.circuits.protocols.rpe.analyse)": [[1, "oitg.circuits.protocols.rpe.analyse.estimate_phase", false]], "expand_using() (in module oitg.circuits.composite_pulses)": [[1, "oitg.circuits.composite_pulses.expand_using", false]], "find_inverse_idx() (oitg.circuits.clifford.gategroup method)": [[1, "oitg.circuits.clifford.GateGroup.find_inverse_idx", false]], "find_results() (in module oitg.results)": [[4, "oitg.results.find_results", false]], "gate (class in oitg.circuits.gate)": [[1, "oitg.circuits.gate.Gate", false]], "gate_sequence_matrix() (in module oitg.circuits.to_matrix)": [[1, "oitg.circuits.to_matrix.gate_sequence_matrix", false]], "gate_to_qasm() (in module oitg.circuits.qasm)": [[1, "oitg.circuits.qasm.gate_to_qasm", false]], "gategenerator (in module oitg.circuits.gate)": [[1, "oitg.circuits.gate.GateGenerator", false]], "gategroup (class in oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.GateGroup", false]], "gates_for_idx() (oitg.circuits.clifford.gategroup method)": [[1, "oitg.circuits.clifford.GateGroup.gates_for_idx", false]], "gatesequence (in module oitg.circuits.gate)": [[1, "oitg.circuits.gate.GateSequence", false]], "generate_gst_sequences() (in module oitg.circuits.protocols.gst.generate)": [[1, "oitg.circuits.protocols.gst.generate.generate_gst_sequences", false]], "generate_process_tomography_fiducial_pairs() (in module oitg.circuits.protocols.process_tomo.generate)": [[1, "oitg.circuits.protocols.process_tomo.generate.generate_process_tomography_fiducial_pairs", false]], "generate_process_tomography_sequences() (in module oitg.circuits.protocols.process_tomo.generate)": [[1, "oitg.circuits.protocols.process_tomo.generate.generate_process_tomography_sequences", false]], "generate_rbm_experiment() (in module oitg.circuits.protocols.rbm.generate)": [[1, "oitg.circuits.protocols.rbm.generate.generate_rbm_experiment", false]], "generate_rpe_sequences() (in module oitg.circuits.protocols.rpe.generate)": [[1, "oitg.circuits.protocols.rpe.generate.generate_rpe_sequences", false]], "generate_std_gst_sequences() (in module oitg.circuits.protocols.gst.generate)": [[1, "oitg.circuits.protocols.gst.generate.generate_std_gst_sequences", false]], "get_cache_dir() (in module oitg.cache)": [[0, "oitg.cache.get_cache_dir", false]], "get_clifford_1q_xypm_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_1q_xypm_implementation", false]], "get_clifford_1q_xzpm2_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_1q_xzpm2_implementation", false]], "get_clifford_2q_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_2q_implementation", false]], "get_clifford_2q_xypm_cz_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_2q_xypm_cz_implementation", false]], "get_clifford_2q_xzpm2_cz_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_2q_xzpm2_cz_implementation", false]], "get_clifford_2q_xzpm2_zzw_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_clifford_2q_xzpm2_zzw_implementation", false]], "get_cz_entangling_gate_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_cz_entangling_gate_implementation", false]], "get_zzw_entangling_gate_implementation() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.get_zzw_entangling_gate_implementation", false]], "gstspec (class in oitg.circuits.protocols.gst)": [[1, "oitg.circuits.protocols.gst.GSTSpec", false]], "guess_prepare_target_measure_split() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.guess_prepare_target_measure_split", false]], "hour (oitg.results.result attribute)": [[4, "oitg.results.Result.hour", false]], "invert_choi_predictor() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.invert_choi_predictor", false]], "iswap_like (oitg.circuits.clifford.entanglinggate attribute)": [[1, "oitg.circuits.clifford.EntanglingGate.iswap_like", false]], "kind (oitg.circuits.gate.gate attribute)": [[1, "oitg.circuits.gate.Gate.kind", false]], "linear_inversion_tomography() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.linear_inversion_tomography", false]], "liou2choi() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.liou2choi", false]], "load_hdf5_file() (in module oitg.results)": [[4, "oitg.results.load_hdf5_file", false]], "load_result() (in module oitg.results)": [[4, "oitg.results.load_result", false]], "local_matrix() (in module oitg.circuits.to_matrix)": [[1, "oitg.circuits.to_matrix.local_matrix", false]], "make_1q_xz_pi_2_spec() (in module oitg.circuits.protocols.gst.specs)": [[1, "oitg.circuits.protocols.gst.specs.make_1q_xz_pi_2_spec", false]], "make_2q_xy_pi_2_cphase_spec() (in module oitg.circuits.protocols.gst.specs)": [[1, "oitg.circuits.protocols.gst.specs.make_2q_xy_pi_2_cphase_spec", false]], "make_2q_xy_pi_2_wobble_spec() (in module oitg.circuits.protocols.gst.specs)": [[1, "oitg.circuits.protocols.gst.specs.make_2q_xy_pi_2_wobble_spec", false]], "make_2q_xz_pi_2_wobble_spec() (in module oitg.circuits.protocols.gst.specs)": [[1, "oitg.circuits.protocols.gst.specs.make_2q_xz_pi_2_wobble_spec", false]], "make_clifford_group() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.make_clifford_group", false]], "mat2vec() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.mat2vec", false]], "matrix_for_idx() (oitg.circuits.clifford.gategroup method)": [[1, "oitg.circuits.clifford.GateGroup.matrix_for_idx", false]], "module": [[0, "module-oitg.cache", false], [1, "module-oitg.circuits", false], [1, "module-oitg.circuits.clifford", false], [1, "module-oitg.circuits.composite_pulses", false], [1, "module-oitg.circuits.gate", false], [1, "module-oitg.circuits.protocols.gst", false], [1, "module-oitg.circuits.protocols.gst.generate", false], [1, "module-oitg.circuits.protocols.gst.specs", false], [1, "module-oitg.circuits.protocols.process_tomo", false], [1, "module-oitg.circuits.protocols.process_tomo.analyse", false], [1, "module-oitg.circuits.protocols.process_tomo.generate", false], [1, "module-oitg.circuits.protocols.process_tomo.tools", false], [1, "module-oitg.circuits.protocols.rbm", false], [1, "module-oitg.circuits.protocols.rbm.generate", false], [1, "module-oitg.circuits.protocols.rpe", false], [1, "module-oitg.circuits.protocols.rpe.analyse", false], [1, "module-oitg.circuits.protocols.rpe.generate", false], [1, "module-oitg.circuits.qasm", false], [1, "module-oitg.circuits.results", false], [1, "module-oitg.circuits.runner", false], [1, "module-oitg.circuits.to_matrix", false], [1, "module-oitg.circuits.visualisation", false], [3, "module-oitg.paths", false], [4, "module-oitg.results", false], [5, "module-oitg.threshold", false]], "negative_log_likelihood() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.negative_log_likelihood", false]], "negative_log_likelihood_gradient() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.negative_log_likelihood_gradient", false]], "num_elements() (oitg.circuits.clifford.gategroup method)": [[1, "oitg.circuits.clifford.GateGroup.num_elements", false]], "oitg.cache": [[0, "module-oitg.cache", false]], "oitg.circuits": [[1, "module-oitg.circuits", false]], "oitg.circuits.clifford": [[1, "module-oitg.circuits.clifford", false]], "oitg.circuits.composite_pulses": [[1, "module-oitg.circuits.composite_pulses", false]], "oitg.circuits.gate": [[1, "module-oitg.circuits.gate", false]], "oitg.circuits.protocols.gst": [[1, "module-oitg.circuits.protocols.gst", false]], "oitg.circuits.protocols.gst.generate": [[1, "module-oitg.circuits.protocols.gst.generate", false]], "oitg.circuits.protocols.gst.specs": [[1, "module-oitg.circuits.protocols.gst.specs", false]], "oitg.circuits.protocols.process_tomo": [[1, "module-oitg.circuits.protocols.process_tomo", false]], "oitg.circuits.protocols.process_tomo.analyse": [[1, "module-oitg.circuits.protocols.process_tomo.analyse", false]], "oitg.circuits.protocols.process_tomo.generate": [[1, "module-oitg.circuits.protocols.process_tomo.generate", false]], "oitg.circuits.protocols.process_tomo.tools": [[1, "module-oitg.circuits.protocols.process_tomo.tools", false]], "oitg.circuits.protocols.rbm": [[1, "module-oitg.circuits.protocols.rbm", false]], "oitg.circuits.protocols.rbm.generate": [[1, "module-oitg.circuits.protocols.rbm.generate", false]], "oitg.circuits.protocols.rpe": [[1, "module-oitg.circuits.protocols.rpe", false]], "oitg.circuits.protocols.rpe.analyse": [[1, "module-oitg.circuits.protocols.rpe.analyse", false]], "oitg.circuits.protocols.rpe.generate": [[1, "module-oitg.circuits.protocols.rpe.generate", false]], "oitg.circuits.qasm": [[1, "module-oitg.circuits.qasm", false]], "oitg.circuits.results": [[1, "module-oitg.circuits.results", false]], "oitg.circuits.runner": [[1, "module-oitg.circuits.runner", false]], "oitg.circuits.to_matrix": [[1, "module-oitg.circuits.to_matrix", false]], "oitg.circuits.visualisation": [[1, "module-oitg.circuits.visualisation", false]], "oitg.paths": [[3, "module-oitg.paths", false]], "oitg.results": [[4, "module-oitg.results", false]], "oitg.threshold": [[5, "module-oitg.threshold", false]], "operands (oitg.circuits.gate.gate attribute)": [[1, "oitg.circuits.gate.Gate.operands", false]], "optimise_readout() (in module oitg.threshold)": [[5, "oitg.threshold.optimise_readout", false]], "optimise_t_bin() (in module oitg.threshold)": [[5, "oitg.threshold.optimise_t_bin", false]], "optimise_treshold() (in module oitg.threshold)": [[5, "oitg.threshold.optimise_treshold", false]], "parameters (oitg.circuits.gate.gate attribute)": [[1, "oitg.circuits.gate.Gate.parameters", false]], "parse_gate_sequence_string() (in module oitg.circuits.qasm)": [[1, "oitg.circuits.qasm.parse_gate_sequence_string", false]], "path (oitg.results.result attribute)": [[4, "oitg.results.Result.path", false]], "pauli_idxs() (oitg.circuits.clifford.gategroup method)": [[1, "oitg.circuits.clifford.GateGroup.pauli_idxs", false]], "pgdb_mle_tomography() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.pgdb_mle_tomography", false]], "poisson_optimal_thresh_count() (in module oitg.threshold)": [[5, "oitg.threshold.poisson_optimal_thresh_count", false]], "prepare_data() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.prepare_data", false]], "project() (oitg.circuits.protocols.process_tomo.analyse.tpprojector method)": [[1, "oitg.circuits.protocols.process_tomo.analyse.TPProjector.project", false]], "project_into_cp() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.project_into_cp", false]], "project_into_cptp() (in module oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.project_into_cptp", false]], "projector() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.projector", false]], "read_or_create_pickle_cache() (in module oitg.cache)": [[0, "oitg.cache.read_or_create_pickle_cache", false]], "reduced_c_in_sk() (in module oitg.circuits.composite_pulses)": [[1, "oitg.circuits.composite_pulses.reduced_c_in_sk", false]], "remap_operands() (in module oitg.circuits.gate)": [[1, "oitg.circuits.gate.remap_operands", false]], "result (class in oitg.results)": [[4, "oitg.results.Result", false]], "run_sequences() (oitg.circuits.runner.sequencerunner method)": [[1, "oitg.circuits.runner.SequenceRunner.run_sequences", false]], "save_circuit_pdf() (in module oitg.circuits.visualisation)": [[1, "oitg.circuits.visualisation.save_circuit_pdf", false]], "sequencerunner (class in oitg.circuits.runner)": [[1, "oitg.circuits.runner.SequenceRunner", false]], "sequencerunneroptions (class in oitg.circuits.runner)": [[1, "oitg.circuits.runner.SequenceRunnerOptions", false]], "shared_area_path() (in module oitg.paths)": [[3, "oitg.paths.shared_area_path", false]], "single_gate_matrix() (in module oitg.circuits.to_matrix)": [[1, "oitg.circuits.to_matrix.single_gate_matrix", false]], "stringify_gate_sequence() (in module oitg.circuits.runner)": [[1, "oitg.circuits.runner.stringify_gate_sequence", false]], "stringify_param() (in module oitg.circuits.qasm)": [[1, "oitg.circuits.qasm.stringify_param", false]], "stringify_qasm() (in module oitg.circuits.qasm)": [[1, "oitg.circuits.qasm.stringify_qasm", false]], "swap_like (oitg.circuits.clifford.entanglinggate attribute)": [[1, "oitg.circuits.clifford.EntanglingGate.swap_like", false]], "to_canonical_matrix() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.to_canonical_matrix", false]], "to_canonical_matrix_key() (in module oitg.circuits.clifford)": [[1, "oitg.circuits.clifford.to_canonical_matrix_key", false]], "to_rxy() (in module oitg.circuits.composite_pulses)": [[1, "oitg.circuits.composite_pulses.to_rxy", false]], "todays_analysis_path() (in module oitg.paths)": [[3, "oitg.paths.todays_analysis_path", false]], "tpprojector (class in oitg.circuits.protocols.process_tomo.analyse)": [[1, "oitg.circuits.protocols.process_tomo.analyse.TPProjector", false]], "unsupportedgate": [[1, "oitg.circuits.composite_pulses.UnsupportedGate", false]], "vec2mat() (in module oitg.circuits.protocols.process_tomo.tools)": [[1, "oitg.circuits.protocols.process_tomo.tools.vec2mat", false]], "wrap_target_in_process_tomography_fiducials() (in module oitg.circuits.protocols.process_tomo.generate)": [[1, "oitg.circuits.protocols.process_tomo.generate.wrap_target_in_process_tomography_fiducials", false]]}, "objects": {"oitg": [[0, 0, 0, "-", "cache"], [1, 0, 0, "-", "circuits"], [3, 0, 0, "-", "paths"], [4, 0, 0, "-", "results"], [5, 0, 0, "-", "threshold"]], "oitg.cache": [[0, 1, 1, "", "DIR_ENV_VAR"], [0, 2, 1, "", "cache_to_pickle_file"], [0, 2, 1, "", "clear_pickle_cache"], [0, 2, 1, "", "get_cache_dir"], [0, 2, 1, "", "read_or_create_pickle_cache"]], "oitg.circuits": [[1, 0, 0, "-", "clifford"], [1, 0, 0, "-", "composite_pulses"], [1, 0, 0, "-", "gate"], [1, 0, 0, "-", "qasm"], [1, 0, 0, "-", "results"], [1, 0, 0, "-", "runner"], [1, 0, 0, "-", "to_matrix"], [1, 0, 0, "-", "visualisation"]], "oitg.circuits.clifford": [[1, 3, 1, "", "EntanglingGate"], [1, 3, 1, "", "GateGroup"], [1, 2, 1, "", "get_clifford_1q_xypm_implementation"], [1, 2, 1, "", "get_clifford_1q_xzpm2_implementation"], [1, 2, 1, "", "get_clifford_2q_implementation"], [1, 2, 1, "", "get_clifford_2q_xypm_cz_implementation"], [1, 2, 1, "", "get_clifford_2q_xzpm2_cz_implementation"], [1, 2, 1, "", "get_clifford_2q_xzpm2_zzw_implementation"], [1, 2, 1, "", "get_cz_entangling_gate_implementation"], [1, 2, 1, "", "get_zzw_entangling_gate_implementation"], [1, 2, 1, "", "make_clifford_group"], [1, 2, 1, "", "to_canonical_matrix"], [1, 2, 1, "", "to_canonical_matrix_key"]], "oitg.circuits.clifford.EntanglingGate": [[1, 4, 1, "", "cz_like"], [1, 4, 1, "", "iswap_like"], [1, 4, 1, "", "swap_like"]], "oitg.circuits.clifford.GateGroup": [[1, 5, 1, "", "find_inverse_idx"], [1, 5, 1, "", "gates_for_idx"], [1, 5, 1, "", "matrix_for_idx"], [1, 5, 1, "", "num_elements"], [1, 5, 1, "", "pauli_idxs"]], "oitg.circuits.composite_pulses": [[1, 6, 1, "", "UnsupportedGate"], [1, 2, 1, "", "bb1"], [1, 2, 1, "", "expand_using"], [1, 2, 1, "", "reduced_c_in_sk"], [1, 2, 1, "", "to_rxy"]], "oitg.circuits.gate": [[1, 3, 1, "", "Gate"], [1, 1, 1, "", "GateGenerator"], [1, 1, 1, "", "GateSequence"], [1, 2, 1, "", "collect_operands"], [1, 2, 1, "", "remap_operands"]], "oitg.circuits.gate.Gate": [[1, 4, 1, "", "kind"], [1, 4, 1, "", "operands"], [1, 4, 1, "", "parameters"]], "oitg.circuits.protocols": [[1, 0, 0, "-", "gst"], [1, 0, 0, "-", "process_tomo"], [1, 0, 0, "-", "rbm"], [1, 0, 0, "-", "rpe"]], "oitg.circuits.protocols.gst": [[1, 3, 1, "", "GSTSpec"], [1, 0, 0, "-", "generate"], [1, 0, 0, "-", "specs"]], "oitg.circuits.protocols.gst.generate": [[1, 2, 1, "", "generate_gst_sequences"], [1, 2, 1, "", "generate_std_gst_sequences"]], "oitg.circuits.protocols.gst.specs": [[1, 2, 1, "", "make_1q_xz_pi_2_spec"], [1, 2, 1, "", "make_2q_xy_pi_2_cphase_spec"], [1, 2, 1, "", "make_2q_xy_pi_2_wobble_spec"], [1, 2, 1, "", "make_2q_xz_pi_2_wobble_spec"]], "oitg.circuits.protocols.process_tomo": [[1, 0, 0, "-", "analyse"], [1, 0, 0, "-", "generate"], [1, 0, 0, "-", "tools"]], "oitg.circuits.protocols.process_tomo.analyse": [[1, 3, 1, "", "TPProjector"], [1, 2, 1, "", "auto_prepare_data"], [1, 2, 1, "", "build_choi_predictor"], [1, 2, 1, "", "diluted_mle_tomography"], [1, 2, 1, "", "guess_prepare_target_measure_split"], [1, 2, 1, "", "invert_choi_predictor"], [1, 2, 1, "", "linear_inversion_tomography"], [1, 2, 1, "", "negative_log_likelihood"], [1, 2, 1, "", "negative_log_likelihood_gradient"], [1, 2, 1, "", "pgdb_mle_tomography"], [1, 2, 1, "", "prepare_data"], [1, 2, 1, "", "project_into_cp"], [1, 2, 1, "", "project_into_cptp"]], "oitg.circuits.protocols.process_tomo.analyse.TPProjector": [[1, 5, 1, "", "project"]], "oitg.circuits.protocols.process_tomo.generate": [[1, 2, 1, "", "generate_process_tomography_fiducial_pairs"], [1, 2, 1, "", "generate_process_tomography_sequences"], [1, 2, 1, "", "wrap_target_in_process_tomography_fiducials"]], "oitg.circuits.protocols.process_tomo.tools": [[1, 2, 1, "", "avg_gate_fidelity"], [1, 2, 1, "", "choi2liou"], [1, 2, 1, "", "liou2choi"], [1, 2, 1, "", "mat2vec"], [1, 2, 1, "", "projector"], [1, 2, 1, "", "vec2mat"]], "oitg.circuits.protocols.rbm": [[1, 0, 0, "-", "generate"]], "oitg.circuits.protocols.rbm.generate": [[1, 2, 1, "", "generate_rbm_experiment"]], "oitg.circuits.protocols.rpe": [[1, 0, 0, "-", "analyse"], [1, 0, 0, "-", "generate"]], "oitg.circuits.protocols.rpe.analyse": [[1, 2, 1, "", "analyse"], [1, 2, 1, "", "estimate_phase"]], "oitg.circuits.protocols.rpe.generate": [[1, 2, 1, "", "generate_rpe_sequences"]], "oitg.circuits.qasm": [[1, 2, 1, "", "gate_to_qasm"], [1, 2, 1, "", "parse_gate_sequence_string"], [1, 2, 1, "", "stringify_param"], [1, 2, 1, "", "stringify_qasm"]], "oitg.circuits.results": [[1, 2, 1, "", "collect_outcomes"], [1, 2, 1, "", "collect_outcomes_from_datasets"]], "oitg.circuits.runner": [[1, 3, 1, "", "SequenceRunner"], [1, 3, 1, "", "SequenceRunnerOptions"], [1, 2, 1, "", "stringify_gate_sequence"]], "oitg.circuits.runner.SequenceRunner": [[1, 5, 1, "", "run_sequences"]], "oitg.circuits.to_matrix": [[1, 2, 1, "", "apply_gate_sequence"], [1, 2, 1, "", "gate_sequence_matrix"], [1, 2, 1, "", "local_matrix"], [1, 2, 1, "", "single_gate_matrix"]], "oitg.circuits.visualisation": [[1, 2, 1, "", "save_circuit_pdf"]], "oitg.paths": [[3, 2, 1, "", "analysis_root_path"], [3, 2, 1, "", "artiq_results_path"], [3, 2, 1, "", "shared_area_path"], [3, 2, 1, "", "todays_analysis_path"]], "oitg.results": [[4, 3, 1, "", "Result"], [4, 2, 1, "", "find_results"], [4, 2, 1, "", "load_hdf5_file"], [4, 2, 1, "", "load_result"]], "oitg.results.Result": [[4, 4, 1, "", "cls"], [4, 4, 1, "", "day"], [4, 4, 1, "", "hour"], [4, 4, 1, "", "path"]], "oitg.threshold": [[5, 2, 1, "", "calc_p_error"], [5, 2, 1, "", "optimise_readout"], [5, 2, 1, "", "optimise_t_bin"], [5, 2, 1, "", "optimise_treshold"], [5, 2, 1, "", "poisson_optimal_thresh_count"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "data", "Python data"], "2": ["py", "function", "Python function"], "3": ["py", "class", "Python class"], "4": ["py", "attribute", "Python attribute"], "5": ["py", "method", "Python method"], "6": ["py", "exception", "Python exception"]}, "objtypes": {"0": "py:module", "1": "py:data", "2": "py:function", "3": "py:class", "4": "py:attribute", "5": "py:method", "6": "py:exception"}, "terms": {"": [1, 3, 5], "0": [1, 4, 5], "00": 1, "000": 1, "0001": 1, "001": 1, "010": 1, "012316": 1, "014004": 1, "062315": 1, "1": [1, 4, 5], "10": 1, "100": 1, "10000": 1, "105021": 1, "109": 1, "118": 1, "12": 1, "13": 1, "1310": 1, "14": 1, "16": 1, "168": 5, "17": 1, "1994": 1, "1e": 1, "2": [1, 4, 5], "2001": 1, "2007": 1, "2010": 5, "2012": 1, "2013": 1, "2014": 1, "2015": 1, "2017": 1, "2018": 1, "221": 1, "231": 1, "243": 1, "247": 1, "2e": 5, "3": [1, 4], "4": [1, 5], "4492": 1, "5": [1, 5], "6": 1, "63": 1, "75": 1, "8": 1, "82": 1, "8561643835616439": 5, "9": 1, "90": 1, "98": 1, "A": [1, 4], "As": [1, 5], "At": 1, "By": 1, "For": [1, 3], "If": [1, 3, 4], "In": 1, "It": [1, 5], "On": 1, "The": [0, 1, 2, 3, 4, 5], "There": 1, "To": [1, 4], "Will": 1, "With": 1, "_1": 1, "_2": 1, "_expon": 1, "_i": 1, "_j": 1, "_len": 1, "_n": 1, "about": 1, "abov": 1, "absenc": 5, "abstract": 1, "accept": 1, "access": [1, 4], "accident": 5, "accord": 1, "account": 5, "accur": 1, "achiev": 1, "acquir": 1, "acquisit": [1, 4], "across": [0, 1], "act": 1, "action": 1, "actual": [0, 1], "address": 1, "advanc": 1, "advantag": 1, "advis": 1, "after": 1, "afterward": 1, "again": 3, "against": 1, "al": 1, "al12": 1, "algorithm": 1, "alia": [1, 4], "alic": 5, "all": [1, 4], "all_sequ": 1, "allow": 1, "almost": 1, "along": 1, "alreadi": 1, "also": 1, "altern": 1, "alwai": 1, "amen": 1, "among": 1, "amount": 1, "amplitud": 1, "an": [1, 3, 4], "analys": 3, "analysi": [1, 3], "analysis_root_path": [2, 3], "ancillari": 1, "angl": 1, "ani": [0, 1, 4], "anoth": 1, "anywai": 1, "apart": 1, "api": 2, "append": 1, "appli": 1, "applic": 1, "apply_gate_sequ": 1, "appropri": 1, "approxim": 1, "ar": [0, 1, 3, 4, 5], "arbitrari": 1, "arbitrarili": 1, "area": 3, "argument": [1, 4], "around": 1, "arrai": 1, "artefact": 1, "artiq": [1, 3, 4], "artiq_results_path": [2, 3, 4], "artiqresult": 3, "arxiv": 1, "ask": 1, "aspect": 1, "assum": [0, 1, 5], "asymmetr": 1, "attempt": [0, 1], "aut": 1, "auto": 4, "auto_prepare_data": 1, "automat": 4, "avail": 1, "averag": 1, "avg_gate_fidel": 1, "avoid": 1, "ax": 1, "axi": 1, "b": 1, "back": [0, 1, 4], "background": 1, "backtrack": 1, "bad": 1, "bando": 1, "barrier": 1, "base": 1, "basic": 2, "bb1": 1, "becom": 5, "been": 0, "befor": [1, 4], "behaviour": 1, "below": 1, "better": 1, "between": 1, "beyond": [0, 1], "bgn": 1, "bikn13": 1, "bin": 5, "binari": 1, "bloch": 1, "blum15": 1, "blume": 1, "bolduc": 1, "bool": 1, "both": [1, 5], "bound": 1, "bright": 5, "bright_rat": 5, "bring": 1, "broadband": 1, "brute": 1, "build": 1, "build_choi_predictor": 1, "built": [1, 4], "burrel": 5, "bytearrai": 1, "c": 1, "c_": 1, "cach": [1, 2], "cache_to_pickle_fil": [0, 2], "calc_p_error": [2, 5], "calcium": 5, "calcul": [1, 5], "calculu": 1, "calibr": 1, "call": [0, 4], "callabl": [0, 1], "callback": 1, "can": [0, 1, 3], "cancel": 1, "cannot": 1, "canon": 1, "canonicalis": 1, "case": 1, "categori": 1, "cf": 1, "chang": 1, "channel": 1, "charg": 1, "cheap": 1, "choi": 1, "choi2liou": 1, "choi_predictor": 1, "choos": 1, "chosen": 1, "chunk": 1, "chunk_siz": 1, "cinsk": 1, "circuit": 2, "circumv": 4, "cirq": 1, "cl": 4, "clasic": 1, "class": [1, 4], "class_nam": 4, "classic": 1, "clear": 0, "clear_pickle_cach": [0, 2], "client": 0, "clifford_1q_impl": 1, "clifford_1q_impl_0": 1, "clifford_idx": 1, "clock": 1, "close": 1, "closest": 1, "cnot": 1, "code": [0, 1, 3], "coher": 1, "collect": 1, "collect_operand": 1, "collect_outcom": 1, "collect_outcomes_from_dataset": 1, "column": 1, "come": 1, "common": [1, 2], "commonli": 1, "commun": 1, "compens": 1, "compil": 1, "complet": 1, "complex": 1, "composit": 1, "comprehens": 1, "compris": 1, "compromis": 1, "comput": [0, 1, 2, 3], "compute_valu": 0, "concaten": 1, "concept": 1, "conceptu": 1, "concern": 1, "conclus": 3, "condit": 1, "configur": 1, "consid": 1, "consider": 1, "consist": 1, "constitu": 1, "constraint": 1, "construct": 1, "constructor": 1, "contain": [1, 2, 4], "content": 4, "control": 1, "conveni": 2, "convent": 1, "converg": 1, "convert": 1, "copi": [1, 4], "core": 1, "corps": 1, "correl": 1, "correspond": [1, 3], "cosin": 1, "count": [1, 5], "cphase": 1, "cptp": 1, "creat": [1, 3, 4], "criterion": 1, "current": [1, 3, 4], "cycl": 1, "cz": 1, "cz_like": 1, "d": 1, "d5": 5, "dai": [3, 4], "dark": 5, "dark_rat": 5, "dark_to_bright_r": 5, "data": [1, 3], "dataset": [1, 4], "dataset_prefix": 1, "date": [3, 4], "dd": [3, 4], "de": [1, 5], "debug": 1, "decai": 5, "decim": 1, "decompos": 1, "decomposit": 1, "default": [0, 1, 3, 4, 5], "defin": 1, "definit": 1, "degre": 1, "deliber": 1, "delimit": 1, "demonstr": 1, "denot": 1, "dens": 1, "densiti": 1, "depend": 1, "deriv": 1, "derive_shorter_by_trunc": 1, "descent": 1, "describ": [1, 4], "descript": [1, 4], "design": 1, "desir": 1, "detail": 1, "determin": 4, "detun": 1, "develop": 1, "devic": 1, "diagram": 1, "dict": [1, 4], "dictionari": [1, 4], "did": 1, "differ": 1, "dilut": 1, "diluted_mle_tomographi": 1, "dimens": 1, "dimension": 1, "dir_env_var": [0, 2], "direct": 1, "directli": 1, "directori": [0, 3, 4], "discrimin": 5, "discuss": 1, "disk": 0, "displai": 1, "distribut": 5, "divid": 1, "dma": 1, "do": 1, "docstr": 1, "document": 1, "doe": [0, 1, 3, 4], "done": 1, "dot": 1, "doubl": 1, "down": 1, "dpn": 1, "drift": 1, "drive": 4, "driven": 1, "duplic": 1, "durat": 1, "dure": 5, "e": [0, 1], "each": 1, "easier": 1, "easili": 3, "echo": 1, "effici": 1, "eigenst": 1, "element": 1, "elementari": 1, "embed": 1, "emit": 1, "emphat": 1, "encount": 5, "end": 1, "endomorph": 1, "enforc": 1, "ensur": [0, 1], "entangl": 1, "entangling_gates_impl": 1, "entanglingg": 1, "entri": 1, "enumer": 1, "environ": [0, 1, 3], "eq": 1, "equival": 1, "error": [1, 5], "estimate_phas": 1, "et": 1, "etc": 1, "evalu": 5, "even": [1, 4], "everi": [0, 1], "exact": [1, 5], "exactli": 1, "except": 1, "execut": 2, "exist": [0, 3, 4], "expand": 1, "expand_us": 1, "expect": [1, 5], "expected_result": 1, "expens": [0, 1], "experi": [1, 2, 3, 4], "experiment": [1, 3], "expid": 4, "explicitli": 1, "exponenti": 1, "express": 1, "extens": 1, "extern": 1, "extra": 1, "extract": 1, "extrem": 1, "fact": 1, "factor": 1, "fall": 4, "fals": 1, "fault": 1, "favour": 1, "feedback": 1, "fetch": 1, "few": 1, "fewer": 1, "fh01": 1, "fidel": 1, "fiduci": 1, "fiducial_pair": 1, "field": [1, 4], "file": [0, 1, 3, 4], "filenam": [1, 4], "filter": 4, "final": 1, "find": [1, 4], "find_inverse_idx": 1, "find_result": [2, 4], "first": [1, 4], "fiur\u00e1\u0161ek": 1, "fix": 1, "float": 1, "fold": 1, "folder": 4, "follow": 1, "forc": 1, "form": 1, "formal": 1, "formalis": 1, "format": [1, 3, 4], "former": 1, "formul": 1, "found": 3, "fourth": 1, "frac": 1, "fraction": 1, "fresh": 1, "fring": 1, "from": [0, 1, 4], "fulfil": 1, "full": 4, "function": [0, 1, 2, 5], "further": 1, "futur": [0, 1, 4], "g": 1, "gate_matrix": 1, "gate_sequ": 1, "gate_sequence_matrix": 1, "gate_to_qasm": 1, "gategener": 1, "gategroup": 1, "gates_for_idx": 1, "gatesequ": 1, "gather": 1, "gauger": 1, "generalis": 1, "generate_gst_sequ": 1, "generate_process_tomography_fiducial_pair": 1, "generate_process_tomography_sequ": 1, "generate_rbm_experi": 1, "generate_rpe_sequ": 1, "generate_std_gst_sequ": 1, "germ": 1, "get_cache_dir": [0, 2], "get_clifford_1q_xypm_implement": 1, "get_clifford_1q_xzpm2_implement": 1, "get_clifford_2q_implement": 1, "get_clifford_2q_xypm_cz_implement": 1, "get_clifford_2q_xzpm2_cz_implement": 1, "get_clifford_2q_xzpm2_zzw_implement": 1, "get_cz_entangling_gate_implement": 1, "get_zzw_entangling_gate_implement": 1, "give": [1, 5], "given": [0, 1, 3, 4, 5], "global": [1, 5], "good": 1, "gottesmann": 1, "gradient": 1, "group": [1, 2, 3], "gstspec": 1, "guess": 1, "guess_prepare_target_measure_split": 1, "h": 1, "ha": [0, 1], "half": 1, "hand": 1, "handi": 1, "hashabl": 1, "have": [1, 4], "hdf5": [1, 4], "helper": 1, "henc": 1, "here": 1, "hermitian": 1, "hilbert": 1, "host": 1, "hour": [1, 4], "how": 1, "howev": 1, "hradil": 1, "http": 1, "hundr": 1, "i": [0, 1, 3, 4, 5], "ichikawa": 1, "id": 4, "idea": 1, "ideal": 1, "ident": 1, "identifi": 1, "idx": 1, "ignor": 1, "ignore_kind": 1, "ignore_unsupported_g": 1, "ij": 1, "immedi": 1, "imperfect": 1, "implement": [0, 1, 4], "includ": [1, 4], "increas": 1, "index": [1, 4], "indic": 1, "ineffici": 1, "infer": 1, "info": 1, "initi": 1, "initial_st": 1, "input": 1, "insert": 1, "insert_barri": 1, "instal": 1, "instanc": 1, "instead": 1, "int": [1, 4], "integ": 1, "integr": [1, 5], "intend": 3, "interest": 1, "interfac": 1, "interleav": 1, "interleave_g": 1, "interpret": 1, "interv": 1, "intuit": 1, "invalid": 0, "invers": 1, "inverse_idx": 1, "invert": 1, "invert_choi_predictor": 1, "invoc": [0, 1], "invok": [0, 1], "involut": 1, "ioerror": 4, "ion": [1, 2, 3, 5], "irrelev": 1, "isn": 1, "iso": [3, 4], "iswap_lik": 1, "iter": 1, "iteration_limit": 1, "its": [0, 1], "j": 1, "journal": 1, "jpn": 1, "just": 1, "k": 1, "kabytayev": 1, "kblg18": 1, "keep": 1, "kei": [0, 1], "kernel": 1, "ket": 1, "kgk": 1, "kim": 1, "kimmel": 1, "kind": 1, "kly15": 1, "knee": 1, "knill": 1, "knowledg": 1, "known": 3, "kohout": 1, "kondo": 1, "kw": 1, "l": 1, "laboratori": 1, "lagrang": 1, "larger": 1, "largest": 1, "last": 1, "later": 3, "latter": 1, "ldot": 1, "ldots0": 1, "ldots00": 1, "ldots01": 1, "ldots11": 1, "leach": 1, "lead": 1, "least": 1, "left": 1, "length": 1, "lengthen": 1, "lesser": 1, "letter": 1, "level": 1, "librari": [1, 2], "like": [1, 3], "likelihood": 1, "limit": 1, "line": 1, "linear": 1, "linear_inversion_tomographi": 1, "linux": 3, "liou": 1, "liou2choi": 1, "liouvil": 1, "list": [1, 4], "load": [0, 1, 4], "load_hdf5_fil": [2, 4], "load_result": [2, 4], "lobser": 1, "local": [1, 4], "local_matrix": 1, "local_path": 4, "locat": 4, "log": 1, "logic": [1, 4], "long": 1, "longer": 1, "look": 1, "loop": 1, "low": 1, "lvovski": 1, "m": 1, "maco": 3, "magnet": 1, "main": 1, "make": 1, "make_1q_xz_pi_2_spec": 1, "make_2q_xy_pi_2_cphase_spec": 1, "make_2q_xy_pi_2_wobble_spec": 1, "make_2q_xz_pi_2_wobble_spec": 1, "make_clifford_group": 1, "mani": 1, "manipul": 1, "manual": 0, "map": 1, "master": 4, "mat2vec": 1, "match": [1, 4], "mathbb": 1, "mathcal": 1, "mathemat": 1, "mathrm": 1, "matplotlib": 1, "matric": 1, "matrix": 1, "matrix_for_idx": 1, "matter": 1, "maunz": 1, "max": 1, "max_len_expon": 1, "maximis": 1, "maximum": 1, "mean_bright": 5, "mean_dark": 5, "meantim": 1, "meas_fiduci": 1, "meas_oper": 1, "meas_seq": 1, "measuemr": 1, "measur": 1, "memois": 0, "memori": 1, "mention": 1, "method": 1, "microwav": 1, "might": 1, "min": 1, "minim": 1, "minimalist": 0, "minimis": 5, "minimum": 5, "mm": [3, 4], "model": 1, "moor": 1, "more": 1, "most": 1, "mount": [3, 4], "much": 1, "multi": 1, "multipl": 1, "multipli": 1, "must": [0, 5], "my": 1, "n": 1, "nabla": 1, "nakahara": 1, "name": [0, 1, 3, 4], "nanotechnologi": 1, "narrowband": 1, "nation": 1, "natur": 1, "ndarrai": 1, "nearest": 1, "necessari": 1, "necessarili": 1, "need": 1, "neg": 1, "negative_log_likelihood": 1, "negative_log_likelihood_gradi": 1, "neglect": 5, "neither": 1, "nest": 1, "network": [1, 3], "new": 1, "next": [0, 1], "nicer": 1, "nmr": 1, "nois": 1, "non": 1, "none": [0, 1, 3, 4], "nor": 1, "normalis": 1, "note": 1, "notic": 1, "num_el": 1, "num_global_repeat": 1, "num_qubit": 1, "num_repeats_per_chunk": 1, "num_shots_per_repeat": 1, "number": [1, 4], "numpi": 1, "o": 1, "observ": 1, "observation_vec": 1, "obtain": 1, "occurr": 1, "off": 1, "offset": 1, "often": 1, "oitg_cache_dir": 0, "oitg_experi": 3, "oitg_shared_area": 3, "oitg_us": 3, "onc": 1, "one": 1, "ones": 1, "onli": 1, "onto": 1, "open": 1, "openqasm": 1, "oper": 1, "operand": 1, "operand_map": 1, "operatornam": 1, "optim": [1, 5], "optimis": 1, "optimise_readout": [2, 5], "optimise_t_bin": [2, 5], "optimise_treshold": [2, 5], "option": 1, "order": 1, "orthogon": 1, "other": 1, "otherwis": 1, "otim": 1, "our": 1, "out": 1, "outcom": 1, "output": 1, "over": 1, "overlin": 1, "overwritten": [0, 3], "oxart": 1, "oxford": [2, 3], "p": [1, 5], "p_": 1, "p_bright": 5, "p_error": 5, "p_j": 1, "packag": 1, "pai": 1, "pair": 1, "paramet": [0, 1, 3, 4, 5], "parameterless": 0, "parametris": 1, "pars": 1, "parse_gate_sequence_str": 1, "part": [0, 1], "partial": 1, "particular": 1, "pass": 1, "passband": 1, "path": [0, 1, 2, 4], "pauli": 1, "pauli_idx": 1, "pauli_randomize_last": 1, "pauli_xy_estim": 1, "pdf": 1, "pedestrian": 1, "penros": 1, "per": [1, 3, 4], "perform": 1, "period": 1, "permut": 1, "pgdb_mle_tomographi": 1, "phi_j": 1, "phy": 1, "physic": 1, "pi": 1, "pi_2": 1, "pickl": 0, "piec": 1, "place": 1, "plain": 1, "plane": 1, "platform": 3, "plenti": 1, "plot": 1, "point": [1, 3], "poisson": 5, "poisson_optimal_thresh_count": [2, 5], "portion": 1, "posit": 1, "possibl": 1, "possibli": 1, "power": 1, "practic": 1, "precis": 1, "precomput": 1, "predefin": 1, "predict": 1, "predictor": 1, "prefix": 1, "prep_fiduci": 1, "prep_oper": 1, "prep_projector": 1, "prep_seq": 1, "prepar": 1, "prepare_data": 1, "presenc": 1, "preserv": 1, "pretti": 1, "previou": 1, "price": 1, "print": 1, "prior": 1, "probabl": [1, 5], "problem": 1, "procedur": 1, "produc": 1, "product": 1, "progress": 1, "progress_callback": 1, "progress_callback_interv": 1, "project": 1, "project_into_cp": 1, "project_into_cptp": 1, "projector": 1, "properti": 1, "propos": 1, "protocol": 2, "provid": [0, 1, 4], "pseudo": 1, "psi": 1, "psi_i": 1, "puls": 1, "pure": [0, 1], "pure_state_dimens": 1, "pygsti": 1, "pygsti_nam": 1, "pyquil": 1, "python": 1, "qc": 1, "qiskit": 1, "qualiti": 1, "quantum": [1, 2, 3], "qubit": 1, "question": 1, "quickli": 1, "r": 1, "rais": [1, 4], "random": 1, "randomisations_per_length": 1, "randomise_glob": 1, "randomise_per_repeat": 1, "randomli": 1, "rate": 5, "ratein": 5, "re": 1, "reach": [1, 3], "read": 0, "read_or_create_pickle_cach": [0, 2], "readabl": 1, "readout": [1, 5], "readout_projector": 1, "realli": 1, "reconstruct": 1, "record": 1, "reduc": 1, "reduced_c_in_sk": 1, "reexamin": 3, "refer": 1, "refin": 1, "reh\u00e1\u010dek": 1, "rel": 1, "rel_tol": 1, "relationship": 1, "reload": 0, "remap_operand": 1, "remov": 0, "render": 1, "repeat": 1, "repetit": 1, "replac": 1, "report": 1, "repres": 1, "represent": 1, "request": 1, "requir": 1, "reson": 1, "resourc": 1, "respect": 1, "result": [0, 2, 3], "retun": 1, "return": [0, 1, 3, 4, 5], "rev": 1, "review": 1, "rhkl07": 1, "rho_i": 1, "rid": 4, "right": 1, "rigor": 1, "rklm17": 1, "robin": 1, "root": 4, "root_path": 4, "rotat": 1, "round": 1, "routin": 2, "row": 1, "rpc": 1, "ruding": 1, "run": [1, 4], "run_ord": 1, "run_sequ": 1, "rx": 1, "rxy": 1, "sai": 1, "same": [0, 1], "sampl": 1, "sandia": 1, "save": [0, 1], "save_circuit_pdf": 1, "scale": 1, "scheme": 1, "score": 1, "scratch": 1, "search": [1, 4], "second": 1, "section": 1, "see": [0, 1, 3, 4, 5], "seed": 1, "seek": 5, "select": 1, "self": 1, "semant": 1, "semiconductor": 1, "sens": 1, "seq": 1, "sequenc": 1, "sequence_length": 1, "sequencerunn": 1, "sequencerunneropt": 1, "sequenti": 1, "set": [0, 4], "setup": 3, "sever": 1, "shape": 1, "share": [3, 4], "shared_area": 3, "shared_area_path": [2, 3], "shelf": 5, "shelv": 5, "shift": 1, "shorter": 1, "shot": 1, "should": 1, "shown": 1, "silent": 1, "similar": 1, "simpl": 1, "simul": 1, "simultan": 1, "sinc": 1, "sine": 1, "singl": 1, "single_gate_matrix": 1, "six": 1, "size": 1, "sk1": 1, "skip": 1, "slice": 1, "slightli": 1, "slow": 1, "small": 1, "so": [1, 3], "soc": 1, "solut": 1, "some": 1, "sometim": 1, "sort": 1, "sourc": [0, 1, 3, 4, 5], "space": [1, 3], "spam": 1, "specif": 1, "specifi": [1, 4], "speed": 4, "spent": 1, "sphere": 1, "spin": 1, "spirit": 1, "squar": 1, "stabil": 1, "stabilis": 1, "stack": 1, "standard": [1, 3, 4], "start": [1, 5], "start_tim": 4, "state": [1, 5], "statement": 1, "statist": [1, 5], "std1q_xz": 1, "std2q_xycnot": 1, "std2q_xycphas": 1, "steaneshar": 3, "step": 1, "stephen": 1, "still": 1, "stmt": 1, "stop": 1, "store": 0, "str": [0, 1, 3, 4], "straight": 1, "straightforward": 1, "strategi": 1, "string": [1, 4], "stringify_gate_sequ": 1, "stringify_param": 1, "stringify_qasm": 1, "structur": [1, 4], "subdirectori": 3, "subdivid": 1, "subgroup": 1, "submiss": 4, "subsequ": [0, 1], "subspac": 1, "suffici": 1, "suggest": 1, "suitabl": [1, 5], "superoper": 1, "suppli": 1, "support": [0, 1], "suppos": 1, "suppress": 1, "suscept": 1, "swap_lik": 1, "switch": 1, "symmetr": 1, "symmetri": 1, "system": [1, 3, 4], "systemat": 1, "t": 1, "t_bin": 5, "take": 1, "taken": 3, "target": [1, 3], "target_len": 1, "target_seq": 1, "target_t_bin": 5, "target_unitari": 1, "techniqu": 1, "tend": 1, "tensor": 1, "term": 1, "terra": 1, "test": 1, "text": 1, "than": 1, "thei": [0, 1], "them": [0, 1], "theorem": 1, "theoret": 1, "theori": 1, "therefor": 5, "thermal": 1, "thesi": 5, "thi": [1, 3, 4, 5], "those": 1, "though": 1, "thousand": 1, "three": 1, "thresh_count": 5, "threshold": [1, 2], "threshold_count": 5, "through": 1, "throughout": 1, "thrown": 1, "thu": 1, "time": [0, 1, 5], "timestamp": 4, "tlist": 1, "to_canonical_matrix": 1, "to_canonical_matrix_kei": 1, "to_rxi": 1, "todai": [3, 4], "todays_analysis_path": [2, 3], "todo": 1, "tol": 1, "toler": 1, "total": 1, "tp_projector": 1, "tpprojector": 1, "tr": 1, "trace": 1, "track": 1, "trade": 1, "tradeoff": 1, "tradition": 1, "transform": 1, "transpar": [0, 1], "trap": [1, 2, 3], "trivial": 1, "true": 1, "truncat": 1, "try": 1, "tupl": [1, 4], "turbocharg": 1, "twice": 1, "two": 1, "type": 1, "typic": 1, "u": 1, "under": 1, "uniqu": 0, "unitari": 1, "univers": 1, "unix": [3, 4], "unpredict": 1, "unsupport": 1, "unsupportedg": 1, "unwieldli": 1, "up": [1, 4], "updat": 1, "us": [0, 1, 2, 3, 4], "user": [0, 3], "usual": 1, "util": 1, "v": 1, "valu": [0, 1, 4], "variabl": [0, 3], "variant": 1, "variou": 1, "vec2mat": 1, "vector": 1, "veri": 1, "via": 1, "wa": [1, 4], "wall": 1, "want": 1, "warn": 1, "wash": 1, "we": 1, "weakli": 1, "well": [1, 3], "were": 1, "when": [0, 1, 4], "where": 1, "whether": 1, "which": [1, 4], "while": [1, 3], "whole": 1, "wide": 0, "wimp94": 1, "wimperi": 1, "window": 3, "wise": 1, "within": [1, 3], "without": 1, "wobbl": 1, "word": 1, "work": [1, 3], "wors": 1, "would": 1, "wrap": 0, "wrap_target_in_process_tomography_fiduci": 1, "write": 1, "written": 1, "www": 1, "x": 1, "xy": 1, "y": 1, "yet": 0, "yield": 1, "yoder": 1, "you": 1, "yyyi": [3, 4], "z": [1, 3], "zero": 5, "zz": 1, "\u03c0": 1}, "titles": ["oitg.cache API", "oitg.circuits API", "oitg", "oitg.paths API", "oitg.results API", "oitg.threshold API"], "titleterms": {"analys": 1, "api": [0, 1, 3, 4, 5], "basic": 1, "benchmark": 1, "cach": 0, "circuit": 1, "clifford": 1, "composite_puls": 1, "content": 2, "estim": 1, "execut": 1, "gate": 1, "gener": 1, "gst": 1, "modul": 1, "oitg": [0, 1, 2, 3, 4, 5], "path": 3, "phase": 1, "process": 1, "process_tomo": 1, "protocol": 1, "qasm": 1, "randomis": 1, "rbm": 1, "result": [1, 4], "robust": 1, "rpe": 1, "runner": 1, "set": 1, "spec": 1, "threshold": 5, "to_matrix": 1, "tomographi": 1, "tool": 1, "visualis": 1}}) \ No newline at end of file diff --git a/threshold.html b/threshold.html index 51c4d70..3b4d8cd 100644 --- a/threshold.html +++ b/threshold.html @@ -15,7 +15,7 @@ - +