Software Open Access

# pyGSTio/pyGSTi: Version 0.9.10

Erik; Lucas Saldyt; Rob; tjproct; Jonathan Gross; sserita; kmrudin; Travis L. Scholten; colibri-coruscans; kevincyoung; msarovar; coreyostrove; jordanh6; David Nadlinger; Leon Nathaniel Maurer; pyIonControl; Robin Blume-Kohout

### DataCite XML Export

<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd">
<identifier identifierType="DOI">10.5281/zenodo.5546759</identifier>
<creators>
<creator>
<creatorName>Erik</creatorName>
</creator>
<creator>
<creatorName>Lucas Saldyt</creatorName>
<affiliation>Arizona State University</affiliation>
</creator>
<creator>
<creatorName>Rob</creatorName>
</creator>
<creator>
<creatorName>tjproct</creatorName>
</creator>
<creator>
<creatorName>Jonathan Gross</creatorName>
</creator>
<creator>
<creatorName>sserita</creatorName>
</creator>
<creator>
<creatorName>kmrudin</creatorName>
</creator>
<creator>
<creatorName>Travis L. Scholten</creatorName>
<affiliation>IBM Quantum</affiliation>
</creator>
<creator>
<creatorName>colibri-coruscans</creatorName>
</creator>
<creator>
<creatorName>kevincyoung</creatorName>
</creator>
<creator>
<creatorName>msarovar</creatorName>
</creator>
<creator>
<creatorName>coreyostrove</creatorName>
</creator>
<creator>
<creatorName>jordanh6</creatorName>
</creator>
<creator>
</creator>
<creator>
<creatorName>Leon Nathaniel Maurer</creatorName>
</creator>
<creator>
<creatorName>pyIonControl</creatorName>
</creator>
<creator>
<creatorName>Robin Blume-Kohout</creatorName>
</creator>
</creators>
<titles>
<title>pyGSTio/pyGSTi: Version 0.9.10</title>
</titles>
<publisher>Zenodo</publisher>
<publicationYear>2021</publicationYear>
<dates>
<date dateType="Issued">2021-10-04</date>
</dates>
<resourceType resourceTypeGeneral="Software"/>
<alternateIdentifiers>
<alternateIdentifier alternateIdentifierType="url">https://zenodo.org/record/5546759</alternateIdentifier>
</alternateIdentifiers>
<relatedIdentifiers>
<relatedIdentifier relatedIdentifierType="URL" relationType="IsSupplementTo">https://github.com/pyGSTio/pyGSTi/tree/v0.9.10</relatedIdentifier>
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.5281/zenodo.594712</relatedIdentifier>
</relatedIdentifiers>
<version>v0.9.10</version>
<rightsList>
<rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
</rightsList>
<descriptions>
<description descriptionType="Abstract">&lt;p&gt;A &lt;strong&gt;significant update&lt;/strong&gt;, which primarily updates the package's API to become more consistent, uniform, and following PEP8 style guidance.  This unfortunately &lt;strong&gt;breaks backward compatibility with previous releases&lt;/strong&gt;, but brings the package substantially closer to the future version 1.0 when the API will be stabilized.  Most of the changes needed to update existing scripts should be straightforward, as names themselves are similar (though their location within the package may have changed) and now conform, for the most part, to the PEP8 style.  Updated documentation and tutorials can also provide help to users seeking to update code that uses version 0.9.9.3 and lower.  Note that pickle files are &lt;em&gt;not&lt;/em&gt; compatible between any prior version of pyGSTi and this one (though most dataset files are).  In addition to the many name and sub-package location updates, additional functionality has been added.  The major updates are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Enhancements to model creation routines.&lt;/strong&gt;  &lt;code&gt;ProcessorSpec&lt;/code&gt; objects now play a central role, as they define the API of a quantum processor.  Processor specification objects are used to construct models and experiment designs.  Model construction routines have been revamped, and allow noise to be more easily added to models.  The construction of different model types (explicit, local, or cloud-noise) is much more unified by construction routines having similar argument lists and behaviors.  The use of "implied idle" gates in models and circuits cleaner and simpler to understand.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Model parameterization is more transparent.&lt;/strong&gt; Known how a model is parameterized is easier thanks to the ability to label parameters and print them out more straightforwardly.  More sophisticated parameterization is possible by "collecting" parameters or by constructing models from the ground up.  The parameter allocation framework is updated to be more robust.  (For example model members don't need to be added to models before their number of parameters can be queried.)  When testing models, the number of parameters of the model can be specified manually, using the new &lt;code&gt;num_modeltest_params&lt;/code&gt; attribute.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Adds a new interface for external circuit simulators.&lt;/strong&gt;  This should allow pyGSTi to provide access to more powerful circuit simulation algorithms in the future.  In this release, the interface has been used to incorporate the &lt;a href="https://www.scottaaronson.com/chp/"&gt;CHP&lt;/a&gt; Clifford-circuit simulator as an option.  This update was made possible through an extensive refactoring and development "evolution types" in pyGSTi, which are also simpler to use now.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Improves randomized and volumetric benchmarks.&lt;/strong&gt;  Increased incorporation of Pandas dataframes makes analysis of data from multiple benchmarking experiments possible.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Adds support for distributed and shared memory.&lt;/strong&gt;. This more efficiently splits many computations among multiple processors, avoiding the need to gather memory to a single processor and thereby reducing the memory requirement by a factor of up to the processor count.  This update also allows pyGSTi to take advantage of the fact that multiple cores on a single machine (node) can share memory.  The new implementation automatically detects when processors can share memory and utilizes this feature by default, avoiding copying in favor of access to shared memory.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Adds &lt;strong&gt;ability to serialize&lt;/strong&gt; (read from &amp;amp; write to disk) most of pyGSTi's object types using a robust and JSON-compatible format.  Most objects now possess &lt;code&gt;read&lt;/code&gt; and &lt;code&gt;write&lt;/code&gt; methods for this purpose.  This, by design, largely obviates the need to store data in Python pickle files, which are both fragile and pose security risks.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Adds a new flexible type of data set (&lt;code&gt;FreeformDataset&lt;/code&gt;) and simulator (&lt;code&gt;FreeformSimulator&lt;/code&gt;) objects that allow arbitrary data to be computed for and associated with circuits.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Adds a means of directly running experiments on &lt;a href="https://www.ibm.com/quantum-computing/systems/"&gt;IBMQ&lt;/a&gt; hardware when provided with proper credentials (see the &lt;code&gt;pygsti.extras.ibmq&lt;/code&gt; package).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Improves and expands the interface with Google's &lt;a href="https://quantumai.google/cirq"&gt;Cirq&lt;/a&gt; package.  The new &lt;code&gt;DataSet.add_cirq_trial_result&lt;/code&gt; method can be used to import &lt;code&gt;Cirq.TrialResult&lt;/code&gt; objects, and supports using &lt;code&gt;cirq.WaitGate&lt;/code&gt; within the conversion method &lt;code&gt;Circuit.convert_to_cirq&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Adds initial support interpolating the results of computationally intensive physics simulations to create and optimize "physical models".  This functionality exists in &lt;code&gt;pygsti.extras.interpygate&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add the ability to place simple bounds on a model's parameters when it is optimized.  This is particularly relevant for restricting the aforementioned "physical models" to the region where their interpolation is valid.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Updates wildcard error computations, adding options and more robust optimization methods.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Adds additional support for fitting data to time-dependent models (time dependent gate set tomography).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixes many bugs and addresses or resolves many issues.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Last but not least, the package's deployment process has updated from providing only a source distribution (requiring users to compile the C-extensions on their own if they wanted to use them) to building wheels for several common platforms and python versions.  This update should save many users time and effort installing pyGSTi.&lt;/p&gt;</description>
</descriptions>
</resource>

1,131
172
views