Skip to content

Improve Serialization performance in Cirq #6110

Open
@tanujkhattar

Description

@tanujkhattar

Summarize the task
The Json serialization was not designed to be compact or fast. Benchmarks for json serialization, added in #5957, show that it takes O(seconds) to serialize a (1000 qubit, 100 moment) circuit containing one and two qubit gates. We want this number to be O(milliseconds). To make this happen, see whether:

  • We can improve the performance of serialization/deserialization using the existing json serialization data model.
  • If not, design a new serialization model with better performance scaling.

The current json serialization framework is described in https://quantumai.google/cirq/dev/serialization

Part of: #6097

Metadata

Metadata

Labels

area/jsonarea/performancearea/serializationgood first issueThis issue can be resolved by someone who is not familiar with the codebase. A good starting issue.kind/taskA task that's part of a larger effortno QC knowledge neededWant to contribute to Cirq, but don't know quantum computing? This issue is for you.status/needs-agreed-designWe want to do this, but it needs an agreed upon design before implementationtriage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked on

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions