Skip to content

Commit

Permalink
gate_data -> gates
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Jan 24, 2024
1 parent 2dc5f41 commit 79b058e
Show file tree
Hide file tree
Showing 42 changed files with 41 additions and 43 deletions.
2 changes: 1 addition & 1 deletion file_lists/benchmark_files
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
src/stim/benchmark_main.perf.cc
src/stim/benchmark_util.perf.cc
src/stim/circuit/circuit.perf.cc
src/stim/gates/gate_data.perf.cc
src/stim/gates/gates.perf.cc
src/stim/io/measure_record_reader.perf.cc
src/stim/main_namespaced.perf.cc
src/stim/mem/simd_bit_table.perf.cc
Expand Down
2 changes: 1 addition & 1 deletion file_lists/python_api_files
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ src/stim/dem/detector_error_model.pybind.cc
src/stim/dem/detector_error_model_instruction.pybind.cc
src/stim/dem/detector_error_model_repeat_block.pybind.cc
src/stim/dem/detector_error_model_target.pybind.cc
src/stim/gates/gate_data.pybind.cc
src/stim/gates/gates.pybind.cc
src/stim/io/read_write.pybind.cc
src/stim/py/base.pybind.cc
src/stim/py/compiled_detector_sampler.pybind.cc
Expand Down
2 changes: 1 addition & 1 deletion file_lists/source_files_no_main
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ src/stim/diagram/lattice_map.cc
src/stim/diagram/timeline/timeline_3d_drawer.cc
src/stim/diagram/timeline/timeline_ascii_drawer.cc
src/stim/diagram/timeline/timeline_svg_drawer.cc
src/stim/gates/gate_data.cc
src/stim/gates/gate_data_annotations.cc
src/stim/gates/gate_data_blocks.cc
src/stim/gates/gate_data_collapsing.cc
Expand All @@ -51,6 +50,7 @@ src/stim/gates/gate_data_period_3.cc
src/stim/gates/gate_data_period_4.cc
src/stim/gates/gate_data_pp.cc
src/stim/gates/gate_data_swaps.cc
src/stim/gates/gates.cc
src/stim/gen/circuit_gen_params.cc
src/stim/gen/gen_color_code.cc
src/stim/gen/gen_rep_code.cc
Expand Down
2 changes: 1 addition & 1 deletion file_lists/test_files
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ src/stim/diagram/json_obj.test.cc
src/stim/diagram/timeline/timeline_3d_drawer.test.cc
src/stim/diagram/timeline/timeline_ascii_drawer.test.cc
src/stim/diagram/timeline/timeline_svg_drawer.test.cc
src/stim/gates/gate_data.test.cc
src/stim/gates/gates.test.cc
src/stim/gen/circuit_gen_params.test.cc
src/stim/gen/gen_color_code.test.cc
src/stim/gen/gen_rep_code.test.cc
Expand Down
2 changes: 1 addition & 1 deletion glue/javascript/tableau.js.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <emscripten/bind.h>

#include "common.js.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include "stim/diagram/timeline/timeline_3d_drawer.h"
#include "stim/diagram/timeline/timeline_ascii_drawer.h"
#include "stim/diagram/timeline/timeline_svg_drawer.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/gen/circuit_gen_params.h"
#include "stim/gen/gen_color_code.h"
#include "stim/gen/gen_rep_code.h"
Expand Down
2 changes: 1 addition & 1 deletion src/stim/circuit/circuit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <utility>

#include "stim/circuit/gate_target.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/str_util.h"

using namespace stim;
Expand Down
2 changes: 1 addition & 1 deletion src/stim/circuit/circuit.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#include "stim/circuit/circuit_instruction.h"
#include "stim/circuit/gate_target.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/mem/monotonic_buffer.h"
#include "stim/mem/span_ref.h"

Expand Down
2 changes: 1 addition & 1 deletion src/stim/circuit/circuit_instruction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "stim/circuit/circuit.h"
#include "stim/circuit/gate_target.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/circuit/circuit_instruction.pybind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "stim/circuit/circuit_instruction.pybind.h"

#include "stim/circuit/gate_target.pybind.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/py/base.pybind.h"
#include "stim/str_util.h"

Expand Down
2 changes: 1 addition & 1 deletion src/stim/circuit/circuit_instruction.pybind.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "stim/circuit/circuit_instruction.h"
#include "stim/circuit/gate_target.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

