Skip to content

Commit 4738170

Browse files
authored
Proto used to hold the output of QEC circuit calibration (#8100)
This will be returned by the QuantumEngineService once calibration is complete. Full details here: [go/quantum-engine-qec-impl](http://go/quantum-engine-qec-impl)
1 parent 7edca25 commit 4738170

3 files changed

Lines changed: 48 additions & 17 deletions

File tree

cirq-google/cirq_google/api/v2/result.proto

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ message Result {
1616
repeated SweepResult sweep_results = 1;
1717
}
1818

19+
// The result of a process which determines optimal values for a subset of the parameters in a given
20+
// parameterized circuit.
21+
message QuantumCircuitCalibration {
22+
ParameterDict calibrated_parameters = 1;
23+
}
24+
1925
// The measurement results for a particular ParameterSweep.
2026
message SweepResult {
2127
// The total number of repetitions that were performed for this sweep.
@@ -81,7 +87,7 @@ message QubitMeasurementResult {
8187
bytes results = 2;
8288
}
8389

84-
// A point sampled during a parameter sweep.
90+
// A concrete assignment of values for a set of parameters.
8591
message ParameterDict {
8692
// Maps sweep parameter names to values.
8793
map<string, float> assignments = 1;

cirq-google/cirq_google/api/v2/result_pb2.py

Lines changed: 17 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cirq-google/cirq_google/api/v2/result_pb2.pyi

Lines changed: 24 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)