Skip to content

Commit a62b4fe

Browse files
shashwatk1998Shashwat Kumarmhuckapavoljuhas
authored
Add RCS experiment (#461)
* Add RCS experiment * typo * fix docstrings * Add Gemini Code Assist config file (#462) This configures Gemini Code Assist to be a little bit less noisy and verbose. Based on experiences with other repos, I find this makes Gemini more useful. * addressed comments * Fix incompatible return value found by typecheck And make it bit more apparent how is `RCSResults._fidelities_lin` set. Fixes mypy recirq/random_circuit_sampling | grep random_circuit * Update recirq/random_circuit_sampling/rcs_experiment.py Co-authored-by: Pavol Juhas <pavol.juhas@gmail.com> * Update recirq/random_circuit_sampling/rcs_experiment.py Co-authored-by: Pavol Juhas <pavol.juhas@gmail.com> * Update recirq/random_circuit_sampling/rcs_experiment.py Co-authored-by: Pavol Juhas <pavol.juhas@gmail.com> * addressed Alexis's comments --------- Co-authored-by: Shashwat Kumar <kshashwat@google.com> Co-authored-by: Michael Hucka <mhucka@google.com> Co-authored-by: Pavol Juhas <juhas@google.com> Co-authored-by: Pavol Juhas <pavol.juhas@gmail.com>
1 parent e807d31 commit a62b4fe

3 files changed

Lines changed: 575 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2026 Google
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
16+
from recirq.random_circuit_sampling.rcs_experiment import (
17+
characterize_pairs,
18+
make_rcs_circuit,
19+
RCSExperiment,
20+
RCSResults,
21+
)

0 commit comments

Comments
 (0)