namespace stim_pybind {

Expand Down
2 changes: 1 addition & 1 deletion src/stim/circuit/gate_decomposition.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "stim/circuit/circuit_instruction.h"
#include "stim/circuit/gate_target.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/mem/simd_bits.h"

namespace stim {
Expand Down
2 changes: 1 addition & 1 deletion src/stim/circuit/gate_target.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <iostream>

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/mem/span_ref.h"

namespace stim {
Expand Down
2 changes: 1 addition & 1 deletion src/stim/cmd/command_help.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "stim/arg_parse.h"
#include "stim/circuit/stabilizer_flow.h"
#include "stim/cmd/command_analyze_errors.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/io/stim_data_formats.h"
#include "stim/stabilizers/tableau.h"

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_annotations.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_blocks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_collapsing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_controlled.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_hada.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_heralded.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_noisy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_pair_measure.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_pauli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_period_3.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_period_4.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_pp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data_swaps.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
2 changes: 1 addition & 1 deletion src/stim/gates/gate_data.cc → src/stim/gates/gates.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

using namespace stim;

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

#include <iostream>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/circuit/gate_data.pybind.h"
#include "stim/gates/gates.h"

#include "stim/circuit/stabilizer_flow.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.pybind.h"
#include "stim/py/base.pybind.h"
#include "stim/stabilizers/pauli_string.pybind.h"
#include "stim/stabilizers/tableau.pybind.h"
#include "stim/str_util.h"

using namespace stim;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <pybind11/pybind11.h>

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

namespace stim_pybind {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"

#include "gtest/gtest.h"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/stim/py/stim.pybind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
#include "stim/circuit/circuit.pybind.h"
#include "stim/circuit/circuit_instruction.pybind.h"
#include "stim/circuit/circuit_repeat_block.pybind.h"
#include "stim/circuit/gate_data.pybind.h"
#include "stim/circuit/gate_target.pybind.h"
#include "stim/cmd/command_diagram.pybind.h"
#include "stim/dem/detector_error_model.pybind.h"
#include "stim/dem/detector_error_model_instruction.pybind.h"
#include "stim/dem/detector_error_model_repeat_block.pybind.h"
#include "stim/dem/detector_error_model_target.pybind.h"
#include "stim/gates/gates.pybind.h"
#include "stim/io/read_write.pybind.h"
#include "stim/main_namespaced.h"
#include "stim/py/base.pybind.h"
Expand Down
2 changes: 1 addition & 1 deletion src/stim/simulators/matched_error.pybind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "stim/circuit/gate_target.h"
#include "stim/circuit/gate_target.pybind.h"
#include "stim/dem/detector_error_model_target.pybind.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/py/base.pybind.h"
#include "stim/simulators/matched_error.h"

Expand Down
2 changes: 1 addition & 1 deletion src/stim/simulators/measurements_to_detection_events.inl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <cassert>

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/io/measure_record_batch_writer.h"
#include "stim/io/measure_record_reader.h"
#include "stim/io/stim_data_formats.h"
Expand Down
2 changes: 1 addition & 1 deletion src/stim/simulators/tableau_simulator.inl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <set>

#include "stim/circuit/gate_decomposition.h"
#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/probability_util.h"
#include "stim/simulators/tableau_simulator.h"
#include "stim/simulators/vector_simulator.h"
Expand Down
2 changes: 1 addition & 1 deletion src/stim/simulators/vector_simulator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <cassert>

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/mem/simd_util.h"
#include "stim/stabilizers/pauli_string.h"

Expand Down
2 changes: 1 addition & 1 deletion src/stim/simulators/vector_simulator.test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include "gtest/gtest.h"

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/mem/simd_word.test.h"
#include "stim/stabilizers/pauli_string.h"

Expand Down
2 changes: 1 addition & 1 deletion src/stim/stabilizers/tableau.inl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <map>
#include <random>

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/simulators/vector_simulator.h"
#include "stim/stabilizers/pauli_string.h"
#include "stim/stabilizers/tableau.h"
Expand Down
2 changes: 1 addition & 1 deletion src/stim/stabilizers/tableau.test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "gtest/gtest.h"

#include "stim/gates/gate_data.h"
#include "stim/gates/gates.h"
#include "stim/mem/simd_word.test.h"
#include "stim/simulators/vector_simulator.h"
#include "stim/stabilizers/tableau_transposed_raii.h"
Expand Down

0 comments on commit 79b058e

Please sign in to comment.