SYMBOL INDEX (3946 symbols across 530 files) FILE: dev/doctest_proper.py function no_really_i_have_a_doc_why_is_this_needed_argh (line 31) | def no_really_i_have_a_doc_why_is_this_needed_argh(v: object, fullname: ... function gen (line 39) | def gen(*, obj: object, fullname: str, out: Dict[str, object]) -> None: function main (line 65) | def main(): FILE: dev/gen_sinter_api_reference.py function main (line 12) | def main(): FILE: dev/gen_stim_api_reference.py function main (line 12) | def main(): FILE: dev/gen_stim_stub_file.py function main (line 13) | def main(): FILE: dev/overwrite_dev_versions_with_date.py function main (line 19) | def main(): FILE: dev/util_gen_stub_file.py function normalize_doc_string (line 83) | def normalize_doc_string(d: str) -> str: function indented (line 90) | def indented(*, paragraph: str, indentation: str) -> str: class DescribedObject (line 97) | class DescribedObject: method __init__ (line 98) | def __init__(self): function splay_signature (line 104) | def splay_signature(sig: str) -> List[str]: function _handle_pybind_method (line 141) | def _handle_pybind_method( function print_doc (line 217) | def print_doc(*, full_name: str, parent: object, obj: object, level: int... function generate_documentation (line 306) | def generate_documentation(*, obj: object, level: int, full_name: str) -... FILE: doc/stim.pyi class Circuit (line 10) | class Circuit: method __add__ (line 44) | def __add__( method __eq__ (line 66) | def __eq__( method __getitem__ (line 73) | def __getitem__( method __getitem__ (line 79) | def __getitem__( method __getitem__ (line 84) | def __getitem__( method __iadd__ (line 126) | def __iadd__( method __imul__ (line 149) | def __imul__( method __init__ (line 176) | def __init__( method __len__ (line 195) | def __len__( method __mul__ (line 222) | def __mul__( method __ne__ (line 253) | def __ne__( method __repr__ (line 259) | def __repr__( method __rmul__ (line 264) | def __rmul__( method __str__ (line 295) | def __str__( method append (line 301) | def append( method append (line 311) | def append( method append (line 316) | def append( method append_from_stim_program_text (line 381) | def append_from_stim_program_text( method append_operation (line 407) | def append_operation( method approx_equals (line 417) | def approx_equals( method clear (line 474) | def clear( method compile_detector_sampler (line 489) | def compile_detector_sampler( method compile_m2d_converter (line 534) | def compile_m2d_converter( method compile_sampler (line 578) | def compile_sampler( method copy (line 650) | def copy( method count_determined_measurements (line 665) | def count_determined_measurements( method decomposed (line 762) | def decomposed( method detecting_regions (line 827) | def detecting_regions( method detector_error_model (line 955) | def detector_error_model( method diagram (line 1050) | def diagram( method explain_detector_error_model_errors (line 1179) | def explain_detector_error_model_errors( method flattened (line 1235) | def flattened( method flattened_operations (line 1273) | def flattened_operations( method flow_generators (line 1298) | def flow_generators( method from_file (line 1350) | def from_file( method generated (line 1390) | def generated( method get_detector_coordinates (line 1488) | def get_detector_coordinates( method get_final_qubit_coordinates (line 1522) | def get_final_qubit_coordinates( method has_all_flows (line 1543) | def has_all_flows( method has_flow (line 1598) | def has_flow( method insert (line 1718) | def insert( method inverse (line 1767) | def inverse( method likeliest_error_sat_problem (line 1818) | def likeliest_error_sat_problem( method missing_detectors (line 1898) | def missing_detectors( method num_detectors (line 1958) | def num_detectors( method num_measurements (line 1978) | def num_measurements( method num_observables (line 1995) | def num_observables( method num_qubits (line 2014) | def num_qubits( method num_sweep_bits (line 2036) | def num_sweep_bits( method num_ticks (line 2056) | def num_ticks( method pop (line 2095) | def pop( method reference_detector_and_observable_signs (line 2128) | def reference_detector_and_observable_signs( method reference_sample (line 2176) | def reference_sample( method search_for_undetectable_logical_errors (line 2208) | def search_for_undetectable_logical_errors( method shortest_error_sat_problem (line 2301) | def shortest_error_sat_problem( method shortest_graphlike_error (line 2368) | def shortest_graphlike_error( method solve_flow_measurements (line 2438) | def solve_flow_measurements( method time_reversed_for_flows (line 2529) | def time_reversed_for_flows( method to_crumble_url (line 2732) | def to_crumble_url( method to_file (line 2777) | def to_file( method to_qasm (line 2811) | def to_qasm( method to_quirk_url (line 2871) | def to_quirk_url( method to_tableau (line 2897) | def to_tableau( method with_inlined_feedback (line 2949) | def with_inlined_feedback( method without_noise (line 3003) | def without_noise( method without_tags (line 3030) | def without_tags( class CircuitErrorLocation (line 3050) | class CircuitErrorLocation: method __init__ (line 3073) | def __init__( method flipped_measurement (line 3130) | def flipped_measurement( method flipped_pauli_product (line 3151) | def flipped_pauli_product( method instruction_targets (line 3170) | def instruction_targets( method noise_tag (line 3197) | def noise_tag( method stack_frames (line 3214) | def stack_frames( method tick_offset (line 3239) | def tick_offset( class CircuitErrorLocationStackFrame (line 3260) | class CircuitErrorLocationStackFrame: method __init__ (line 3292) | def __init__( method instruction_offset (line 3310) | def instruction_offset( method instruction_repetitions_arg (line 3332) | def instruction_repetitions_arg( method iteration_index (line 3357) | def iteration_index( class CircuitInstruction (line 3381) | class CircuitInstruction: method __eq__ (line 3398) | def __eq__( method __init__ (line 3404) | def __init__( method __ne__ (line 3442) | def __ne__( method __repr__ (line 3448) | def __repr__( method __str__ (line 3453) | def __str__( method gate_args_copy (line 3458) | def gate_args_copy( method name (line 3479) | def name( method num_measurements (line 3485) | def num_measurements( method tag (line 3506) | def tag( method target_groups (line 3521) | def target_groups( method targets_copy (line 3560) | def targets_copy( class CircuitRepeatBlock (line 3576) | class CircuitRepeatBlock: method __eq__ (line 3597) | def __eq__( method __init__ (line 3603) | def __init__( method __ne__ (line 3628) | def __ne__( method __repr__ (line 3634) | def __repr__( method body_copy (line 3639) | def body_copy( method name (line 3664) | def name( method num_measurements (line 3686) | def num_measurements( method repeat_count (line 3700) | def repeat_count( method tag (line 3719) | def tag( class CircuitTargetsInsideInstruction (line 3744) | class CircuitTargetsInsideInstruction: method __init__ (line 3747) | def __init__( method args (line 3771) | def args( method gate (line 3790) | def gate( method tag (line 3809) | def tag( method target_range_end (line 3828) | def target_range_end( method target_range_start (line 3850) | def target_range_start( method targets_in_range (line 3872) | def targets_in_range( class CliffordString (line 3892) | class CliffordString: method __add__ (line 3903) | def __add__( method __eq__ (line 3920) | def __eq__( method __getitem__ (line 3927) | def __getitem__( method __getitem__ (line 3933) | def __getitem__( method __getitem__ (line 3938) | def __getitem__( method __iadd__ (line 3968) | def __iadd__( method __imul__ (line 3988) | def __imul__( method __init__ (line 4022) | def __init__( method __ipow__ (line 4070) | def __ipow__( method __len__ (line 4100) | def __len__( method __mul__ (line 4110) | def __mul__( method __ne__ (line 4131) | def __ne__( method __pow__ (line 4137) | def __pow__( method __repr__ (line 4173) | def __repr__( method __rmul__ (line 4178) | def __rmul__( method __setitem__ (line 4202) | def __setitem__( method __str__ (line 4259) | def __str__( method all_cliffords_string (line 4265) | def all_cliffords_string( method copy (line 4286) | def copy( method random (line 4306) | def random( method x_outputs (line 4323) | def x_outputs( method y_outputs (line 4365) | def y_outputs( method z_outputs (line 4404) | def z_outputs( class CompiledDemSampler (line 4446) | class CompiledDemSampler: method sample (line 4475) | def sample( method sample_write (line 4625) | def sample_write( class CompiledDetectorSampler (line 4703) | class CompiledDetectorSampler: method __init__ (line 4706) | def __init__( method __repr__ (line 4757) | def __repr__( method sample (line 4762) | def sample( method sample_bit_packed (line 4857) | def sample_bit_packed( method sample_write (line 4885) | def sample_write( class CompiledMeasurementSampler (line 4941) | class CompiledMeasurementSampler: method __init__ (line 4944) | def __init__( method __repr__ (line 5022) | def __repr__( method sample (line 5027) | def sample( method sample_bit_packed (line 5064) | def sample_bit_packed( method sample_write (line 5092) | def sample_write( class CompiledMeasurementsToDetectionEventsConverter (line 5129) | class CompiledMeasurementsToDetectionEventsConverter: method __init__ (line 5132) | def __init__( method __repr__ (line 5175) | def __repr__( method convert (line 5181) | def convert( method convert (line 5191) | def convert( method convert (line 5201) | def convert( method convert_file (line 5285) | def convert_file( class DemInstruction (line 5351) | class DemInstruction: method __eq__ (line 5367) | def __eq__( method __init__ (line 5373) | def __init__( method __ne__ (line 5407) | def __ne__( method __repr__ (line 5413) | def __repr__( method __str__ (line 5418) | def __str__( method args_copy (line 5423) | def args_copy( method tag (line 5446) | def tag( method target_groups (line 5462) | def target_groups( method targets_copy (line 5491) | def targets_copy( method type (line 5513) | def type( class DemRepeatBlock (line 5518) | class DemRepeatBlock: method __eq__ (line 5535) | def __eq__( method __init__ (line 5541) | def __init__( method __ne__ (line 5561) | def __ne__( method __repr__ (line 5567) | def __repr__( method body_copy (line 5572) | def body_copy( method repeat_count (line 5590) | def repeat_count( method type (line 5596) | def type( class DemTarget (line 5618) | class DemTarget: method __eq__ (line 5621) | def __eq__( method __init__ (line 5627) | def __init__( method __ne__ (line 5647) | def __ne__( method __repr__ (line 5653) | def __repr__( method __str__ (line 5658) | def __str__( method is_logical_observable_id (line 5663) | def is_logical_observable_id( method is_relative_detector_id (line 5680) | def is_relative_detector_id( method is_separator (line 5697) | def is_separator( method logical_observable_id (line 5715) | def logical_observable_id( method relative_detector_id (line 5738) | def relative_detector_id( method separator (line 5761) | def separator( method val (line 5779) | def val( class DemTargetWithCoords (line 5791) | class DemTargetWithCoords: method __init__ (line 5815) | def __init__( method coords (line 5835) | def coords( method dem_target (line 5855) | def dem_target( class DetectorErrorModel (line 5872) | class DetectorErrorModel: method __add__ (line 5933) | def __add__( method __eq__ (line 5953) | def __eq__( method __getitem__ (line 5960) | def __getitem__( method __getitem__ (line 5966) | def __getitem__( method __getitem__ (line 5971) | def __getitem__( method __iadd__ (line 6009) | def __iadd__( method __imul__ (line 6030) | def __imul__( method __init__ (line 6055) | def __init__( method __len__ (line 6072) | def __len__( method __mul__ (line 6097) | def __mul__( method __ne__ (line 6128) | def __ne__( method __repr__ (line 6134) | def __repr__( method __rmul__ (line 6139) | def __rmul__( method __str__ (line 6170) | def __str__( method append (line 6175) | def append( method approx_equals (line 6244) | def approx_equals( method clear (line 6296) | def clear( method compile_sampler (line 6310) | def compile_sampler( method copy (line 6372) | def copy( method diagram (line 6389) | def diagram( method flattened (line 6443) | def flattened( method from_file (line 6474) | def from_file( method get_detector_coordinates (line 6513) | def get_detector_coordinates( method num_detectors (line 6543) | def num_detectors( method num_errors (line 6577) | def num_errors( method num_observables (line 6599) | def num_observables( method rounded (line 6623) | def rounded( method shortest_graphlike_error (line 6659) | def shortest_graphlike_error( method to_file (line 6748) | def to_file( method without_tags (line 6782) | def without_tags( class ExplainedError (line 6800) | class ExplainedError: method __init__ (line 6825) | def __init__( method circuit_error_locations (line 6856) | def circuit_error_locations( method dem_error_terms (line 6889) | def dem_error_terms( class FlipSimulator (line 6894) | class FlipSimulator: method __init__ (line 6907) | def __init__( method append_measurement_flips (line 6997) | def append_measurement_flips( method batch_size (line 7071) | def batch_size( method broadcast_pauli_errors (line 7085) | def broadcast_pauli_errors( method clear (line 7137) | def clear( method copy (line 7166) | def copy( method do (line 7236) | def do( method generate_bernoulli_samples (line 7273) | def generate_bernoulli_samples( method get_detector_flips (line 7336) | def get_detector_flips( method get_measurement_flips (line 7404) | def get_measurement_flips( method get_observable_flips (line 7473) | def get_observable_flips( method num_detectors (line 7542) | def num_detectors( method num_measurements (line 7560) | def num_measurements( method num_observables (line 7575) | def num_observables( method num_qubits (line 7593) | def num_qubits( method peek_pauli_flips (line 7611) | def peek_pauli_flips( method peek_pauli_flips (line 7616) | def peek_pauli_flips( method peek_pauli_flips (line 7622) | def peek_pauli_flips( method set_pauli_flip (line 7672) | def set_pauli_flip( method to_numpy (line 7701) | def to_numpy( class FlippedMeasurement (line 7853) | class FlippedMeasurement: method __init__ (line 7871) | def __init__( method observable (line 7890) | def observable( method record_index (line 7907) | def record_index( class Flow (line 7923) | class Flow: method __eq__ (line 7963) | def __eq__( method __init__ (line 7969) | def __init__( method __mul__ (line 8030) | def __mul__( method __ne__ (line 8057) | def __ne__( method __repr__ (line 8063) | def __repr__( method __str__ (line 8068) | def __str__( method included_observables_copy (line 8073) | def included_observables_copy( method input_copy (line 8097) | def input_copy( method measurements_copy (line 8111) | def measurements_copy( method output_copy (line 8125) | def output_copy( class GateData (line 8139) | class GateData: method __eq__ (line 8158) | def __eq__( method __init__ (line 8164) | def __init__( method __ne__ (line 8175) | def __ne__( method __repr__ (line 8181) | def __repr__( method __str__ (line 8186) | def __str__( method aliases (line 8192) | def aliases( method flows (line 8208) | def flows( method generalized_inverse (line 8245) | def generalized_inverse( method hadamard_conjugated (line 8289) | def hadamard_conjugated( method inverse (line 8344) | def inverse( method is_noisy_gate (line 8384) | def is_noisy_gate( method is_reset (line 8417) | def is_reset( method is_single_qubit_gate (line 8454) | def is_single_qubit_gate( method is_symmetric_gate (line 8492) | def is_symmetric_gate( method is_two_qubit_gate (line 8541) | def is_two_qubit_gate( method is_unitary (line 8579) | def is_unitary( method name (line 8608) | def name( method num_parens_arguments_range (line 8621) | def num_parens_arguments_range( method produces_measurements (line 8649) | def produces_measurements( method tableau (line 8682) | def tableau( method takes_measurement_record_targets (line 8713) | def takes_measurement_record_targets( method takes_pauli_targets (line 8749) | def takes_pauli_targets( method unitary_matrix (line 8783) | def unitary_matrix( class GateTarget (line 8804) | class GateTarget: method __eq__ (line 8817) | def __eq__( method __init__ (line 8823) | def __init__( method __ne__ (line 8846) | def __ne__( method __repr__ (line 8852) | def __repr__( method is_combiner (line 8858) | def is_combiner( method is_inverted_result_target (line 8883) | def is_inverted_result_target( method is_measurement_record_target (line 8908) | def is_measurement_record_target( method is_qubit_target (line 8931) | def is_qubit_target( method is_sweep_bit_target (line 8954) | def is_sweep_bit_target( method is_x_target (line 8977) | def is_x_target( method is_y_target (line 9000) | def is_y_target( method is_z_target (line 9023) | def is_z_target( method pauli_type (line 9046) | def pauli_type( method qubit_value (line 9071) | def qubit_value( method value (line 9094) | def value( class GateTargetWithCoords (line 9119) | class GateTargetWithCoords: method __init__ (line 9139) | def __init__( method coords (line 9155) | def coords( method gate_target (line 9169) | def gate_target( class PauliString (line 9180) | class PauliString: method __add__ (line 9193) | def __add__( method __eq__ (line 9216) | def __eq__( method __getitem__ (line 9223) | def __getitem__( method __getitem__ (line 9229) | def __getitem__( method __getitem__ (line 9234) | def __getitem__( method __iadd__ (line 9265) | def __iadd__( method __imul__ (line 9291) | def __imul__( method __init__ (line 9335) | def __init__( method __itruediv__ (line 9404) | def __itruediv__( method __len__ (line 9427) | def __len__( method __mul__ (line 9439) | def __mul__( method __ne__ (line 9491) | def __ne__( method __neg__ (line 9497) | def __neg__( method __pos__ (line 9511) | def __pos__( method __repr__ (line 9525) | def __repr__( method __rmul__ (line 9530) | def __rmul__( method __setitem__ (line 9581) | def __setitem__( method __str__ (line 9613) | def __str__( method __truediv__ (line 9618) | def __truediv__( method after (line 9640) | def after( method after (line 9646) | def after( method after (line 9652) | def after( method before (line 9688) | def before( method before (line 9694) | def before( method before (line 9700) | def before( method commutes (line 9735) | def commutes( method copy (line 9768) | def copy( method extended_product (line 9784) | def extended_product( method from_numpy (line 9791) | def from_numpy( method from_unitary_matrix (line 9841) | def from_unitary_matrix( method iter_all (line 9894) | def iter_all( method pauli_indices (line 9948) | def pauli_indices( method random (line 9986) | def random( method sign (line 10017) | def sign( method sign (line 10034) | def sign(self, value: complex): method to_numpy (line 10036) | def to_numpy( method to_tableau (line 10088) | def to_tableau( method to_unitary_matrix (line 10131) | def to_unitary_matrix( method weight (line 10158) | def weight( class PauliStringIterator (line 10174) | class PauliStringIterator: method __iter__ (line 10192) | def __iter__( method __next__ (line 10201) | def __next__( class Tableau (line 10206) | class Tableau: method __add__ (line 10239) | def __add__( method __call__ (line 10263) | def __call__( method __eq__ (line 10295) | def __eq__( method __iadd__ (line 10301) | def __iadd__( method __init__ (line 10329) | def __init__( method __len__ (line 10348) | def __len__( method __mul__ (line 10359) | def __mul__( method __ne__ (line 10381) | def __ne__( method __pow__ (line 10387) | def __pow__( method __repr__ (line 10417) | def __repr__( method __str__ (line 10422) | def __str__( method append (line 10427) | def append( method copy (line 10450) | def copy( method from_circuit (line 10465) | def from_circuit( method from_conjugated_generators (line 10519) | def from_conjugated_generators( method from_named_gate (line 10557) | def from_named_gate( method from_numpy (line 10584) | def from_numpy( method from_stabilizers (line 10683) | def from_stabilizers( method from_state_vector (line 10766) | def from_state_vector( method from_unitary_matrix (line 10827) | def from_unitary_matrix( method inverse (line 10882) | def inverse( method inverse_x_output (line 10948) | def inverse_x_output( method inverse_x_output_pauli (line 10982) | def inverse_x_output_pauli( method inverse_y_output (line 11018) | def inverse_y_output( method inverse_y_output_pauli (line 11052) | def inverse_y_output_pauli( method inverse_z_output (line 11088) | def inverse_z_output( method inverse_z_output_pauli (line 11124) | def inverse_z_output_pauli( method iter_all (line 11161) | def iter_all( method prepend (line 11192) | def prepend( method random (line 11213) | def random( method then (line 11233) | def then( method to_circuit (line 11257) | def to_circuit( method to_numpy (line 11382) | def to_numpy( method to_pauli_string (line 11544) | def to_pauli_string( method to_stabilizers (line 11574) | def to_stabilizers( method to_state_vector (line 11623) | def to_state_vector( method to_unitary_matrix (line 11675) | def to_unitary_matrix( method x_output (line 11720) | def x_output( method x_output_pauli (line 11741) | def x_output_pauli( method x_sign (line 11777) | def x_sign( method y_output (line 11795) | def y_output( method y_output_pauli (line 11816) | def y_output_pauli( method y_sign (line 11852) | def y_sign( method z_output (line 11872) | def z_output( method z_output_pauli (line 11893) | def z_output_pauli( method z_sign (line 11929) | def z_sign( class TableauIterator (line 11947) | class TableauIterator: method __iter__ (line 11959) | def __iter__( method __next__ (line 11968) | def __next__( class TableauSimulator (line 11973) | class TableauSimulator: method __init__ (line 12003) | def __init__( method c_xyz (line 12050) | def c_xyz( method c_zyx (line 12071) | def c_zyx( method canonical_stabilizers (line 12092) | def canonical_stabilizers( method cnot (line 12141) | def cnot( method copy (line 12164) | def copy( method current_inverse_tableau (line 12238) | def current_inverse_tableau( method current_measurement_record (line 12272) | def current_measurement_record( method cx (line 12297) | def cx( method cy (line 12320) | def cy( method cz (line 12343) | def cz( method depolarize1 (line 12366) | def depolarize1( method depolarize2 (line 12383) | def depolarize2( method do (line 12402) | def do( method do_circuit (line 12428) | def do_circuit( method do_pauli_string (line 12447) | def do_pauli_string( method do_tableau (line 12463) | def do_tableau( method h (line 12505) | def h( method h_xy (line 12526) | def h_xy( method h_xz (line 12547) | def h_xz( method h_yz (line 12568) | def h_yz( method iswap (line 12589) | def iswap( method iswap_dag (line 12612) | def iswap_dag( method measure (line 12635) | def measure( method measure_kickback (line 12662) | def measure_kickback( method measure_many (line 12717) | def measure_many( method measure_observable (line 12736) | def measure_observable( method num_qubits (line 12774) | def num_qubits( method peek_bloch (line 12792) | def peek_bloch( method peek_observable_expectation (line 12838) | def peek_observable_expectation( method peek_x (line 12884) | def peek_x( method peek_y (line 12917) | def peek_y( method peek_z (line 12950) | def peek_z( method postselect_observable (line 12983) | def postselect_observable( method postselect_x (line 13016) | def postselect_x( method postselect_y (line 13055) | def postselect_y( method postselect_z (line 13094) | def postselect_z( method reset (line 13134) | def reset( method reset_x (line 13151) | def reset_x( method reset_y (line 13167) | def reset_y( method reset_z (line 13183) | def reset_z( method s (line 13200) | def s( method s_dag (line 13221) | def s_dag( method set_inverse_tableau (line 13242) | def set_inverse_tableau( method set_num_qubits (line 13269) | def set_num_qubits( method set_state_from_stabilizers (line 13306) | def set_state_from_stabilizers( method set_state_from_state_vector (line 13396) | def set_state_from_state_vector( method sqrt_x (line 13459) | def sqrt_x( method sqrt_x_dag (line 13480) | def sqrt_x_dag( method sqrt_y (line 13501) | def sqrt_y( method sqrt_y_dag (line 13522) | def sqrt_y_dag( method state_vector (line 13543) | def state_vector( method swap (line 13594) | def swap( method x (line 13617) | def x( method x_error (line 13638) | def x_error( method xcx (line 13655) | def xcx( method xcy (line 13678) | def xcy( method xcz (line 13701) | def xcz( method y (line 13724) | def y( method y_error (line 13745) | def y_error( method ycx (line 13762) | def ycx( method ycy (line 13785) | def ycy( method ycz (line 13808) | def ycz( method z (line 13831) | def z( method z_error (line 13852) | def z_error( method zcx (line 13869) | def zcx( method zcy (line 13892) | def zcy( method zcz (line 13915) | def zcz( function gate_data (line 13939) | def gate_data( function gate_data (line 13944) | def gate_data( function gate_data (line 13947) | def gate_data( function main (line 13964) | def main( function read_shot_data_file (line 14038) | def read_shot_data_file( function read_shot_data_file (line 14049) | def read_shot_data_file( function read_shot_data_file (line 14060) | def read_shot_data_file( function target_combined_paulis (line 14140) | def target_combined_paulis( function target_combiner (line 14167) | def target_combiner( function target_inv (line 14186) | def target_inv( function target_logical_observable_id (line 14208) | def target_logical_observable_id( function target_pauli (line 14230) | def target_pauli( function target_rec (line 14269) | def target_rec( function target_relative_detector_id (line 14296) | def target_relative_detector_id( function target_separator (line 14318) | def target_separator( function target_sweep_bit (line 14335) | def target_sweep_bit( function target_x (line 14352) | def target_x( function target_y (line 14378) | def target_y( function target_z (line 14404) | def target_z( function write_shot_data_file (line 14430) | def write_shot_data_file( FILE: glue/cirq/stimcirq/_cirq_to_stim.py function _forward_single_str_tag (line 14) | def _forward_single_str_tag(op: cirq.CircuitOperation) -> str: function cirq_circuit_to_stim_circuit (line 21) | def cirq_circuit_to_stim_circuit( function cirq_circuit_to_stim_data (line 118) | def cirq_circuit_to_stim_data( function gate_to_stim_append_func (line 148) | def gate_to_stim_append_func() -> Dict[cirq.Gate, Callable[[stim.Circuit... function gate_type_to_stim_append_func (line 258) | def gate_type_to_stim_append_func() -> Dict[Type[cirq.Gate], StimTypeHan... function _stim_append_measurement_gate (line 281) | def _stim_append_measurement_gate( function _stim_append_pauli_measurement_gate (line 290) | def _stim_append_pauli_measurement_gate( function _stim_append_spp_gate (line 319) | def _stim_append_spp_gate( function _stim_append_dense_pauli_string_gate (line 345) | def _stim_append_dense_pauli_string_gate( function _stim_append_asymmetric_depolarizing_channel (line 354) | def _stim_append_asymmetric_depolarizing_channel( function _stim_append_depolarizing_channel (line 386) | def _stim_append_depolarizing_channel(c: stim.Circuit, g: cirq.Depolariz... function _stim_append_controlled_gate (line 395) | def _stim_append_controlled_gate(c: stim.Circuit, g: cirq.ControlledGate... function _stim_append_random_gate_channel (line 416) | def _stim_append_random_gate_channel(c: stim.Circuit, g: cirq.RandomGate... class CirqToStimHelper (line 431) | class CirqToStimHelper: method __init__ (line 432) | def __init__(self, tag_func: Callable[[cirq.Operation], str]): method process_circuit_operation_into_repeat_block (line 440) | def process_circuit_operation_into_repeat_block(self, op: cirq.Circuit... method process_operations (line 455) | def process_operations(self, operations: Iterable[cirq.Operation]) -> ... method process_moment (line 518) | def process_moment(self, moment: cirq.Moment): method process_moments (line 526) | def process_moments(self, moments: Iterable[cirq.Moment]): FILE: glue/cirq/stimcirq/_cirq_to_stim_test.py function solve_tableau (line 12) | def solve_tableau(gate: cirq.Gate) -> Dict[cirq.PauliString, cirq.PauliS... function test_solve_tableau (line 53) | def test_solve_tableau(): function assert_unitary_gate_converts_correctly (line 70) | def assert_unitary_gate_converts_correctly(gate: cirq.Gate): function test_unitary_gate_conversions (line 97) | def test_unitary_gate_conversions(gate: cirq.Gate): function test_more_unitary_gate_conversions (line 103) | def test_more_unitary_gate_conversions(): function test_frame_simulator_sampling_noisy_gates_agrees_with_cirq_data (line 158) | def test_frame_simulator_sampling_noisy_gates_agrees_with_cirq_data(gate... function test_tableau_simulator_sampling_noisy_gates_agrees_with_cirq_data (line 195) | def test_tableau_simulator_sampling_noisy_gates_agrees_with_cirq_data(ga... function test_cirq_circuit_to_stim_circuit_custom_stim_method (line 241) | def test_cirq_circuit_to_stim_circuit_custom_stim_method(): function test_custom_qubit_indexing (line 313) | def test_custom_qubit_indexing(): function test_on_loop (line 326) | def test_on_loop(): function test_multi_moment_circuit_operation (line 346) | def test_multi_moment_circuit_operation(): function test_on_tagged_loop (line 370) | def test_on_tagged_loop(): function test_random_gate_channel (line 388) | def test_random_gate_channel(): function test_custom_tagging (line 400) | def test_custom_tagging(): function test_round_trip_example_circuit (line 418) | def test_round_trip_example_circuit(): FILE: glue/cirq/stimcirq/_cx_swap_gate.py class CXSwapGate (line 8) | class CXSwapGate(cirq.Gate): method __init__ (line 11) | def __init__( method _num_qubits_ (line 18) | def _num_qubits_(self) -> int: method _circuit_diagram_info_ (line 21) | def _circuit_diagram_info_(self, args: cirq.CircuitDiagramInfoArgs) ->... method _value_equality_values_ (line 24) | def _value_equality_values_(self): method _decompose_ (line 29) | def _decompose_(self, qubits): method _stim_conversion_ (line 38) | def _stim_conversion_(self, edit_circuit: stim.Circuit, targets: List[... method __pow__ (line 41) | def __pow__(self, power: int) -> 'CXSwapGate': method __str__ (line 48) | def __str__(self) -> str: method __repr__ (line 51) | def __repr__(self): method _json_namespace_ (line 55) | def _json_namespace_() -> str: method _json_dict_ (line 58) | def _json_dict_(self) -> Dict[str, Any]: FILE: glue/cirq/stimcirq/_cx_swap_test.py function test_stim_conversion (line 6) | def test_stim_conversion(): function test_diagram (line 25) | def test_diagram(): function test_inverse (line 41) | def test_inverse(): function test_repr (line 50) | def test_repr(): function test_equality (line 57) | def test_equality(): function test_json_serialization (line 63) | def test_json_serialization(): function test_json_backwards_compat_exact (line 74) | def test_json_backwards_compat_exact(): FILE: glue/cirq/stimcirq/_cz_swap_gate.py class CZSwapGate (line 8) | class CZSwapGate(cirq.Gate): method _num_qubits_ (line 11) | def _num_qubits_(self) -> int: method _circuit_diagram_info_ (line 14) | def _circuit_diagram_info_(self, args: cirq.CircuitDiagramInfoArgs) ->... method _value_equality_values_ (line 17) | def _value_equality_values_(self): method _decompose_ (line 20) | def _decompose_(self, qubits): method _stim_conversion_ (line 25) | def _stim_conversion_(self, edit_circuit: stim.Circuit, targets: List[... method __pow__ (line 28) | def __pow__(self, power: int) -> 'CZSwapGate': method __str__ (line 35) | def __str__(self) -> str: method __repr__ (line 38) | def __repr__(self): method _json_namespace_ (line 42) | def _json_namespace_() -> str: method _json_dict_ (line 45) | def _json_dict_(self) -> Dict[str, Any]: FILE: glue/cirq/stimcirq/_cz_swap_test.py function test_stim_conversion (line 6) | def test_stim_conversion(): function test_diagram (line 25) | def test_diagram(): function test_inverse (line 41) | def test_inverse(): function test_repr (line 47) | def test_repr(): function test_equality (line 52) | def test_equality(): function test_json_serialization (line 57) | def test_json_serialization(): function test_json_backwards_compat_exact (line 68) | def test_json_backwards_compat_exact(): FILE: glue/cirq/stimcirq/_det_annotation.py class DetAnnotation (line 8) | class DetAnnotation(cirq.Operation): method __init__ (line 14) | def __init__( method qubits (line 36) | def qubits(self) -> Tuple[cirq.Qid, ...]: method with_qubits (line 39) | def with_qubits(self, *new_qubits) -> 'DetAnnotation': method _value_equality_values_ (line 42) | def _value_equality_values_(self) -> Any: method _circuit_diagram_info_ (line 45) | def _circuit_diagram_info_(self, args: Any) -> str: method _json_namespace_ (line 52) | def _json_namespace_() -> str: method _json_dict_ (line 55) | def _json_dict_(self) -> Dict[str, Any]: method __repr__ (line 64) | def __repr__(self) -> str: method _decompose_ (line 72) | def _decompose_(self): method _is_comment_ (line 75) | def _is_comment_(self) -> bool: method _stim_conversion_ (line 78) | def _stim_conversion_( FILE: glue/cirq/stimcirq/_det_annotation_test.py function test_stim_conversion (line 8) | def test_stim_conversion(): function test_simulation (line 105) | def test_simulation(): function test_diagram (line 116) | def test_diagram(): function test_repr (line 134) | def test_repr(): function test_equality (line 139) | def test_equality(): function test_json_serialization (line 155) | def test_json_serialization(): function test_json_backwards_compat_exact (line 167) | def test_json_backwards_compat_exact(): FILE: glue/cirq/stimcirq/_i_error_gate.py class IErrorGate (line 9) | class IErrorGate(cirq.Gate): method __init__ (line 12) | def __init__(self, gate_args: Iterable[float]): method _num_qubits_ (line 15) | def _num_qubits_(self) -> int: method _circuit_diagram_info_ (line 18) | def _circuit_diagram_info_(self, args: cirq.CircuitDiagramInfoArgs) ->... method _value_equality_values_ (line 21) | def _value_equality_values_(self): method _decompose_ (line 24) | def _decompose_(self, qubits): method _stim_conversion_ (line 27) | def _stim_conversion_(self, edit_circuit: stim.Circuit, targets: List[... method __str__ (line 30) | def __str__(self) -> str: method __repr__ (line 33) | def __repr__(self): method _json_namespace_ (line 37) | def _json_namespace_() -> str: method _json_dict_ (line 40) | def _json_dict_(self) -> Dict[str, Any]: FILE: glue/cirq/stimcirq/_i_error_gate_test.py function test_repr (line 5) | def test_repr(): function test_json_serialization (line 12) | def test_json_serialization(): function test_json_backwards_compat_exact (line 20) | def test_json_backwards_compat_exact(): FILE: glue/cirq/stimcirq/_ii_error_gate.py class IIErrorGate (line 9) | class IIErrorGate(cirq.Gate): method __init__ (line 12) | def __init__(self, gate_args: Iterable[float]): method _num_qubits_ (line 15) | def _num_qubits_(self) -> int: method _circuit_diagram_info_ (line 18) | def _circuit_diagram_info_(self, args: cirq.CircuitDiagramInfoArgs) ->... method _value_equality_values_ (line 21) | def _value_equality_values_(self): method _decompose_ (line 24) | def _decompose_(self, qubits): method _stim_conversion_ (line 27) | def _stim_conversion_(self, edit_circuit: stim.Circuit, targets: List[... method __str__ (line 30) | def __str__(self) -> str: method __repr__ (line 33) | def __repr__(self): method _json_namespace_ (line 37) | def _json_namespace_() -> str: method _json_dict_ (line 40) | def _json_dict_(self) -> Dict[str, Any]: FILE: glue/cirq/stimcirq/_ii_error_gate_test.py function test_repr (line 5) | def test_repr(): function test_json_serialization (line 12) | def test_json_serialization(): function test_json_backwards_compat_exact (line 20) | def test_json_backwards_compat_exact(): FILE: glue/cirq/stimcirq/_ii_gate.py class IIGate (line 7) | class IIGate(cirq.Gate): method _num_qubits_ (line 10) | def _num_qubits_(self) -> int: method _circuit_diagram_info_ (line 13) | def _circuit_diagram_info_(self, args: cirq.CircuitDiagramInfoArgs) ->... method _value_equality_values_ (line 16) | def _value_equality_values_(self): method _decompose_ (line 19) | def _decompose_(self, qubits): method _stim_conversion_ (line 22) | def _stim_conversion_(self, edit_circuit: stim.Circuit, targets: List[... method __pow__ (line 25) | def __pow__(self, power: int) -> 'IIGate': method __str__ (line 28) | def __str__(self) -> str: method __repr__ (line 31) | def __repr__(self): method _json_namespace_ (line 35) | def _json_namespace_() -> str: method _json_dict_ (line 38) | def _json_dict_(self) -> Dict[str, Any]: FILE: glue/cirq/stimcirq/_ii_gate_test.py function test_repr (line 5) | def test_repr(): function test_json_serialization (line 10) | def test_json_serialization(): function test_json_backwards_compat_exact (line 18) | def test_json_backwards_compat_exact(): FILE: glue/cirq/stimcirq/_measure_and_or_reset_gate.py class MeasureAndOrResetGate (line 8) | class MeasureAndOrResetGate(cirq.Gate): method __init__ (line 11) | def __init__( method _num_qubits_ (line 27) | def _num_qubits_(self) -> int: method _circuit_diagram_info_ (line 30) | def _circuit_diagram_info_(self, args: cirq.CircuitDiagramInfoArgs) ->... method resolve (line 33) | def resolve(self, target: cirq.Qid) -> cirq.Operation: method _value_equality_values_ (line 53) | def _value_equality_values_(self): method _decompose_ (line 63) | def _decompose_(self, qubits): method _stim_op_name (line 84) | def _stim_op_name(self) -> str: method _stim_conversion_ (line 94) | def _stim_conversion_(self, *, edit_circuit: stim.Circuit, targets: Li... method __str__ (line 106) | def __str__(self) -> str: method __repr__ (line 116) | def __repr__(self): method _json_namespace_ (line 128) | def _json_namespace_() -> str: method _json_dict_ (line 131) | def _json_dict_(self) -> Dict[str, Any]: FILE: glue/cirq/stimcirq/_measure_and_or_reset_gate_test.py function test_repr (line 5) | def test_repr(): function test_json_serialization (line 17) | def test_json_serialization(): function test_json_backwards_compat_exact (line 32) | def test_json_backwards_compat_exact(): FILE: glue/cirq/stimcirq/_obs_annotation.py class CumulativeObservableAnnotation (line 8) | class CumulativeObservableAnnotation(cirq.Operation): method __init__ (line 14) | def __init__( method qubits (line 36) | def qubits(self) -> Tuple[cirq.Qid, ...]: method with_qubits (line 39) | def with_qubits(self, *new_qubits) -> 'CumulativeObservableAnnotation': method _value_equality_values_ (line 42) | def _value_equality_values_(self) -> Any: method _circuit_diagram_info_ (line 45) | def _circuit_diagram_info_(self, args: Any) -> str: method __repr__ (line 52) | def __repr__(self) -> str: method _json_namespace_ (line 62) | def _json_namespace_() -> str: method _json_dict_ (line 65) | def _json_dict_(self) -> Dict[str, Any]: method _decompose_ (line 75) | def _decompose_(self): method _is_comment_ (line 78) | def _is_comment_(self) -> bool: method _stim_conversion_ (line 81) | def _stim_conversion_( FILE: glue/cirq/stimcirq/_obs_annotation_test.py function test_stim_conversion (line 8) | def test_stim_conversion(): function test_simulation (line 123) | def test_simulation(): function test_diagram (line 136) | def test_diagram(): function test_repr (line 154) | def test_repr(): function test_equality (line 159) | def test_equality(): function test_json_serialization (line 181) | def test_json_serialization(): function test_json_serialization_with_pauli_keys (line 194) | def test_json_serialization_with_pauli_keys(): function test_json_backwards_compat_exact (line 208) | def test_json_backwards_compat_exact(): FILE: glue/cirq/stimcirq/_shift_coords_annotation.py class ShiftCoordsAnnotation (line 8) | class ShiftCoordsAnnotation(cirq.Operation): method __init__ (line 14) | def __init__(self, shift: Iterable[float]): method qubits (line 23) | def qubits(self) -> Tuple[cirq.Qid, ...]: method with_qubits (line 26) | def with_qubits(self, *new_qubits) -> 'ShiftCoordsAnnotation': method _value_equality_values_ (line 29) | def _value_equality_values_(self) -> Any: method _circuit_diagram_info_ (line 32) | def _circuit_diagram_info_(self, args: Any) -> str: method _json_namespace_ (line 37) | def _json_namespace_() -> str: method _json_dict_ (line 40) | def _json_dict_(self) -> Dict[str, Any]: method __repr__ (line 43) | def __repr__(self) -> str: method _decompose_ (line 46) | def _decompose_(self): method _is_comment_ (line 49) | def _is_comment_(self) -> bool: method _stim_conversion_ (line 52) | def _stim_conversion_(self, *, edit_circuit: stim.Circuit, tag: str, *... FILE: glue/cirq/stimcirq/_shift_coords_annotation_test.py function test_conversion (line 7) | def test_conversion(): function test_simulation (line 31) | def test_simulation(): function test_diagram (line 42) | def test_diagram(): function test_repr (line 60) | def test_repr(): function test_equality (line 65) | def test_equality(): function test_json_serialization (line 73) | def test_json_serialization(): function test_json_backwards_compat_exact (line 80) | def test_json_backwards_compat_exact(): FILE: glue/cirq/stimcirq/_stim_sampler.py class StimSampler (line 15) | class StimSampler(cirq.Sampler): method run_sweep (line 26) | def run_sweep( FILE: glue/cirq/stimcirq/_stim_sampler_test.py function test_end_to_end (line 7) | def test_end_to_end(): function test_end_to_end_repeated_keys (line 24) | def test_end_to_end_repeated_keys(): function test_endian (line 51) | def test_endian(): function test_custom_gates (line 59) | def test_custom_gates(): function test_custom_measurement (line 107) | def test_custom_measurement(): function test_correlated_error (line 134) | def test_correlated_error(): FILE: glue/cirq/stimcirq/_stim_to_cirq.py function _stim_targets_to_dense_pauli_string (line 31) | def _stim_targets_to_dense_pauli_string( function _proper_transform_circuit_qubits (line 49) | def _proper_transform_circuit_qubits(circuit: cirq.AbstractCircuit, rema... class CircuitTranslationTracker (line 67) | class CircuitTranslationTracker: method __init__ (line 68) | def __init__(self, flatten: bool, single_measure_key: Optional[str] = ... method get_next_measure_id (line 78) | def get_next_measure_id(self) -> int: method get_next_measure_key (line 82) | def get_next_measure_key(self) -> str: method append_operation (line 87) | def append_operation(self, op: cirq.Operation) -> None: method process_gate_instruction (line 90) | def process_gate_instruction( method process_tick (line 104) | def process_tick(self, instruction: stim.CircuitInstruction) -> None: method process_pauli_channel_1 (line 108) | def process_pauli_channel_1(self, instruction: stim.CircuitInstruction... method process_pauli_channel_2 (line 116) | def process_pauli_channel_2(self, instruction: stim.CircuitInstruction... method process_repeat_block (line 144) | def process_repeat_block(self, block: stim.CircuitRepeatBlock): method process_measurement_instruction (line 180) | def process_measurement_instruction( method process_circuit (line 208) | def process_circuit(self, repetitions: int, circuit: stim.Circuit) -> ... method output (line 222) | def output(self) -> cirq.Circuit: method process_mpp (line 238) | def process_mpp(self, instruction: stim.CircuitInstruction) -> None: method process_spp_dag (line 261) | def process_spp_dag(self, instruction: stim.CircuitInstruction) -> None: method process_spp (line 264) | def process_spp(self, instruction: stim.CircuitInstruction, dag: bool ... method process_m_pair (line 285) | def process_m_pair(self, instruction: stim.CircuitInstruction, basis: ... method process_mxx (line 303) | def process_mxx(self, instruction: stim.CircuitInstruction) -> None: method process_myy (line 306) | def process_myy(self, instruction: stim.CircuitInstruction) -> None: method process_mzz (line 309) | def process_mzz(self, instruction: stim.CircuitInstruction) -> None: method process_mpad (line 312) | def process_mpad(self, instruction: stim.CircuitInstruction) -> None: method process_correlated_error (line 322) | def process_correlated_error(self, instruction: stim.CircuitInstructio... method coords_after_offset (line 335) | def coords_after_offset( method resolve_measurement_record_keys (line 348) | def resolve_measurement_record_keys( method process_detector (line 363) | def process_detector(self, instruction: stim.CircuitInstruction) -> None: method process_observable_include (line 374) | def process_observable_include(self, instruction: stim.CircuitInstruct... method process_qubit_coords (line 388) | def process_qubit_coords(self, instruction: stim.CircuitInstruction) -... method process_shift_coords (line 396) | def process_shift_coords(self, instruction: stim.CircuitInstruction) -... class OneToOneGateHandler (line 407) | class OneToOneGateHandler: method __init__ (line 408) | def __init__(self, gate: cirq.Gate): method __call__ (line 411) | def __call__( class SweepableGateHandler (line 416) | class SweepableGateHandler: method __init__ (line 417) | def __init__(self, pauli_gate: cirq.Pauli, gate: cirq.Gate): method __call__ (line 421) | def __call__( class OneToOneMeasurementHandler (line 452) | class OneToOneMeasurementHandler: method __init__ (line 453) | def __init__(self, *, reset: bool, measure: bool, basis: str): method __call__ (line 458) | def __call__( class OneToOneNoisyGateHandler (line 465) | class OneToOneNoisyGateHandler: method __init__ (line 466) | def __init__(self, prob_to_gate: Callable[[float], cirq.Gate]): method __call__ (line 469) | def __call__( class MultiArgumentGateHandler (line 476) | class MultiArgumentGateHandler: method __init__ (line 477) | def __init__(self, args_to_gate: Callable[[List[float]], cirq.Gate]): method __call__ (line 480) | def __call__( method get_handler_table (line 489) | def get_handler_table() -> Dict[ function stim_circuit_to_cirq_circuit (line 642) | def stim_circuit_to_cirq_circuit( FILE: glue/cirq/stimcirq/_stim_to_cirq_test.py function test_stim_circuit_to_cirq_circuit (line 12) | def test_stim_circuit_to_cirq_circuit(): function assert_circuits_are_equivalent_and_convert (line 46) | def assert_circuits_are_equivalent_and_convert( function test_gates_converted_using_OneToOneGateHandler (line 61) | def test_gates_converted_using_OneToOneGateHandler(name: str): function test_gates_converted_using_SweepableGateHandler (line 84) | def test_gates_converted_using_SweepableGateHandler(name: str): function test_gates_converted_using_OneToOneNoisyGateHandler (line 126) | def test_gates_converted_using_OneToOneNoisyGateHandler(name: str, proba... function test_gates_converted_using_OneToOneMeasurementHandler (line 153) | def test_gates_converted_using_OneToOneMeasurementHandler( function test_round_trip_preserves_moment_structure (line 181) | def test_round_trip_preserves_moment_structure(): function test_circuit_diagram (line 197) | def test_circuit_diagram(): function test_all_known_gates_explicitly_handled (line 224) | def test_all_known_gates_explicitly_handled(): function test_line_grid_qubit_round_trip (line 231) | def test_line_grid_qubit_round_trip(): function test_noisy_measurements (line 279) | def test_noisy_measurements(): function test_convert_mpp (line 346) | def test_convert_mpp(): function test_convert_detector (line 391) | def test_convert_detector(): function test_convert_observable (line 426) | def test_convert_observable(): function test_sweep_target (line 461) | def test_sweep_target(): function test_convert_repeat_simple (line 501) | def test_convert_repeat_simple(): function test_convert_repeat_measurements (line 527) | def test_convert_repeat_measurements(): function test_single_repeat_loops_always_flattened (line 574) | def test_single_repeat_loops_always_flattened(): function test_circuit_operations_always_in_isolated_moment (line 591) | def test_circuit_operations_always_in_isolated_moment(): function test_stim_circuit_to_cirq_circuit_mpad (line 614) | def test_stim_circuit_to_cirq_circuit_mpad(): function test_stim_circuit_to_cirq_circuit_mxx_myy_mzz (line 625) | def test_stim_circuit_to_cirq_circuit_mxx_myy_mzz(): function test_stim_circuit_to_cirq_circuit_spp (line 648) | def test_stim_circuit_to_cirq_circuit_spp(): function test_tags_convert (line 686) | def test_tags_convert(): function test_every_operation_converts_tags (line 695) | def test_every_operation_converts_tags(gate: str): function test_loop_tagging (line 734) | def test_loop_tagging(): function test_id_error_round_trip (line 755) | def test_id_error_round_trip(): function test_round_trip_with_pauli_obs (line 767) | def test_round_trip_with_pauli_obs(): function test_single_measure_key_order (line 784) | def test_single_measure_key_order(): FILE: glue/cirq/stimcirq/_sweep_pauli.py class SweepPauli (line 9) | class SweepPauli(cirq.Gate): method __init__ (line 16) | def __init__( method _decomposed_into_pauli (line 36) | def _decomposed_into_pauli(self) -> cirq.Gate: method _resolve_parameters_ (line 39) | def _resolve_parameters_(self, resolver: cirq.ParamResolver, recursive... method _is_parameterized_ (line 45) | def _is_parameterized_(self) -> bool: method _parameter_names_ (line 48) | def _parameter_names_(self) -> AbstractSet[str]: method _decompose_ (line 51) | def _decompose_(self, qubits) -> cirq.OP_TREE: method _num_qubits_ (line 54) | def _num_qubits_(self) -> int: method _value_equality_values_ (line 57) | def _value_equality_values_(self) -> Any: method _circuit_diagram_info_ (line 60) | def _circuit_diagram_info_(self, args: Any) -> str: method _json_namespace_ (line 64) | def _json_namespace_() -> str: method _json_dict_ (line 67) | def _json_dict_(self) -> Dict[str, Any]: method __repr__ (line 74) | def __repr__(self) -> str: method _stim_conversion_ (line 82) | def _stim_conversion_(self, edit_circuit: stim.Circuit, targets: List[... FILE: glue/cirq/stimcirq/_sweep_pauli_test.py function test_repr (line 7) | def test_repr(): function test_stim_conversion (line 18) | def test_stim_conversion(): function test_resolving_without_sweep_resolver (line 44) | def test_resolving_without_sweep_resolver(): function test_parameter_names (line 62) | def test_parameter_names(): function test_cirq_compatibility (line 74) | def test_cirq_compatibility(): function test_json_serialization (line 117) | def test_json_serialization(): function test_json_backwards_compat_exact (line 131) | def test_json_backwards_compat_exact(): FILE: glue/cirq/stimcirq/_two_qubit_asymmetric_depolarize.py class TwoQubitAsymmetricDepolarizingChannel (line 8) | class TwoQubitAsymmetricDepolarizingChannel(cirq.Gate): method __init__ (line 18) | def __init__(self, probabilities: Sequence[float]): method _num_qubits_ (line 25) | def _num_qubits_(self): method _value_equality_values_ (line 28) | def _value_equality_values_(self): method _has_mixture_ (line 31) | def _has_mixture_(self): method _dense_mixture_ (line 34) | def _dense_mixture_(self): method _mixture_ (line 44) | def _mixture_(self): method _circuit_diagram_info_ (line 47) | def _circuit_diagram_info_(self, args: cirq.CircuitDiagramInfoArgs): method _stim_conversion_ (line 53) | def _stim_conversion_(self, edit_circuit: stim.Circuit, targets: List[... method __repr__ (line 56) | def __repr__(self): method _json_namespace_ (line 60) | def _json_namespace_() -> str: method _json_dict_ (line 63) | def _json_dict_(self) -> Dict[str, Any]: FILE: glue/cirq/stimcirq/_two_qubit_asymmetric_depolarize_test.py function test_mixture (line 6) | def test_mixture(): function test_diagram (line 18) | def test_diagram(): function test_repr (line 33) | def test_repr(): function test_json_serialization (line 40) | def test_json_serialization(): function test_json_backwards_compat_exact (line 50) | def test_json_backwards_compat_exact(): function test_native_cirq_gate_converts (line 57) | def test_native_cirq_gate_converts(): FILE: glue/crumble/base/cooldown_throttle.js class CooldownThrottle (line 22) | class CooldownThrottle { method constructor (line 30) | constructor(action, cooldownMs, slowActionCooldownPumpUpFactor=0, wait... method _triggerIdle (line 52) | _triggerIdle() { method trigger (line 81) | trigger() { method _forceIdleTriggerAfter (line 104) | _forceIdleTriggerAfter(duration) { FILE: glue/crumble/base/describe.js constant COLLECTION_CUTOFF (line 17) | const COLLECTION_CUTOFF = 1000; constant BAD_TO_STRING_RESULT (line 18) | const BAD_TO_STRING_RESULT = new (function(){})().toString(); constant RECURSE_LIMIT_DESCRIPTION (line 19) | const RECURSE_LIMIT_DESCRIPTION = "!recursion-limit!"; constant DEFAULT_RECURSION_LIMIT (line 20) | const DEFAULT_RECURSION_LIMIT = 10; function try_describe_atomic (line 22) | function try_describe_atomic(value) { function try_describe_collection (line 37) | function try_describe_collection(value, recursionLimit) { function describe_fallback (line 52) | function describe_fallback(value, recursionLimit) { function describe (line 70) | function describe(value, recursionLimit = DEFAULT_RECURSION_LIMIT) { function describe_Map (line 81) | function describe_Map(map, limit) { function describe_Set (line 102) | function describe_Set(set, limit) { function describe_Iterable (line 119) | function describe_Iterable(seq, limit) { function describe_Object (line 137) | function describe_Object(value, limit) { FILE: glue/crumble/base/describe.test.js class DescribableClass (line 20) | class DescribableClass { method constructor (line 21) | constructor() { this.x = 1; } class DescribedClass (line 23) | class DescribedClass { method constructor (line 24) | constructor() { this.x = 1; } method toString (line 25) | toString() { return "described"; } class SomeIterable (line 27) | class SomeIterable { method constructor (line 28) | constructor() {} method [Symbol.iterator] (line 31) | [Symbol.iterator]() { FILE: glue/crumble/base/equate.js function equate (line 30) | function equate(subject, other) { constant GENERIC_ARRAY_TYPES (line 59) | const GENERIC_ARRAY_TYPES = [ function isExactlyNaN (line 75) | function isExactlyNaN(v) { function tryEquate_custom (line 84) | function tryEquate_custom(subject, other) { function isAtomic (line 98) | function isAtomic(value) { function isIndexable (line 110) | function isIndexable(value) { function eqType (line 119) | function eqType(subject, other) { function equate_Indexables (line 128) | function equate_Indexables(subject, other) { function equate_Iterables (line 145) | function equate_Iterables(subject, other) { function equate_Maps (line 161) | function equate_Maps(subject, other) { function equate_Sets (line 185) | function equate_Sets(subject, other) { function objectKeys (line 201) | function objectKeys(obj) { function equate_Objects (line 216) | function equate_Objects(subject, other) { FILE: glue/crumble/base/equate.test.js class EmptyClass (line 21) | class EmptyClass { method constructor (line 22) | constructor() { } class EmptyClass2 (line 24) | class EmptyClass2 { method constructor (line 25) | constructor() { } class PropClass (line 27) | class PropClass { method constructor (line 28) | constructor(v) { class SomeIterable (line 33) | class SomeIterable { method constructor (line 34) | constructor() {} method [Symbol.iterator] (line 37) | [Symbol.iterator]() { return [1, 2, 3][Symbol.iterator](); } class One (line 39) | class One { method constructor (line 40) | constructor() {} method isEqualTo (line 41) | isEqualTo(other) { class First (line 45) | class First { method constructor (line 46) | constructor(x, y) { method isEqualTo (line 50) | isEqualTo(other) { class Iter (line 54) | class Iter { method constructor (line 55) | constructor(items) { class Iter2 (line 59) | class Iter2 { method constructor (line 60) | constructor(items) { FILE: glue/crumble/base/history_pusher.js function shouldControlURL (line 20) | function shouldControlURL() { class HistoryPusher (line 31) | class HistoryPusher { method constructor (line 32) | constructor() { method currentStateIsMemorableButUnknown (line 51) | currentStateIsMemorableButUnknown() { method currentStateIsMemorableAndEqualTo (line 59) | currentStateIsMemorableAndEqualTo(stateObj) { method currentStateIsNotMemorable (line 67) | currentStateIsNotMemorable() { method stateChange (line 75) | stateChange(stateObj, stateUrlHash) { FILE: glue/crumble/base/obs.js class Observable (line 25) | class Observable { method constructor (line 30) | constructor(subscribe) { method subscribe (line 44) | subscribe(observer) { method of (line 53) | static of(...items) { method snapshot (line 67) | snapshot() { method map (line 79) | map(transformFunc) { method filter (line 88) | filter(predicate) { method zipLatest (line 98) | zipLatest(other, mergeFunc) { method requestAnimationTicker (line 126) | static requestAnimationTicker() { method flattenLatest (line 146) | flattenLatest() { method peek (line 171) | peek(action) { method flatten (line 180) | flatten() { method throttleLatest (line 199) | throttleLatest(cooldownMillis) { method elementEvent (line 224) | static elementEvent(element, eventKey) { method skip (line 237) | skip(count) { method whenDifferent (line 255) | whenDifferent(equater = undefined) { class ObservableSource (line 271) | class ObservableSource { method constructor (line 272) | constructor() { method observable (line 300) | observable() { method send (line 308) | send(eventValue) { class ObservableValue (line 315) | class ObservableValue { method constructor (line 320) | constructor(initialValue=undefined) { method observable (line 332) | observable() { method set (line 340) | set(newValue) { method get (line 349) | get() { FILE: glue/crumble/base/revision.js class Revision (line 24) | class Revision { method constructor (line 30) | constructor(history, index, isWorkingOnCommit) { method changes (line 53) | changes() { method latestActiveCommit (line 60) | latestActiveCommit() { method peekActiveCommit (line 68) | peekActiveCommit() { method startingAt (line 76) | static startingAt(state) { method isAtBeginningOfHistory (line 83) | isAtBeginningOfHistory() { method isAtEndOfHistory (line 90) | isAtEndOfHistory() { method clear (line 99) | clear(state) { method startedWorkingOnCommit (line 112) | startedWorkingOnCommit(newCheckpoint) { method cancelCommitBeingWorkedOn (line 122) | cancelCommitBeingWorkedOn() { method commit (line 135) | commit(newCheckpoint) { method undo (line 153) | undo() { method redo (line 171) | redo() { method toString (line 186) | toString() { method isEqualTo (line 200) | isEqualTo(other) { FILE: glue/crumble/base/seq.js function groupBy (line 8) | function groupBy(items, func) { FILE: glue/crumble/circuit/circuit.js function processTargetsTextIntoTargets (line 11) | function processTargetsTextIntoTargets(targetText) { function splitUncombinedTargets (line 39) | function splitUncombinedTargets(targets) { function simplifiedMPP (line 73) | function simplifiedMPP(tag, args, combinedTargets, convertIntoOtherGates) { function simplifiedSPP (line 112) | function simplifiedSPP(tag, args, dag, combinedTargets) { class Circuit (line 139) | class Circuit { method constructor (line 144) | constructor(qubitCoordData, layers = []) { method fromStimCircuit (line 162) | static fromStimCircuit(stimCircuit) { method allQubits (line 483) | allQubits() { method rotated45 (line 498) | rotated45() { method coordTransformForRectification (line 502) | coordTransformForRectification() { method afterRectification (line 547) | afterRectification() { method shifted (line 556) | shifted(dx, dy) { method copy (line 563) | copy() { method afterCoordTransform (line 571) | afterCoordTransform(coordTransform) { method collectDetectorsAndObservables (line 588) | collectDetectorsAndObservables(orderForToStimCircuit) { method toStimCircuit (line 669) | toStimCircuit() { method countMeasurements (line 836) | countMeasurements() { method withCoordsIncluded (line 847) | withCoordsIncluded(coords) { method coordToQubitMap (line 866) | coordToQubitMap() { method toString (line 879) | toString() { method isEqualTo (line 887) | isEqualTo(other) { FILE: glue/crumble/circuit/layer.js class Layer (line 5) | class Layer { method constructor (line 6) | constructor() { method toString (line 14) | toString() { method opsGroupedByNameWithArgs (line 33) | opsGroupedByNameWithArgs() { method copy (line 68) | copy() { method countMeasurements (line 78) | countMeasurements() { method hasDissipativeOperations (line 91) | hasDissipativeOperations() { method hasSingleQubitCliffords (line 114) | hasSingleQubitCliffords() { method hasResetOperations (line 140) | hasResetOperations() { method hasMeasurementOperations (line 160) | hasMeasurementOperations() { method empty (line 183) | empty() { method id_filtered (line 191) | id_filtered(predicate) { method id_filteredByQubit (line 210) | id_filteredByQubit(predicate) { method id_pauliFrameAfter (line 219) | id_pauliFrameAfter(before, marker_index) { method isEmpty (line 304) | isEmpty() { method id_pop_at (line 312) | id_pop_at(qubit) { method id_dropMarkersAt (line 328) | id_dropMarkersAt(q, index=undefined) { method put (line 344) | put(op, allow_overwrite=true) { method iter_gates_and_markers (line 370) | *iter_gates_and_markers() { function minXY (line 385) | function minXY(xys) { FILE: glue/crumble/circuit/operation.js function expandBase (line 7) | function expandBase(base) { class Operation (line 22) | class Operation { method constructor (line 29) | constructor(gate, tag, args, targets) { method toString (line 48) | toString() { method countMeasurements (line 55) | countMeasurements() { method pauliFrameAfter (line 72) | pauliFrameAfter(before) { method id_draw (line 151) | id_draw(qubitCoordsFunc, ctx) { FILE: glue/crumble/circuit/pauli_frame.js class PauliFrame (line 3) | class PauliFrame { method constructor (line 8) | constructor(num_frames, num_qubits) { method copy (line 22) | copy() { method to_dicts (line 36) | to_dicts(qubit_keys) { method from_strings (line 77) | static from_strings(strings) { method to_strings (line 125) | to_strings() { method from_dicts (line 145) | static from_dicts(dicts, qubit_keys) { method do_exchange_xz (line 168) | do_exchange_xz(targets) { method do_exchange_xy (line 180) | do_exchange_xy(targets) { method do_exchange_yz (line 189) | do_exchange_yz(targets) { method do_discard (line 198) | do_discard(targets) { method do_measure (line 211) | do_measure(observable, targets) { method do_mpp (line 238) | do_mpp(bases, targets) { method do_spp (line 266) | do_spp(bases, targets) { method do_demolition_measure (line 312) | do_demolition_measure(observable, targets) { method do_cycle_xyz (line 339) | do_cycle_xyz(targets) { method do_cycle_zyx (line 349) | do_cycle_zyx(targets) { method do_swap (line 359) | do_swap(targets) { method do_iswap (line 377) | do_iswap(targets) { method do_sqrt_xx (line 397) | do_sqrt_xx(targets) { method do_sqrt_yy (line 410) | do_sqrt_yy(targets) { method do_sqrt_zz (line 437) | do_sqrt_zz(targets) { method do_xcx (line 450) | do_xcx(targets) { method do_xcy (line 462) | do_xcy(targets) { method do_ycy (line 476) | do_ycy(targets) { method do_cx (line 492) | do_cx(targets) { method do_cx_swap (line 504) | do_cx_swap(targets) { method do_swap_cx (line 522) | do_swap_cx(targets) { method do_cz_swap (line 540) | do_cz_swap(targets) { method do_cy (line 558) | do_cy(targets) { method do_cz (line 572) | do_cz(targets) { method do_gate (line 585) | do_gate(gate, targets) { method undo_gate (line 593) | undo_gate(gate, targets) { method isEqualTo (line 601) | isEqualTo(other) { method toString (line 616) | toString() { FILE: glue/crumble/circuit/propagated_pauli_frames.js class PropagatedPauliFrameLayer (line 5) | class PropagatedPauliFrameLayer { method constructor (line 11) | constructor(bases, errors, crossings) { method touchesQidSet (line 21) | touchesQidSet(qids) { method mergedWith (line 39) | mergedWith(other) { method toString (line 50) | toString() { class PropagatedPauliFrames (line 78) | class PropagatedPauliFrames { method constructor (line 82) | constructor(layers) { method isEqualTo (line 90) | isEqualTo(other) { method toString (line 97) | toString() { method atLayer (line 112) | atLayer(layer) { method fromCircuit (line 125) | static fromCircuit(circuit, marker_index) { method fromMeasurements (line 188) | static fromMeasurements(circuit, measurements) { method batchFromMeasurements (line 197) | static batchFromMeasurements(circuit, batchMeasurements) { method batch32FromMeasurements (line 214) | static batch32FromMeasurements(circuit, batchMeasurements) { FILE: glue/crumble/draw/config.js constant OFFSET_X (line 3) | const OFFSET_X = -pitch + Math.floor(pitch / 4) + 0.5; constant OFFSET_Y (line 4) | const OFFSET_Y = -pitch + Math.floor(pitch / 4) + 0.5; FILE: glue/crumble/draw/draw_util.js function beginPathPolygon (line 7) | function beginPathPolygon(ctx, coords) { FILE: glue/crumble/draw/main_draw.js function xyToPos (line 13) | function xyToPos(x, y) { function drawCrossMarkers (line 36) | function drawCrossMarkers(ctx, snap, qubitCoordsFunc, propagatedMarkers,... function drawMarkers (line 64) | function drawMarkers(ctx, snap, qubitCoordsFunc, propagatedMarkerLayers) { function drawSingleMarker (line 80) | function drawSingleMarker(ctx, snap, qubitCoordsFunc, propagatedMarkers,... function setDefensiveDrawEnabled (line 170) | function setDefensiveDrawEnabled(val) { function defensiveDraw (line 178) | function defensiveDraw(ctx, body) { function draw (line 199) | function draw(ctx, snap) { FILE: glue/crumble/draw/state_snapshot.js class StateSnapshot (line 9) | class StateSnapshot { method constructor (line 21) | constructor(circuit, curLayer, focusedSet, timelineSet, curMouseX, cur... method id_usedQubits (line 40) | id_usedQubits() { method timelineQubits (line 47) | timelineQubits() { FILE: glue/crumble/draw/timeline_viewer.js constant TIMELINE_PITCH (line 5) | let TIMELINE_PITCH = 32; function drawTimelineMarkers (line 18) | function drawTimelineMarkers(ctx, ds, qubitTimeCoordFunc, propagatedMark... function drawTimeline (line 100) | function drawTimeline(ctx, snap, propagatedMarkerLayers, timesliceQubitC... FILE: glue/crumble/editor/editor_state.js function rotated45Transform (line 20) | function rotated45Transform(steps) { class EditorState (line 34) | class EditorState { method constructor (line 38) | constructor(canvas) { method flipTwoQubitGateOrderAtFocus (line 52) | flipTwoQubitGateOrderAtFocus(preview) { method reverseLayerOrderFromFocusToEmptyLayer (line 92) | reverseLayerOrderFromFocusToEmptyLayer(preview) { method copyOfCurCircuit (line 112) | copyOfCurCircuit() { method clearFocus (line 120) | clearFocus() { method deleteAtFocus (line 128) | deleteAtFocus(preview) { method deleteCurLayer (line 143) | deleteCurLayer(preview) { method insertLayer (line 152) | insertLayer(preview) { method undo (line 158) | undo() { method redo (line 162) | redo() { method commit_or_preview (line 170) | commit_or_preview(newCircuit, preview) { method commit (line 181) | commit(newCircuit) { method preview (line 191) | preview(newCircuit) { method toSnapshot (line 200) | toSnapshot(previewCircuit) { method force_redraw (line 217) | force_redraw() { method clearCircuit (line 222) | clearCircuit() { method clearMarkers (line 226) | clearMarkers() { method currentPositionsBoxesByMouseDrag (line 238) | currentPositionsBoxesByMouseDrag(parityLock) { method applyCoordinateTransform (line 281) | applyCoordinateTransform(coordTransform, preview, moveFocus) { method rotate45 (line 303) | rotate45(steps, preview) { method changeCurLayerTo (line 315) | changeCurLayerTo(newLayer) { method changeFocus (line 325) | changeFocus(newFocus, unionMode, xorMode) { method _inferBases (line 345) | _inferBases(affectedQubits) { method markFocusInferBasis (line 379) | markFocusInferBasis(preview, markIndex) { method unmarkFocusInferBasis (line 425) | unmarkFocusInferBasis(preview) { method _writeSingleQubitGateToFocus (line 452) | _writeSingleQubitGateToFocus(preview, gate, gate_args) { method _writeTwoQubitGateToFocus (line 471) | _writeTwoQubitGateToFocus(preview, gate, gate_args) { method _writeVariableQubitGateToFocus (line 514) | _writeVariableQubitGateToFocus(preview, gate, gate_args) { method writeGateToFocus (line 552) | writeGateToFocus(preview, gate, gate_args=undefined) { method writeMarkerToObservable (line 569) | writeMarkerToObservable(preview, marker_index) { method writeMarkerToDetector (line 573) | writeMarkerToDetector(preview, marker_index) { method _writeMarkerToDetOrObs (line 577) | _writeMarkerToDetOrObs(preview, marker_index, isDet) { method addDissipativeOverlapToMarkers (line 621) | addDissipativeOverlapToMarkers(preview, marker_index) { method moveDetOrObsAtFocusIntoMarker (line 712) | moveDetOrObsAtFocusIntoMarker(preview, marker_index) { FILE: glue/crumble/editor/sync_url_to_state.js function urlWithCircuitHash (line 24) | function urlWithCircuitHash(text) { function initUrlCircuitSync (line 42) | function initUrlCircuitSync(revision) { FILE: glue/crumble/gates/gate.js class Gate (line 13) | class Gate { method constructor (line 25) | constructor(name, method withDefaultArgument (line 48) | withDefaultArgument(newDefaultArgument) { FILE: glue/crumble/gates/gate_draw_util.js function draw_x_control (line 8) | function draw_x_control(ctx, x, y) { function draw_y_control (line 35) | function draw_y_control(ctx, x, y) { function draw_z_control (line 55) | function draw_z_control(ctx, x, y) { function draw_xswap_control (line 70) | function draw_xswap_control(ctx, x, y) { function draw_zswap_control (line 99) | function draw_zswap_control(ctx, x, y) { function draw_iswap_control (line 128) | function draw_iswap_control(ctx, x, y) { function draw_swap_control (line 157) | function draw_swap_control(ctx, x, y) { function stroke_degenerate_connector (line 177) | function stroke_degenerate_connector(ctx, x, y) { function stroke_connector_to (line 192) | function stroke_connector_to(ctx, x1, y1, x2, y2) { function draw_connector (line 228) | function draw_connector(ctx, x1, y1, x2, y2) { FILE: glue/crumble/gates/gateset.js function make_gate_map (line 33) | function make_gate_map() { function make_gate_alias_map (line 47) | function make_gate_alias_map() { constant GATE_MAP (line 91) | const GATE_MAP = /** @type {Map} */ make_gate_map(); constant GATE_ALIAS_MAP (line 92) | const GATE_ALIAS_MAP = /** @type {!Map targe... method JsCircuitInstruction (line 15) | JsCircuitInstruction(GateType gate_type, std::vector init_ta... function JsCircuitInstruction (line 25) | static JsCircuitInstruction args_to_targets(TableauSimulator targe... method JsCircuitInstruction (line 15) | JsCircuitInstruction(GateType gate_type, std::vector init_ta... function JsCircuitInstruction (line 38) | static JsCircuitInstruction safe_targets(TableauSimulator targe... method JsCircuitInstruction (line 15) | JsCircuitInstruction(GateType gate_type, std::vector init_ta... function JsCircuitInstruction (line 44) | static JsCircuitInstruction safe_targets(TableauSimulator targe... method JsCircuitInstruction (line 15) | JsCircuitInstruction(GateType gate_type, std::vector init_ta... function JsCircuitInstruction (line 53) | static JsCircuitInstruction args_to_target_pairs(TableauSimulator targe... method JsCircuitInstruction (line 15) | JsCircuitInstruction(GateType gate_type, std::vector init_ta... function ExposedTableau (line 128) | ExposedTableau ExposedTableauSimulator::current_inverse_tableau() const { function ExposedTableauSimulator (line 135) | ExposedTableauSimulator ExposedTableauSimulator::copy() const { function emscripten_bind_tableau_simulator (line 139) | void emscripten_bind_tableau_simulator() { FILE: glue/javascript/tableau_simulator.js.h type ExposedTableauSimulator (line 13) | struct ExposedTableauSimulator { FILE: glue/lattice_surgery/lassynth/lattice_surgery_synthesis.py function check_lasre (line 22) | def check_lasre(lasre: Mapping[str, Any]) -> None: class LatticeSurgerySolution (line 157) | class LatticeSurgerySolution: method __init__ (line 165) | def __init__( method get_depth (line 177) | def get_depth(self) -> int: method after_removing_disconnected_pieces (line 185) | def after_removing_disconnected_pieces(self): method after_color_k_pipes (line 189) | def after_color_k_pipes(self): method after_default_optimizations (line 193) | def after_default_optimizations(self): method after_t_factory_default_optimizations (line 199) | def after_t_factory_default_optimizations(self): method save_lasre (line 206) | def save_lasre(self, file_name: str) -> None: method to_3d_model_gltf (line 215) | def to_3d_model_gltf(self, method to_zigxag_url (line 251) | def to_zigxag_url( method to_text_diagram (line 269) | def to_text_diagram(self) -> str: method to_networkx_graph (line 277) | def to_networkx_graph(self) -> networkx.Graph: method verify_stabilizers_stimzx (line 285) | def verify_stabilizers_stimzx(self, class LatticeSurgerySynthesizer (line 314) | class LatticeSurgerySynthesizer: method __init__ (line 317) | def __init__( method solve (line 333) | def solve( method optimize_depth (line 393) | def optimize_depth( method try_one_permutation (line 473) | def try_one_permutation( method solve_all_port_permutations (line 535) | def solve_all_port_permutations( FILE: glue/lattice_surgery/lassynth/rewrite_passes/attach_fixups.py function attach_fixups (line 7) | def attach_fixups(lasre: Mapping[str, Any]) -> Mapping[str, Any]: FILE: glue/lattice_surgery/lassynth/rewrite_passes/color_z.py function if_uncolorK (line 6) | def if_uncolorK(n_i: int, n_j: int, n_k: int, function in_bound (line 20) | def in_bound(n_i: int, n_j: int, n_k: int, i: int, j: int, k: int) -> bool: function propogate_IJcolor (line 26) | def propogate_IJcolor(n_i: int, n_j: int, n_k: int, function propogate_Kcolor (line 67) | def propogate_Kcolor(n_i: int, n_j: int, n_k: int, function assign_Kcolor (line 112) | def assign_Kcolor(n_i: int, n_j: int, n_k: int, function color_ports (line 142) | def color_ports(ports: Sequence[Mapping[str, Union[str, int]]], function color_kp_km (line 153) | def color_kp_km( function color_z (line 189) | def color_z(lasre: Mapping[str, Any]) -> Mapping[str, Any]: FILE: glue/lattice_surgery/lassynth/rewrite_passes/remove_unconnected.py function check_cubes (line 8) | def check_cubes( function check_pipes (line 76) | def check_pipes( function array3DAnd (line 108) | def array3DAnd( function remove_unconnected (line 125) | def remove_unconnected(lasre: Mapping[str, Any]) -> Mapping[str, Any]: FILE: glue/lattice_surgery/lassynth/sat_synthesis/lattice_surgery_sat.py function var_given (line 12) | def var_given( function port_incident_pipes (line 55) | def port_incident_pipes( function cnf_even_parity_upto4 (line 151) | def cnf_even_parity_upto4(eles: Sequence[Any]) -> Any: class LatticeSurgerySAT (line 200) | class LatticeSurgerySAT: method __init__ (line 212) | def __init__( method process_input (line 238) | def process_input(self, input_dict: Mapping[str, Any]) -> None: method get_port_cubes (line 414) | def get_port_cubes(self) -> None: method derive_corr_boundary (line 429) | def derive_corr_boundary( method build_smt_model (line 507) | def build_smt_model( method define_vars (line 552) | def define_vars(self) -> None: method plugin_arrs (line 601) | def plugin_arrs(self, data: Mapping[str, Any]) -> None: method plugin_vals (line 687) | def plugin_vals(self, data_set: Sequence[Mapping[str, Any]]): method constraint_forbid_cube (line 775) | def constraint_forbid_cube(self) -> None: method constraint_port (line 790) | def constraint_port(self) -> None: method constraint_connect_outside (line 815) | def constraint_connect_outside(self) -> None: method constraint_timelike_y (line 834) | def constraint_timelike_y(self) -> None: method constraint_ij_color (line 863) | def constraint_ij_color(self) -> None: method constraint_3d_corner (line 987) | def constraint_3d_corner(self) -> None: method constraint_no_deg1 (line 1017) | def constraint_no_deg1(self) -> None: method constraint_corr_ports (line 1067) | def constraint_corr_ports(self) -> None: method constraint_corr_y (line 1081) | def constraint_corr_y(self) -> None: method constraint_corr_perp (line 1123) | def constraint_corr_perp(self) -> None: method constraint_corr_para (line 1357) | def constraint_corr_para(self) -> None: method check_z3 (line 1483) | def check_z3(self, print_progress: bool = True) -> bool: method check_kissat (line 1510) | def check_kissat( method write_cnf (line 1622) | def write_cnf(self, method read_kissat_result (line 1650) | def read_kissat_result(self, dimacs_file: str, method get_result (line 1754) | def get_result(self) -> Mapping[str, Any]: FILE: glue/lattice_surgery/lassynth/tools/verify_stabilizers.py function verify_stabilizers (line 6) | def verify_stabilizers( FILE: glue/lattice_surgery/lassynth/translators/gltf_generator.py function float_to_little_endian_hex (line 11) | def float_to_little_endian_hex(f): function hex_to_bin (line 23) | def hex_to_bin(s): function base_gen (line 31) | def base_gen( function axes_gen (line 1385) | def axes_gen(SEP: float, max_i: int, max_j: int, function tube_gen (line 1496) | def tube_gen(SEP: float, loc: Tuple[int, int, int], dir: str, color: int, function cube_gen (line 1725) | def cube_gen( function special_gen (line 2286) | def special_gen( function gltf_generator (line 2425) | def gltf_generator(lasre: Mapping[str, Any], FILE: glue/lattice_surgery/lassynth/translators/networkx_generator.py function networkx_generator (line 9) | def networkx_generator(lasre: Mapping[str, Any]) -> networkx.Graph: FILE: glue/lattice_surgery/lassynth/translators/textfig_generator.py class TextLayer (line 6) | class TextLayer: method __init__ (line 12) | def __init__(self, zx_graph: ZXGridGraph, k: int, if_middle: bool) -> ... method set_char (line 28) | def set_char(self, j: int, i: int, character): method compute_normal (line 31) | def compute_normal(self, zx_graph: ZXGridGraph, k: int): method compute_middle (line 109) | def compute_middle(self, zx_graph: ZXGridGraph, k: int): method get_text (line 198) | def get_text(self): function textfig_generator (line 209) | def textfig_generator(lasre: dict): FILE: glue/lattice_surgery/lassynth/translators/zx_grid_graph.py class ZXGridNode (line 8) | class ZXGridNode: method __init__ (line 10) | def __init__(self, coord3: Tuple[int, int, int], method compute_type (line 36) | def compute_type(self) -> None: method zigxag_xy (line 90) | def zigxag_xy(self, n_j: int) -> Tuple[int, int]: method zigxag_str (line 93) | def zigxag_str(self, n_j: int) -> str: class ZXGridEdge (line 107) | class ZXGridEdge: method __init__ (line 109) | def __init__(self, if_h: bool, node0: ZXGridNode, method zigxag_str (line 132) | def zigxag_str(self, n_j: int) -> str: class ZXGridGraph (line 139) | class ZXGridGraph: method __init__ (line 141) | def __init__(self, lasre: Mapping[str, Any]) -> None: method gather_cube_connectivity (line 158) | def gather_cube_connectivity(self, i: int, j: int, method append_y_tails (line 193) | def append_y_tails(self) -> None: method derive_edges (line 205) | def derive_edges(self): method to_zigxag_url (line 235) | def to_zigxag_url(self, io_spec: Optional[Sequence[str]] = None) -> str: FILE: glue/lattice_surgery/stimzx/_external_stabilizer.py class ExternalStabilizer (line 6) | class ExternalStabilizer: method __init__ (line 9) | def __init__(self, *, input: stim.PauliString, output: stim.PauliString): method from_dual (line 14) | def from_dual(dual: stim.PauliString, num_inputs: int) -> 'ExternalSta... method canonicals_from_duals (line 28) | def canonicals_from_duals(duals: List[stim.PauliString], num_inputs: i... method __mul__ (line 55) | def __mul__(self, other: 'ExternalStabilizer') -> 'ExternalStabilizer': method __str__ (line 58) | def __str__(self) -> str: method __eq__ (line 61) | def __eq__(self, other: Any) -> bool: method __ne__ (line 66) | def __ne__(self, other: Any) -> bool: method __repr__ (line 69) | def __repr__(self): function _eliminate_stabilizers (line 73) | def _eliminate_stabilizers(stabilizers: List[stim.PauliString], eliminat... FILE: glue/lattice_surgery/stimzx/_external_stabilizer_test.py function test_repr (line 5) | def test_repr(): FILE: glue/lattice_surgery/stimzx/_text_diagram_parsing.py function text_diagram_to_networkx_graph (line 9) | def text_diagram_to_networkx_graph(text_diagram: str, *, value_func: Cal... function _text_to_char_map (line 62) | def _text_to_char_map(text: str) -> Dict[complex, str]: function _find_all_edges (line 96) | def _find_all_edges(char_map: Dict[complex, str], terminal_map: Dict[com... function _find_end_of_edge (line 114) | def _find_end_of_edge(xy: complex, dxy: complex, char_map: Dict[complex,... function _find_nodes (line 143) | def _find_nodes(char_map: Dict[complex, str], value_func: Callable[[str]... FILE: glue/lattice_surgery/stimzx/_text_diagram_parsing_test.py function test_text_to_char_map (line 6) | def test_text_to_char_map(): function test_find_nodes (line 24) | def test_find_nodes(): function test_find_end_of_edge (line 85) | def test_find_end_of_edge(): function test_find_all_edges (line 101) | def test_find_all_edges(): function test_from_text_diagram (line 115) | def test_from_text_diagram(): FILE: glue/lattice_surgery/stimzx/_zx_graph_solver.py class ZxType (line 9) | class ZxType: method __init__ (line 12) | def __init__(self, kind: str, quarter_turns: int = 0): method __eq__ (line 16) | def __eq__(self, other): method __ne__ (line 21) | def __ne__(self, other): method __hash__ (line 24) | def __hash__(self): method __repr__ (line 27) | def __repr__(self): function text_diagram_to_zx_graph (line 46) | def text_diagram_to_zx_graph(text_diagram: str) -> nx.MultiGraph: function _reduced_zx_graph (line 94) | def _reduced_zx_graph(graph: Union[nx.Graph, nx.MultiGraph]) -> nx.Graph: function zx_graph_to_external_stabilizers (line 109) | def zx_graph_to_external_stabilizers(graph: Union[nx.Graph, nx.MultiGrap... function _pseudo_postselect (line 188) | def _pseudo_postselect(sim: stim.TableauSimulator, target: int): FILE: glue/lattice_surgery/stimzx/_zx_graph_solver_test.py function test_disconnected (line 8) | def test_disconnected(): function test_cnot (line 33) | def test_cnot(): function test_cz (line 47) | def test_cz(): function test_s (line 57) | def test_s(): function test_s_dag (line 63) | def test_s_dag(): function test_sqrt_x (line 69) | def test_sqrt_x(): function test_sqrt_x_sqrt_x (line 75) | def test_sqrt_x_sqrt_x(): function test_sqrt_z_sqrt_z (line 81) | def test_sqrt_z_sqrt_z(): function test_sqrt_x_dag (line 87) | def test_sqrt_x_dag(): function test_x (line 93) | def test_x(): function test_z (line 99) | def test_z(): function test_id (line 105) | def test_id(): function test_s_state_distill (line 111) | def test_s_state_distill(): function external_stabilizers_of_circuit (line 125) | def external_stabilizers_of_circuit(circuit: stim.Circuit) -> List[Exter... FILE: glue/python/src/stim/__init__.py function _pytest_pycharm_pybind_repr_bug_workaround (line 30) | def _pytest_pycharm_pybind_repr_bug_workaround(cls): FILE: glue/python/src/stim/__init__.pyi class Circuit (line 10) | class Circuit: method __add__ (line 44) | def __add__( method __eq__ (line 66) | def __eq__( method __getitem__ (line 73) | def __getitem__( method __getitem__ (line 79) | def __getitem__( method __getitem__ (line 84) | def __getitem__( method __iadd__ (line 126) | def __iadd__( method __imul__ (line 149) | def __imul__( method __init__ (line 176) | def __init__( method __len__ (line 195) | def __len__( method __mul__ (line 222) | def __mul__( method __ne__ (line 253) | def __ne__( method __repr__ (line 259) | def __repr__( method __rmul__ (line 264) | def __rmul__( method __str__ (line 295) | def __str__( method append (line 301) | def append( method append (line 311) | def append( method append (line 316) | def append( method append_from_stim_program_text (line 381) | def append_from_stim_program_text( method append_operation (line 407) | def append_operation( method approx_equals (line 417) | def approx_equals( method clear (line 474) | def clear( method compile_detector_sampler (line 489) | def compile_detector_sampler( method compile_m2d_converter (line 534) | def compile_m2d_converter( method compile_sampler (line 578) | def compile_sampler( method copy (line 650) | def copy( method count_determined_measurements (line 665) | def count_determined_measurements( method decomposed (line 762) | def decomposed( method detecting_regions (line 827) | def detecting_regions( method detector_error_model (line 955) | def detector_error_model( method diagram (line 1050) | def diagram( method explain_detector_error_model_errors (line 1179) | def explain_detector_error_model_errors( method flattened (line 1235) | def flattened( method flattened_operations (line 1273) | def flattened_operations( method flow_generators (line 1298) | def flow_generators( method from_file (line 1350) | def from_file( method generated (line 1390) | def generated( method get_detector_coordinates (line 1488) | def get_detector_coordinates( method get_final_qubit_coordinates (line 1522) | def get_final_qubit_coordinates( method has_all_flows (line 1543) | def has_all_flows( method has_flow (line 1598) | def has_flow( method insert (line 1718) | def insert( method inverse (line 1767) | def inverse( method likeliest_error_sat_problem (line 1818) | def likeliest_error_sat_problem( method missing_detectors (line 1898) | def missing_detectors( method num_detectors (line 1958) | def num_detectors( method num_measurements (line 1978) | def num_measurements( method num_observables (line 1995) | def num_observables( method num_qubits (line 2014) | def num_qubits( method num_sweep_bits (line 2036) | def num_sweep_bits( method num_ticks (line 2056) | def num_ticks( method pop (line 2095) | def pop( method reference_detector_and_observable_signs (line 2128) | def reference_detector_and_observable_signs( method reference_sample (line 2176) | def reference_sample( method search_for_undetectable_logical_errors (line 2208) | def search_for_undetectable_logical_errors( method shortest_error_sat_problem (line 2301) | def shortest_error_sat_problem( method shortest_graphlike_error (line 2368) | def shortest_graphlike_error( method solve_flow_measurements (line 2438) | def solve_flow_measurements( method time_reversed_for_flows (line 2529) | def time_reversed_for_flows( method to_crumble_url (line 2732) | def to_crumble_url( method to_file (line 2777) | def to_file( method to_qasm (line 2811) | def to_qasm( method to_quirk_url (line 2871) | def to_quirk_url( method to_tableau (line 2897) | def to_tableau( method with_inlined_feedback (line 2949) | def with_inlined_feedback( method without_noise (line 3003) | def without_noise( method without_tags (line 3030) | def without_tags( class CircuitErrorLocation (line 3050) | class CircuitErrorLocation: method __init__ (line 3073) | def __init__( method flipped_measurement (line 3130) | def flipped_measurement( method flipped_pauli_product (line 3151) | def flipped_pauli_product( method instruction_targets (line 3170) | def instruction_targets( method noise_tag (line 3197) | def noise_tag( method stack_frames (line 3214) | def stack_frames( method tick_offset (line 3239) | def tick_offset( class CircuitErrorLocationStackFrame (line 3260) | class CircuitErrorLocationStackFrame: method __init__ (line 3292) | def __init__( method instruction_offset (line 3310) | def instruction_offset( method instruction_repetitions_arg (line 3332) | def instruction_repetitions_arg( method iteration_index (line 3357) | def iteration_index( class CircuitInstruction (line 3381) | class CircuitInstruction: method __eq__ (line 3398) | def __eq__( method __init__ (line 3404) | def __init__( method __ne__ (line 3442) | def __ne__( method __repr__ (line 3448) | def __repr__( method __str__ (line 3453) | def __str__( method gate_args_copy (line 3458) | def gate_args_copy( method name (line 3479) | def name( method num_measurements (line 3485) | def num_measurements( method tag (line 3506) | def tag( method target_groups (line 3521) | def target_groups( method targets_copy (line 3560) | def targets_copy( class CircuitRepeatBlock (line 3576) | class CircuitRepeatBlock: method __eq__ (line 3597) | def __eq__( method __init__ (line 3603) | def __init__( method __ne__ (line 3628) | def __ne__( method __repr__ (line 3634) | def __repr__( method body_copy (line 3639) | def body_copy( method name (line 3664) | def name( method num_measurements (line 3686) | def num_measurements( method repeat_count (line 3700) | def repeat_count( method tag (line 3719) | def tag( class CircuitTargetsInsideInstruction (line 3744) | class CircuitTargetsInsideInstruction: method __init__ (line 3747) | def __init__( method args (line 3771) | def args( method gate (line 3790) | def gate( method tag (line 3809) | def tag( method target_range_end (line 3828) | def target_range_end( method target_range_start (line 3850) | def target_range_start( method targets_in_range (line 3872) | def targets_in_range( class CliffordString (line 3892) | class CliffordString: method __add__ (line 3903) | def __add__( method __eq__ (line 3920) | def __eq__( method __getitem__ (line 3927) | def __getitem__( method __getitem__ (line 3933) | def __getitem__( method __getitem__ (line 3938) | def __getitem__( method __iadd__ (line 3968) | def __iadd__( method __imul__ (line 3988) | def __imul__( method __init__ (line 4022) | def __init__( method __ipow__ (line 4070) | def __ipow__( method __len__ (line 4100) | def __len__( method __mul__ (line 4110) | def __mul__( method __ne__ (line 4131) | def __ne__( method __pow__ (line 4137) | def __pow__( method __repr__ (line 4173) | def __repr__( method __rmul__ (line 4178) | def __rmul__( method __setitem__ (line 4202) | def __setitem__( method __str__ (line 4259) | def __str__( method all_cliffords_string (line 4265) | def all_cliffords_string( method copy (line 4286) | def copy( method random (line 4306) | def random( method x_outputs (line 4323) | def x_outputs( method y_outputs (line 4365) | def y_outputs( method z_outputs (line 4404) | def z_outputs( class CompiledDemSampler (line 4446) | class CompiledDemSampler: method sample (line 4475) | def sample( method sample_write (line 4625) | def sample_write( class CompiledDetectorSampler (line 4703) | class CompiledDetectorSampler: method __init__ (line 4706) | def __init__( method __repr__ (line 4757) | def __repr__( method sample (line 4762) | def sample( method sample_bit_packed (line 4857) | def sample_bit_packed( method sample_write (line 4885) | def sample_write( class CompiledMeasurementSampler (line 4941) | class CompiledMeasurementSampler: method __init__ (line 4944) | def __init__( method __repr__ (line 5022) | def __repr__( method sample (line 5027) | def sample( method sample_bit_packed (line 5064) | def sample_bit_packed( method sample_write (line 5092) | def sample_write( class CompiledMeasurementsToDetectionEventsConverter (line 5129) | class CompiledMeasurementsToDetectionEventsConverter: method __init__ (line 5132) | def __init__( method __repr__ (line 5175) | def __repr__( method convert (line 5181) | def convert( method convert (line 5191) | def convert( method convert (line 5201) | def convert( method convert_file (line 5285) | def convert_file( class DemInstruction (line 5351) | class DemInstruction: method __eq__ (line 5367) | def __eq__( method __init__ (line 5373) | def __init__( method __ne__ (line 5407) | def __ne__( method __repr__ (line 5413) | def __repr__( method __str__ (line 5418) | def __str__( method args_copy (line 5423) | def args_copy( method tag (line 5446) | def tag( method target_groups (line 5462) | def target_groups( method targets_copy (line 5491) | def targets_copy( method type (line 5513) | def type( class DemRepeatBlock (line 5518) | class DemRepeatBlock: method __eq__ (line 5535) | def __eq__( method __init__ (line 5541) | def __init__( method __ne__ (line 5561) | def __ne__( method __repr__ (line 5567) | def __repr__( method body_copy (line 5572) | def body_copy( method repeat_count (line 5590) | def repeat_count( method type (line 5596) | def type( class DemTarget (line 5618) | class DemTarget: method __eq__ (line 5621) | def __eq__( method __init__ (line 5627) | def __init__( method __ne__ (line 5647) | def __ne__( method __repr__ (line 5653) | def __repr__( method __str__ (line 5658) | def __str__( method is_logical_observable_id (line 5663) | def is_logical_observable_id( method is_relative_detector_id (line 5680) | def is_relative_detector_id( method is_separator (line 5697) | def is_separator( method logical_observable_id (line 5715) | def logical_observable_id( method relative_detector_id (line 5738) | def relative_detector_id( method separator (line 5761) | def separator( method val (line 5779) | def val( class DemTargetWithCoords (line 5791) | class DemTargetWithCoords: method __init__ (line 5815) | def __init__( method coords (line 5835) | def coords( method dem_target (line 5855) | def dem_target( class DetectorErrorModel (line 5872) | class DetectorErrorModel: method __add__ (line 5933) | def __add__( method __eq__ (line 5953) | def __eq__( method __getitem__ (line 5960) | def __getitem__( method __getitem__ (line 5966) | def __getitem__( method __getitem__ (line 5971) | def __getitem__( method __iadd__ (line 6009) | def __iadd__( method __imul__ (line 6030) | def __imul__( method __init__ (line 6055) | def __init__( method __len__ (line 6072) | def __len__( method __mul__ (line 6097) | def __mul__( method __ne__ (line 6128) | def __ne__( method __repr__ (line 6134) | def __repr__( method __rmul__ (line 6139) | def __rmul__( method __str__ (line 6170) | def __str__( method append (line 6175) | def append( method approx_equals (line 6244) | def approx_equals( method clear (line 6296) | def clear( method compile_sampler (line 6310) | def compile_sampler( method copy (line 6372) | def copy( method diagram (line 6389) | def diagram( method flattened (line 6443) | def flattened( method from_file (line 6474) | def from_file( method get_detector_coordinates (line 6513) | def get_detector_coordinates( method num_detectors (line 6543) | def num_detectors( method num_errors (line 6577) | def num_errors( method num_observables (line 6599) | def num_observables( method rounded (line 6623) | def rounded( method shortest_graphlike_error (line 6659) | def shortest_graphlike_error( method to_file (line 6748) | def to_file( method without_tags (line 6782) | def without_tags( class ExplainedError (line 6800) | class ExplainedError: method __init__ (line 6825) | def __init__( method circuit_error_locations (line 6856) | def circuit_error_locations( method dem_error_terms (line 6889) | def dem_error_terms( class FlipSimulator (line 6894) | class FlipSimulator: method __init__ (line 6907) | def __init__( method append_measurement_flips (line 6997) | def append_measurement_flips( method batch_size (line 7071) | def batch_size( method broadcast_pauli_errors (line 7085) | def broadcast_pauli_errors( method clear (line 7137) | def clear( method copy (line 7166) | def copy( method do (line 7236) | def do( method generate_bernoulli_samples (line 7273) | def generate_bernoulli_samples( method get_detector_flips (line 7336) | def get_detector_flips( method get_measurement_flips (line 7404) | def get_measurement_flips( method get_observable_flips (line 7473) | def get_observable_flips( method num_detectors (line 7542) | def num_detectors( method num_measurements (line 7560) | def num_measurements( method num_observables (line 7575) | def num_observables( method num_qubits (line 7593) | def num_qubits( method peek_pauli_flips (line 7611) | def peek_pauli_flips( method peek_pauli_flips (line 7616) | def peek_pauli_flips( method peek_pauli_flips (line 7622) | def peek_pauli_flips( method set_pauli_flip (line 7672) | def set_pauli_flip( method to_numpy (line 7701) | def to_numpy( class FlippedMeasurement (line 7853) | class FlippedMeasurement: method __init__ (line 7871) | def __init__( method observable (line 7890) | def observable( method record_index (line 7907) | def record_index( class Flow (line 7923) | class Flow: method __eq__ (line 7963) | def __eq__( method __init__ (line 7969) | def __init__( method __mul__ (line 8030) | def __mul__( method __ne__ (line 8057) | def __ne__( method __repr__ (line 8063) | def __repr__( method __str__ (line 8068) | def __str__( method included_observables_copy (line 8073) | def included_observables_copy( method input_copy (line 8097) | def input_copy( method measurements_copy (line 8111) | def measurements_copy( method output_copy (line 8125) | def output_copy( class GateData (line 8139) | class GateData: method __eq__ (line 8158) | def __eq__( method __init__ (line 8164) | def __init__( method __ne__ (line 8175) | def __ne__( method __repr__ (line 8181) | def __repr__( method __str__ (line 8186) | def __str__( method aliases (line 8192) | def aliases( method flows (line 8208) | def flows( method generalized_inverse (line 8245) | def generalized_inverse( method hadamard_conjugated (line 8289) | def hadamard_conjugated( method inverse (line 8344) | def inverse( method is_noisy_gate (line 8384) | def is_noisy_gate( method is_reset (line 8417) | def is_reset( method is_single_qubit_gate (line 8454) | def is_single_qubit_gate( method is_symmetric_gate (line 8492) | def is_symmetric_gate( method is_two_qubit_gate (line 8541) | def is_two_qubit_gate( method is_unitary (line 8579) | def is_unitary( method name (line 8608) | def name( method num_parens_arguments_range (line 8621) | def num_parens_arguments_range( method produces_measurements (line 8649) | def produces_measurements( method tableau (line 8682) | def tableau( method takes_measurement_record_targets (line 8713) | def takes_measurement_record_targets( method takes_pauli_targets (line 8749) | def takes_pauli_targets( method unitary_matrix (line 8783) | def unitary_matrix( class GateTarget (line 8804) | class GateTarget: method __eq__ (line 8817) | def __eq__( method __init__ (line 8823) | def __init__( method __ne__ (line 8846) | def __ne__( method __repr__ (line 8852) | def __repr__( method is_combiner (line 8858) | def is_combiner( method is_inverted_result_target (line 8883) | def is_inverted_result_target( method is_measurement_record_target (line 8908) | def is_measurement_record_target( method is_qubit_target (line 8931) | def is_qubit_target( method is_sweep_bit_target (line 8954) | def is_sweep_bit_target( method is_x_target (line 8977) | def is_x_target( method is_y_target (line 9000) | def is_y_target( method is_z_target (line 9023) | def is_z_target( method pauli_type (line 9046) | def pauli_type( method qubit_value (line 9071) | def qubit_value( method value (line 9094) | def value( class GateTargetWithCoords (line 9119) | class GateTargetWithCoords: method __init__ (line 9139) | def __init__( method coords (line 9155) | def coords( method gate_target (line 9169) | def gate_target( class PauliString (line 9180) | class PauliString: method __add__ (line 9193) | def __add__( method __eq__ (line 9216) | def __eq__( method __getitem__ (line 9223) | def __getitem__( method __getitem__ (line 9229) | def __getitem__( method __getitem__ (line 9234) | def __getitem__( method __iadd__ (line 9265) | def __iadd__( method __imul__ (line 9291) | def __imul__( method __init__ (line 9335) | def __init__( method __itruediv__ (line 9404) | def __itruediv__( method __len__ (line 9427) | def __len__( method __mul__ (line 9439) | def __mul__( method __ne__ (line 9491) | def __ne__( method __neg__ (line 9497) | def __neg__( method __pos__ (line 9511) | def __pos__( method __repr__ (line 9525) | def __repr__( method __rmul__ (line 9530) | def __rmul__( method __setitem__ (line 9581) | def __setitem__( method __str__ (line 9613) | def __str__( method __truediv__ (line 9618) | def __truediv__( method after (line 9640) | def after( method after (line 9646) | def after( method after (line 9652) | def after( method before (line 9688) | def before( method before (line 9694) | def before( method before (line 9700) | def before( method commutes (line 9735) | def commutes( method copy (line 9768) | def copy( method extended_product (line 9784) | def extended_product( method from_numpy (line 9791) | def from_numpy( method from_unitary_matrix (line 9841) | def from_unitary_matrix( method iter_all (line 9894) | def iter_all( method pauli_indices (line 9948) | def pauli_indices( method random (line 9986) | def random( method sign (line 10017) | def sign( method sign (line 10034) | def sign(self, value: complex): method to_numpy (line 10036) | def to_numpy( method to_tableau (line 10088) | def to_tableau( method to_unitary_matrix (line 10131) | def to_unitary_matrix( method weight (line 10158) | def weight( class PauliStringIterator (line 10174) | class PauliStringIterator: method __iter__ (line 10192) | def __iter__( method __next__ (line 10201) | def __next__( class Tableau (line 10206) | class Tableau: method __add__ (line 10239) | def __add__( method __call__ (line 10263) | def __call__( method __eq__ (line 10295) | def __eq__( method __iadd__ (line 10301) | def __iadd__( method __init__ (line 10329) | def __init__( method __len__ (line 10348) | def __len__( method __mul__ (line 10359) | def __mul__( method __ne__ (line 10381) | def __ne__( method __pow__ (line 10387) | def __pow__( method __repr__ (line 10417) | def __repr__( method __str__ (line 10422) | def __str__( method append (line 10427) | def append( method copy (line 10450) | def copy( method from_circuit (line 10465) | def from_circuit( method from_conjugated_generators (line 10519) | def from_conjugated_generators( method from_named_gate (line 10557) | def from_named_gate( method from_numpy (line 10584) | def from_numpy( method from_stabilizers (line 10683) | def from_stabilizers( method from_state_vector (line 10766) | def from_state_vector( method from_unitary_matrix (line 10827) | def from_unitary_matrix( method inverse (line 10882) | def inverse( method inverse_x_output (line 10948) | def inverse_x_output( method inverse_x_output_pauli (line 10982) | def inverse_x_output_pauli( method inverse_y_output (line 11018) | def inverse_y_output( method inverse_y_output_pauli (line 11052) | def inverse_y_output_pauli( method inverse_z_output (line 11088) | def inverse_z_output( method inverse_z_output_pauli (line 11124) | def inverse_z_output_pauli( method iter_all (line 11161) | def iter_all( method prepend (line 11192) | def prepend( method random (line 11213) | def random( method then (line 11233) | def then( method to_circuit (line 11257) | def to_circuit( method to_numpy (line 11382) | def to_numpy( method to_pauli_string (line 11544) | def to_pauli_string( method to_stabilizers (line 11574) | def to_stabilizers( method to_state_vector (line 11623) | def to_state_vector( method to_unitary_matrix (line 11675) | def to_unitary_matrix( method x_output (line 11720) | def x_output( method x_output_pauli (line 11741) | def x_output_pauli( method x_sign (line 11777) | def x_sign( method y_output (line 11795) | def y_output( method y_output_pauli (line 11816) | def y_output_pauli( method y_sign (line 11852) | def y_sign( method z_output (line 11872) | def z_output( method z_output_pauli (line 11893) | def z_output_pauli( method z_sign (line 11929) | def z_sign( class TableauIterator (line 11947) | class TableauIterator: method __iter__ (line 11959) | def __iter__( method __next__ (line 11968) | def __next__( class TableauSimulator (line 11973) | class TableauSimulator: method __init__ (line 12003) | def __init__( method c_xyz (line 12050) | def c_xyz( method c_zyx (line 12071) | def c_zyx( method canonical_stabilizers (line 12092) | def canonical_stabilizers( method cnot (line 12141) | def cnot( method copy (line 12164) | def copy( method current_inverse_tableau (line 12238) | def current_inverse_tableau( method current_measurement_record (line 12272) | def current_measurement_record( method cx (line 12297) | def cx( method cy (line 12320) | def cy( method cz (line 12343) | def cz( method depolarize1 (line 12366) | def depolarize1( method depolarize2 (line 12383) | def depolarize2( method do (line 12402) | def do( method do_circuit (line 12428) | def do_circuit( method do_pauli_string (line 12447) | def do_pauli_string( method do_tableau (line 12463) | def do_tableau( method h (line 12505) | def h( method h_xy (line 12526) | def h_xy( method h_xz (line 12547) | def h_xz( method h_yz (line 12568) | def h_yz( method iswap (line 12589) | def iswap( method iswap_dag (line 12612) | def iswap_dag( method measure (line 12635) | def measure( method measure_kickback (line 12662) | def measure_kickback( method measure_many (line 12717) | def measure_many( method measure_observable (line 12736) | def measure_observable( method num_qubits (line 12774) | def num_qubits( method peek_bloch (line 12792) | def peek_bloch( method peek_observable_expectation (line 12838) | def peek_observable_expectation( method peek_x (line 12884) | def peek_x( method peek_y (line 12917) | def peek_y( method peek_z (line 12950) | def peek_z( method postselect_observable (line 12983) | def postselect_observable( method postselect_x (line 13016) | def postselect_x( method postselect_y (line 13055) | def postselect_y( method postselect_z (line 13094) | def postselect_z( method reset (line 13134) | def reset( method reset_x (line 13151) | def reset_x( method reset_y (line 13167) | def reset_y( method reset_z (line 13183) | def reset_z( method s (line 13200) | def s( method s_dag (line 13221) | def s_dag( method set_inverse_tableau (line 13242) | def set_inverse_tableau( method set_num_qubits (line 13269) | def set_num_qubits( method set_state_from_stabilizers (line 13306) | def set_state_from_stabilizers( method set_state_from_state_vector (line 13396) | def set_state_from_state_vector( method sqrt_x (line 13459) | def sqrt_x( method sqrt_x_dag (line 13480) | def sqrt_x_dag( method sqrt_y (line 13501) | def sqrt_y( method sqrt_y_dag (line 13522) | def sqrt_y_dag( method state_vector (line 13543) | def state_vector( method swap (line 13594) | def swap( method x (line 13617) | def x( method x_error (line 13638) | def x_error( method xcx (line 13655) | def xcx( method xcy (line 13678) | def xcy( method xcz (line 13701) | def xcz( method y (line 13724) | def y( method y_error (line 13745) | def y_error( method ycx (line 13762) | def ycx( method ycy (line 13785) | def ycy( method ycz (line 13808) | def ycz( method z (line 13831) | def z( method z_error (line 13852) | def z_error( method zcx (line 13869) | def zcx( method zcy (line 13892) | def zcy( method zcz (line 13915) | def zcz( function gate_data (line 13939) | def gate_data( function gate_data (line 13944) | def gate_data( function gate_data (line 13947) | def gate_data( function main (line 13964) | def main( function read_shot_data_file (line 14038) | def read_shot_data_file( function read_shot_data_file (line 14049) | def read_shot_data_file( function read_shot_data_file (line 14060) | def read_shot_data_file( function target_combined_paulis (line 14140) | def target_combined_paulis( function target_combiner (line 14167) | def target_combiner( function target_inv (line 14186) | def target_inv( function target_logical_observable_id (line 14208) | def target_logical_observable_id( function target_pauli (line 14230) | def target_pauli( function target_rec (line 14269) | def target_rec( function target_relative_detector_id (line 14296) | def target_relative_detector_id( function target_separator (line 14318) | def target_separator( function target_sweep_bit (line 14335) | def target_sweep_bit( function target_x (line 14352) | def target_x( function target_y (line 14378) | def target_y( function target_z (line 14404) | def target_z( function write_shot_data_file (line 14430) | def write_shot_data_file( FILE: glue/python/src/stim/_main_argv.py function main_argv (line 6) | def main_argv(): FILE: glue/sample/src/sinter/_collection/_collection.py class Progress (line 19) | class Progress: function iter_collect (line 36) | def iter_collect(*, function collect (line 245) | def collect(*, function post_selection_mask_from_predicate (line 434) | def post_selection_mask_from_predicate( function post_selection_mask_from_4th_coord (line 448) | def post_selection_mask_from_4th_coord(dem: Union[stim.Circuit, stim.Det... FILE: glue/sample/src/sinter/_collection/_collection_manager.py class _ManagedWorkerState (line 21) | class _ManagedWorkerState: method __init__ (line 22) | def __init__(self, worker_id: int, *, cpu_pin: Optional[int] = None): method send_message (line 34) | def send_message(self, message: Any): method ask_to_return_all_shots (line 37) | def ask_to_return_all_shots(self): method has_returned_all_shots (line 48) | def has_returned_all_shots(self) -> bool: method is_available_to_reassign (line 51) | def is_available_to_reassign(self) -> bool: class _ManagedTaskState (line 55) | class _ManagedTaskState: method __init__ (line 56) | def __init__(self, *, partial_task: Task, strong_id: str, shots_left: ... method is_completed (line 66) | def is_completed(self) -> bool: class CollectionManager (line 70) | class CollectionManager: method __init__ (line 71) | def __init__( method __enter__ (line 118) | def __enter__(self): method __exit__ (line 123) | def __exit__(self, exc_type, exc_val, exc_tb): method start_workers (line 129) | def start_workers(self, *, actually_start_worker_processes: bool = True): method start_distributing_work (line 187) | def start_distributing_work(self): method _compute_task_ids (line 191) | def _compute_task_ids(self): method hard_stop (line 251) | def hard_stop(self): method _handle_task_progress (line 274) | def _handle_task_progress(self, task_id: Any): method state_summary (line 296) | def state_summary(self) -> str: method process_message (line 312) | def process_message(self) -> bool: method run_until_done (line 392) | def run_until_done(self) -> bool: method _distribute_unassigned_workers_to_jobs (line 404) | def _distribute_unassigned_workers_to_jobs(self): method _distribute_unassigned_work_to_workers_within_a_job (line 439) | def _distribute_unassigned_work_to_workers_within_a_job(self, task_sta... method status_message (line 460) | def status_message(self) -> str: method _update_soft_error_threshold_for_a_job (line 533) | def _update_soft_error_threshold_for_a_job(self, task_state: _ManagedT... method _take_work_if_unsatisfied_workers_within_a_job (line 546) | def _take_work_if_unsatisfied_workers_within_a_job(self, task_state: _... method _distribute_work_within_a_job (line 573) | def _distribute_work_within_a_job(self, t: _ManagedTaskState): method _distribute_work (line 577) | def _distribute_work(self): FILE: glue/sample/src/sinter/_collection/_collection_manager_test.py function _assert_drain_queue (line 11) | def _assert_drain_queue(q: multiprocessing.Queue, expected_contents: Lis... function _put_wait_not_empty (line 18) | def _put_wait_not_empty(q: Union[multiprocessing.Queue, multiprocessing.... function test_manager (line 24) | def test_manager(): FILE: glue/sample/src/sinter/_collection/_collection_test.py function test_iter_collect (line 13) | def test_iter_collect(): function test_collect (line 48) | def test_collect(): function test_collect_from_paths (line 83) | def test_collect_from_paths(): class AlternatingPredictionsDecoder (line 124) | class AlternatingPredictionsDecoder(sinter.Decoder): method decode_via_files (line 125) | def decode_via_files(self, function test_collect_custom_decoder (line 141) | def test_collect_custom_decoder(): function test_iter_collect_list (line 163) | def test_iter_collect_list(): function test_iter_collect_worker_fails (line 198) | def test_iter_collect_worker_fails(): class FixedSizeSampler (line 215) | class FixedSizeSampler(sinter.Sampler, sinter.CompiledSampler): method compiled_sampler_for_task (line 216) | def compiled_sampler_for_task(self, task: sinter.Task) -> sinter.Compi... method sample (line 219) | def sample(self, suggested_shots: int) -> 'sinter.AnonTaskStats': function test_fixed_size_sampler (line 226) | def test_fixed_size_sampler(): class MockTimingSampler (line 245) | class MockTimingSampler(sinter.Sampler, sinter.CompiledSampler): method compiled_sampler_for_task (line 246) | def compiled_sampler_for_task(self, task: sinter.Task) -> sinter.Compi... method sample (line 249) | def sample(self, suggested_shots: int) -> 'sinter.AnonTaskStats': function test_mock_timing_sampler (line 259) | def test_mock_timing_sampler(): class BatchSizeTrackingSampler (line 275) | class BatchSizeTrackingSampler(sinter.Sampler, sinter.CompiledSampler): method __init__ (line 278) | def __init__(self, batch_sizes: list[int]): method compiled_sampler_for_task (line 281) | def compiled_sampler_for_task(self, task: sinter.Task) -> sinter.Compi... method sample (line 284) | def sample(self, suggested_shots: int) -> sinter.AnonTaskStats: function test_ramp_throttled_sampler_respects_max_batch_size (line 293) | def test_ramp_throttled_sampler_respects_max_batch_size(): FILE: glue/sample/src/sinter/_collection/_collection_worker_loop.py function collection_worker_loop (line 11) | def collection_worker_loop( FILE: glue/sample/src/sinter/_collection/_collection_worker_state.py function _fill_in_task (line 19) | def _fill_in_task(task: Task) -> Task: class CollectionWorkerState (line 48) | class CollectionWorkerState: method __init__ (line 49) | def __init__( method _send_message_to_manager (line 77) | def _send_message_to_manager(self, message: Any): method state_summary (line 80) | def state_summary(self) -> str: method flush_results (line 98) | def flush_results(self): method accept_shots (line 111) | def accept_shots(self, *, shots_delta: int): method return_shots (line 120) | def return_shots(self, *, requested_shots: int): method compute_strong_id (line 132) | def compute_strong_id(self, *, new_task: Task): method change_job (line 140) | def change_job(self, *, new_task: Task, new_collection_options: Collec... method process_messages (line 156) | def process_messages(self) -> int: method num_unflushed_errors (line 203) | def num_unflushed_errors(self) -> int: method do_some_work (line 208) | def do_some_work(self) -> bool: method run_message_loop (line 240) | def run_message_loop(self): FILE: glue/sample/src/sinter/_collection/_collection_worker_test.py class MockWorkHandler (line 12) | class MockWorkHandler(sinter.Sampler, sinter.CompiledSampler): method __init__ (line 13) | def __init__(self): method compiled_sampler_for_task (line 17) | def compiled_sampler_for_task(self, task: sinter.Task) -> sinter.Compi... method handles_throttling (line 21) | def handles_throttling(self) -> bool: method sample (line 24) | def sample(self, shots: int) -> sinter.AnonTaskStats: function _assert_drain_queue (line 31) | def _assert_drain_queue(q: multiprocessing.Queue, expected_contents: Lis... function _put_wait_not_empty (line 37) | def _put_wait_not_empty(q: multiprocessing.Queue, item: Any): function test_worker_stop (line 43) | def test_worker_stop(): function test_worker_skip_work (line 80) | def test_worker_skip_work(): function test_worker_finish_work (line 136) | def test_worker_finish_work(): FILE: glue/sample/src/sinter/_collection/_mux_sampler.py class MuxSampler (line 13) | class MuxSampler(Sampler): method __init__ (line 16) | def __init__( method compiled_sampler_for_task (line 29) | def compiled_sampler_for_task(self, task: Task) -> CompiledSampler: method _resolve_sampler (line 32) | def _resolve_sampler(self, name: str) -> Sampler: FILE: glue/sample/src/sinter/_collection/_printer.py class ThrottledProgressPrinter (line 8) | class ThrottledProgressPrinter: method __init__ (line 14) | def __init__(self, *, outs: List[Any], print_progress: bool, min_progr... method print_out (line 24) | def print_out(self, msg: str) -> None: method show_latest_progress (line 29) | def show_latest_progress(self, msg: str) -> None: method flush (line 42) | def flush(self): method _try_print_else_delay (line 48) | def _try_print_else_delay(self) -> float: method _print_worker (line 59) | def _print_worker(self): FILE: glue/sample/src/sinter/_collection/_sampler_ramp_throttled.py class RampThrottledSampler (line 7) | class RampThrottledSampler(Sampler): method __init__ (line 18) | def __init__(self, sub_sampler: Sampler, target_batch_seconds: float, ... method __str__ (line 23) | def __str__(self) -> str: method compiled_sampler_for_task (line 26) | def compiled_sampler_for_task(self, task: Task) -> CompiledSampler: class CompiledRampThrottledSampler (line 38) | class CompiledRampThrottledSampler(CompiledSampler): method __init__ (line 39) | def __init__(self, sub_sampler: CompiledSampler, target_batch_seconds:... method __str__ (line 45) | def __str__(self) -> str: method sample (line 48) | def sample(self, max_shots: int) -> AnonTaskStats: FILE: glue/sample/src/sinter/_collection/_sampler_ramp_throttled_test.py class MockSampler (line 14) | class MockSampler(sinter.Sampler, sinter.CompiledSampler): method __init__ (line 17) | def __init__(self): method compiled_sampler_for_task (line 20) | def compiled_sampler_for_task(self, task: Task) -> sinter.CompiledSamp... method sample (line 23) | def sample(self, suggested_shots: int) -> AnonTaskStats: function mock_sampler (line 33) | def mock_sampler(): function test_initial_batch_size (line 37) | def test_initial_batch_size(mock_sampler): function test_batch_size_ramps_up (line 50) | def test_batch_size_ramps_up(mock_sampler): function test_batch_size_decreases (line 70) | def test_batch_size_decreases(mock_sampler): function test_respects_max_batch_shots (line 89) | def test_respects_max_batch_shots(mock_sampler): function test_respects_max_shots_parameter (line 112) | def test_respects_max_shots_parameter(mock_sampler): function test_sub_sampler_parameter_pass_through (line 130) | def test_sub_sampler_parameter_pass_through(mock_sampler): FILE: glue/sample/src/sinter/_command/_main.py function main (line 5) | def main(*, command_line_args: Optional[List[str]] = None): FILE: glue/sample/src/sinter/_command/_main_collect.py function iter_file_paths_into_goals (line 18) | def iter_file_paths_into_goals(circuit_paths: Iterator[str], function parse_args (line 55) | def parse_args(args: List[str]) -> Any: function open_merge_file (line 272) | def open_merge_file(path: str) -> Tuple[Any, ExistingData]: function main_collect (line 282) | def main_collect(*, command_line_args: List[str]): FILE: glue/sample/src/sinter/_command/_main_collect_test.py function test_split_by (line 14) | def test_split_by(): function test_main_collect (line 18) | def test_main_collect(): class AlternatingPredictionsDecoder (line 106) | class AlternatingPredictionsDecoder(sinter.Decoder): method decode_via_files (line 107) | def decode_via_files(self, function _make_custom_decoders (line 123) | def _make_custom_decoders(): function test_main_collect_with_custom_decoder (line 127) | def test_main_collect_with_custom_decoder(): function test_main_collect_post_select_observables (line 180) | def test_main_collect_post_select_observables(): function test_main_collect_comma_separated_key_values (line 217) | def test_main_collect_comma_separated_key_values(): function test_main_collect_count_observable_error_combos (line 260) | def test_main_collect_count_observable_error_combos(): function test_main_collect_count_detection_events (line 301) | def test_main_collect_count_detection_events(): function test_cpu_pin (line 340) | def test_cpu_pin(): function test_custom_error_stopping_count (line 383) | def test_custom_error_stopping_count(): function test_auto_processes (line 424) | def test_auto_processes(): function test_implicit_auto_processes (line 455) | def test_implicit_auto_processes(): FILE: glue/sample/src/sinter/_command/_main_combine.py function main_combine (line 13) | def main_combine(*, command_line_args: List[str]): FILE: glue/sample/src/sinter/_command/_main_combine_test.py function test_main_combine (line 9) | def test_main_combine(): function test_main_combine_legacy_custom_counts (line 44) | def test_main_combine_legacy_custom_counts(): function test_order_flag (line 71) | def test_order_flag(): function test_order_custom_counts (line 136) | def test_order_custom_counts(): FILE: glue/sample/src/sinter/_command/_main_plot.py function parse_args (line 18) | def parse_args(args: List[str]) -> Any: function _log_ticks (line 350) | def _log_ticks( function _sqrt_ticks (line 367) | def _sqrt_ticks( function _pick_min_max (line 402) | def _pick_min_max( function _set_axis_scale_label_ticks (line 447) | def _set_axis_scale_label_ticks( function _common_json_properties (line 514) | def _common_json_properties(stats: List['sinter.TaskStats']) -> Dict[str... function _plot_helper (line 533) | def _plot_helper( class _FieldToMetadataWrapper (line 752) | class _FieldToMetadataWrapper: method __init__ (line 753) | def __init__(self, d: Dict): method __getattr__ (line 756) | def __getattr__(self, item): function main_plot (line 762) | def main_plot(*, command_line_args: List[str]): FILE: glue/sample/src/sinter/_command/_main_plot_test.py function test_main_plot (line 11) | def test_main_plot(): function test_main_plot_2 (line 42) | def test_main_plot_2(): function test_main_plot_failure_units (line 71) | def test_main_plot_failure_units(): function test_main_plot_xaxis (line 131) | def test_main_plot_xaxis(): function test_main_plot_custom_y_func (line 186) | def test_main_plot_custom_y_func(): function test_log_ticks (line 234) | def test_log_ticks(): function test_sqrt_ticks (line 250) | def test_sqrt_ticks(): function test_main_plot_degenerate_data (line 280) | def test_main_plot_degenerate_data(): function test_main_plot_degenerate_data_sqrt_axis (line 299) | def test_main_plot_degenerate_data_sqrt_axis(): function test_failure_values_func (line 320) | def test_failure_values_func(): function test_m_fields (line 354) | def test_m_fields(): function test_split_custom_counts (line 384) | def test_split_custom_counts(): function test_line_fits (line 417) | def test_line_fits(): FILE: glue/sample/src/sinter/_command/_main_predict.py function parse_args (line 8) | def parse_args(args: List[str]) -> Any: function main_predict (line 63) | def main_predict(*, command_line_args: List[str]): FILE: glue/sample/src/sinter/_command/_main_predict_test.py function test_main_predict (line 7) | def test_main_predict(): FILE: glue/sample/src/sinter/_data/_anon_task_stats.py class AnonTaskStats (line 11) | class AnonTaskStats: method __post_init__ (line 37) | def __post_init__(self): method __repr__ (line 49) | def __repr__(self) -> str: method __add__ (line 63) | def __add__(self, other: 'AnonTaskStats') -> 'AnonTaskStats': FILE: glue/sample/src/sinter/_data/_anon_task_stats_test.py function test_repr (line 6) | def test_repr(): function test_add (line 21) | def test_add(): FILE: glue/sample/src/sinter/_data/_collection_options.py class CollectionOptions (line 9) | class CollectionOptions: method __post_init__ (line 40) | def __post_init__(self): method __repr__ (line 54) | def __repr__(self) -> str: method combine (line 68) | def combine(self, other: 'sinter.CollectionOptions') -> 'sinter.Collec... function nullable_min (line 101) | def nullable_min(a: Optional[int], b: Optional[int]) -> Optional[int]: FILE: glue/sample/src/sinter/_data/_collection_options_test.py function test_repr (line 4) | def test_repr(): function test_combine (line 21) | def test_combine(): FILE: glue/sample/src/sinter/_data/_csv_out.py function escape_csv (line 8) | def escape_csv(text: Any, width: Optional[int]) -> str: function csv_line (line 17) | def csv_line(*, FILE: glue/sample/src/sinter/_data/_existing_data.py class ExistingData (line 14) | class ExistingData: method __init__ (line 15) | def __init__(self): method stats_for (line 18) | def stats_for(self, case: Task) -> AnonTaskStats: method add_sample (line 27) | def add_sample(self, sample: TaskStats) -> None: method __iadd__ (line 35) | def __iadd__(self, other: 'ExistingData') -> 'ExistingData': method from_file (line 41) | def from_file(path_or_file: Any) -> 'ExistingData': function stats_from_csv_files (line 91) | def stats_from_csv_files(*paths_or_files: Any) -> List['sinter.TaskStats']: function read_stats_from_csv_files (line 135) | def read_stats_from_csv_files(*paths_or_files: Any) -> List['sinter.Task... FILE: glue/sample/src/sinter/_data/_existing_data_test.py function test_read_stats_from_csv_files (line 8) | def test_read_stats_from_csv_files(): FILE: glue/sample/src/sinter/_data/_task.py class Task (line 18) | class Task: method __init__ (line 66) | def __init__( method strong_id_value (line 167) | def strong_id_value(self) -> Dict[str, Any]: method strong_id_text (line 206) | def strong_id_text(self) -> str: method strong_id_bytes (line 226) | def strong_id_bytes(self) -> bytes: method _recomputed_strong_id (line 245) | def _recomputed_strong_id(self) -> str: method strong_id (line 248) | def strong_id(self) -> str: method __repr__ (line 273) | def __repr__(self) -> str: method __eq__ (line 297) | def __eq__(self, other: Any) -> bool: FILE: glue/sample/src/sinter/_data/_task_stats.py function _is_equal_json_values (line 12) | def _is_equal_json_values(json1: Any, json2: Any): class TaskStats (line 28) | class TaskStats: method __post_init__ (line 73) | def __post_init__(self): method with_edits (line 88) | def with_edits( method __add__ (line 112) | def __add__(self, other: AnonTaskStats) -> AnonTaskStats: method __add__ (line 115) | def __add__(self, other: 'TaskStats') -> 'TaskStats': method __add__ (line 117) | def __add__(self, other: Union[AnonTaskStats, 'TaskStats']) -> Union[A... method to_anon_stats (line 152) | def to_anon_stats(self) -> AnonTaskStats: method to_csv_line (line 177) | def to_csv_line(self) -> str: method _split_custom_counts (line 206) | def _split_custom_counts(self, custom_keys: List[str]) -> List['TaskSt... method __str__ (line 226) | def __str__(self) -> str: method __repr__ (line 229) | def __repr__(self) -> str: FILE: glue/sample/src/sinter/_data/_task_stats_test.py function test_repr (line 9) | def test_repr(): function test_to_csv_line (line 22) | def test_to_csv_line(): function test_to_anon_stats (line 35) | def test_to_anon_stats(): function test_add (line 48) | def test_add(): function test_with_edits (line 93) | def test_with_edits(): function test_is_equal_json_values (line 126) | def test_is_equal_json_values(): FILE: glue/sample/src/sinter/_data/_task_test.py function test_repr (line 8) | def test_repr(): FILE: glue/sample/src/sinter/_decoding/_decoding.py function streaming_post_select (line 22) | def streaming_post_select(*, function _streaming_count_mistakes (line 80) | def _streaming_count_mistakes( function sample_decode (line 137) | def sample_decode(*, function _sample_decode_helper_using_memory (line 257) | def _sample_decode_helper_using_memory( function _sample_decode_helper_using_disk (line 326) | def _sample_decode_helper_using_disk( FILE: glue/sample/src/sinter/_decoding/_decoding_decoder_class.py class CompiledDecoder (line 8) | class CompiledDecoder(metaclass=abc.ABCMeta): method decode_shots_bit_packed (line 20) | def decode_shots_bit_packed( class Decoder (line 58) | class Decoder: method compile_decoder_for_dem (line 72) | def compile_decoder_for_dem( method decode_via_files (line 102) | def decode_via_files(self, FILE: glue/sample/src/sinter/_decoding/_decoding_fusion_blossom.py class FusionBlossomCompiledDecoder (line 14) | class FusionBlossomCompiledDecoder(CompiledDecoder): method __init__ (line 15) | def __init__(self, solver: 'fusion_blossom.SolverSerial', fault_masks:... method decode_shots_bit_packed (line 21) | def decode_shots_bit_packed( class FusionBlossomDecoder (line 42) | class FusionBlossomDecoder(Decoder): method compile_decoder_for_dem (line 45) | def compile_decoder_for_dem(self, *, dem: 'stim.DetectorErrorModel') -... method decode_via_files (line 59) | def decode_via_files(self, function iter_flatten_model (line 95) | def iter_flatten_model(model: stim.DetectorErrorModel, function detector_error_model_to_fusion_blossom_solver_and_fault_masks (line 144) | def detector_error_model_to_fusion_blossom_solver_and_fault_masks(model:... FILE: glue/sample/src/sinter/_decoding/_decoding_mwpf.py function mwpf_import_error (line 14) | def mwpf_import_error() -> ImportError: class MwpfCompiledDecoder (line 22) | class MwpfCompiledDecoder(CompiledDecoder): method __init__ (line 23) | def __init__( method decode_shots_bit_packed (line 35) | def decode_shots_bit_packed( class MwpfDecoder (line 73) | class MwpfDecoder(Decoder): method __init__ (line 76) | def __init__( method compile_decoder_for_dem (line 90) | def compile_decoder_for_dem( method decode_via_files (line 107) | def decode_via_files( class HyperUFDecoder (line 154) | class HyperUFDecoder(MwpfDecoder): method __init__ (line 155) | def __init__(self): function iter_flatten_model (line 159) | def iter_flatten_model( function deduplicate_hyperedges (line 206) | def deduplicate_hyperedges( function detector_error_model_to_mwpf_solver_and_fault_masks (line 230) | def detector_error_model_to_mwpf_solver_and_fault_masks( FILE: glue/sample/src/sinter/_decoding/_decoding_pymatching.py class PyMatchingCompiledDecoder (line 4) | class PyMatchingCompiledDecoder(CompiledDecoder): method __init__ (line 5) | def __init__(self, matcher: 'pymatching.Matching'): method decode_shots_bit_packed (line 8) | def decode_shots_bit_packed( class PyMatchingDecoder (line 21) | class PyMatchingDecoder(Decoder): method compile_decoder_for_dem (line 24) | def compile_decoder_for_dem(self, *, dem: 'stim.DetectorErrorModel') -... method decode_via_files (line 36) | def decode_via_files(self, FILE: glue/sample/src/sinter/_decoding/_decoding_test.py function get_test_decoders (line 20) | def get_test_decoders() -> Tuple[List[str], Dict[str, sinter.Decoder]]: function test_decode_repetition_code (line 59) | def test_decode_repetition_code(decoder: str, force_streaming: Optional[... function test_decode_surface_code (line 81) | def test_decode_surface_code(decoder: str, force_streaming: Optional[boo... function test_empty (line 103) | def test_empty(decoder: str, force_streaming: Optional[bool]): function test_no_observables (line 121) | def test_no_observables(decoder: str, force_streaming: Optional[bool]): function test_invincible_observables (line 143) | def test_invincible_observables(decoder: str, force_streaming: Optional[... function test_observable_offsets_mod8 (line 166) | def test_observable_offsets_mod8(decoder: str, force_streaming: bool, of... function test_no_detectors (line 192) | def test_no_detectors(decoder: str, force_streaming: Optional[bool]): function test_no_detectors_with_post_mask (line 213) | def test_no_detectors_with_post_mask(decoder: str, force_streaming: Opti... function test_post_selection (line 235) | def test_post_selection(decoder: str, force_streaming: Optional[bool]): function test_observable_post_selection (line 268) | def test_observable_post_selection(decoder: str, force_streaming: Option... function test_error_splitting (line 294) | def test_error_splitting(decoder: str, force_streaming: Optional[bool]): function test_detector_counting (line 324) | def test_detector_counting(decoder: str, force_streaming: Optional[bool]): function test_decode_fails_correctly (line 353) | def test_decode_fails_correctly(decoder: str, force_streaming: Optional[... function test_full_scale (line 384) | def test_full_scale(decoder: str): function test_infer_decode_via_files_from_decode_from_compile_decoder_for_dem (line 397) | def test_infer_decode_via_files_from_decode_from_compile_decoder_for_dem(): FILE: glue/sample/src/sinter/_decoding/_decoding_vacuous.py class VacuousDecoder (line 6) | class VacuousDecoder(Decoder): method compile_decoder_for_dem (line 10) | def compile_decoder_for_dem(self, *, dem: 'stim.DetectorErrorModel') -... method decode_via_files (line 13) | def decode_via_files(self, class VacuousCompiledDecoder (line 27) | class VacuousCompiledDecoder(CompiledDecoder): method __init__ (line 30) | def __init__(self, shape: int): method decode_shots_bit_packed (line 33) | def decode_shots_bit_packed( FILE: glue/sample/src/sinter/_decoding/_perfectionist_sampler.py class PerfectionistSampler (line 9) | class PerfectionistSampler(Sampler): method compiled_sampler_for_task (line 11) | def compiled_sampler_for_task(self, task: Task) -> CompiledSampler: class CompiledPerfectionistSampler (line 15) | class CompiledPerfectionistSampler(CompiledSampler): method __init__ (line 16) | def __init__(self, task: Task): method sample (line 19) | def sample(self, max_shots: int) -> AnonTaskStats: FILE: glue/sample/src/sinter/_decoding/_sampler.py class CompiledSampler (line 8) | class CompiledSampler(metaclass=abc.ABCMeta): method sample (line 12) | def sample(self, suggested_shots: int) -> 'sinter.AnonTaskStats': method handles_throttling (line 43) | def handles_throttling(self) -> bool: class Sampler (line 54) | class Sampler(metaclass=abc.ABCMeta): method compiled_sampler_for_task (line 70) | def compiled_sampler_for_task(self, task: 'sinter.Task') -> 'sinter.Co... FILE: glue/sample/src/sinter/_decoding/_stim_then_decode_sampler.py class StimThenDecodeSampler (line 15) | class StimThenDecodeSampler(Sampler): method __init__ (line 26) | def __init__( method compiled_sampler_for_task (line 39) | def compiled_sampler_for_task(self, task: Task) -> CompiledSampler: function classify_discards_and_errors (line 49) | def classify_discards_and_errors( class DiskDecoder (line 87) | class DiskDecoder(CompiledDecoder): method __init__ (line 88) | def __init__(self, decoder: Decoder, task: Task, tmp_dir: pathlib.Path): method decode_shots_bit_packed (line 110) | def decode_shots_bit_packed( function _compile_decoder_with_disk_fallback (line 136) | def _compile_decoder_with_disk_fallback( class _CompiledStimThenDecodeSampler (line 150) | class _CompiledStimThenDecodeSampler(CompiledSampler): method __init__ (line 151) | def __init__( method sample (line 168) | def sample(self, max_shots: int) -> AnonTaskStats: FILE: glue/sample/src/sinter/_decoding/_stim_then_decode_sampler_test.py function test_classify_discards_and_errors (line 9) | def test_classify_discards_and_errors(): FILE: glue/sample/src/sinter/_plotting.py function split_by (line 40) | def split_by(vs: Iterable[T], key_func: Callable[[T], Any]) -> List[List... class LooseCompare (line 57) | class LooseCompare: method __init__ (line 58) | def __init__(self, val: Any): method __lt__ (line 63) | def __lt__(self, other: Any) -> bool: method __gt__ (line 71) | def __gt__(self, other: Any) -> bool: method __str__ (line 79) | def __str__(self) -> str: method __eq__ (line 82) | def __eq__(self, other: Any) -> bool: function better_sorted_str_terms (line 92) | def better_sorted_str_terms(val: Any) -> Any: function group_by (line 154) | def group_by(items: Iterable[TVal], class _FrozenDict (line 189) | class _FrozenDict: method __init__ (line 190) | def __init__(self, v: dict): method __eq__ (line 202) | def __eq__(self, other): method __lt__ (line 207) | def __lt__(self, other): method __ne__ (line 212) | def __ne__(self, other): method __hash__ (line 215) | def __hash__(self): method __getitem__ (line 218) | def __getitem__(self, item): method get (line 221) | def get(self, item, alternate = None): method __str__ (line 224) | def __str__(self): function plot_discard_rate (line 228) | def plot_discard_rate( function plot_error_rate (line 317) | def plot_error_rate( function _rescale (line 422) | def _rescale(v: Sequence[float], scale: str, invert: bool) -> np.ndarray: function plot_custom (line 433) | def plot_custom( FILE: glue/sample/src/sinter/_plotting_test.py function test_better_sorted_str_terms (line 8) | def test_better_sorted_str_terms(): function test_plotting_does_not_crash (line 41) | def test_plotting_does_not_crash(): function test_group_by (line 104) | def test_group_by(): FILE: glue/sample/src/sinter/_predict.py function _converted_on_disk (line 17) | def _converted_on_disk( function predict_on_disk (line 43) | def predict_on_disk( function predict_discards_bit_packed (line 172) | def predict_discards_bit_packed( function predict_observables (line 216) | def predict_observables( function predict_observables_bit_packed (line 287) | def predict_observables_bit_packed( FILE: glue/sample/src/sinter/_predict_test.py function test_predict_on_disk_no_postselect (line 10) | def test_predict_on_disk_no_postselect(): function test_predict_on_disk_yes_postselect (line 42) | def test_predict_on_disk_yes_postselect(): function test_predict_discards_bit_packed_none_postselected (line 77) | def test_predict_discards_bit_packed_none_postselected(): function test_predict_discards_bit_packed_some_postselected (line 95) | def test_predict_discards_bit_packed_some_postselected(): function test_predict_observables_bit_packed (line 114) | def test_predict_observables_bit_packed(): function test_predict_observables (line 136) | def test_predict_observables(): FILE: glue/sample/src/sinter/_probability_util.py function log_binomial (line 23) | def log_binomial(*, p: Union[float, np.ndarray], n: int, hits: int) -> n... function log_factorial (line 87) | def log_factorial(n: int) -> float: function binary_search (line 110) | def binary_search(*, func: Callable[[int], float], min_x: int, max_x: in... function binary_intercept (line 128) | def binary_intercept(*, func: Callable[[float], float], start_x: float, ... function least_squares_cost (line 154) | def least_squares_cost(*, xs: np.ndarray, ys: np.ndarray, intercept: flo... function least_squares_through_point (line 160) | def least_squares_through_point(*, xs: np.ndarray, ys: np.ndarray, requi... function least_squares_with_slope (line 179) | def least_squares_with_slope(*, xs: np.ndarray, ys: np.ndarray, required... class Fit (line 195) | class Fit: method __repr__ (line 216) | def __repr__(self) -> str: function fit_line_y_at_x (line 220) | def fit_line_y_at_x(*, function fit_line_slope (line 274) | def fit_line_slope(*, function fit_binomial (line 327) | def fit_binomial( function shot_error_rate_to_piece_error_rate (line 384) | def shot_error_rate_to_piece_error_rate(shot_error_rate: float, *, piece... function shot_error_rate_to_piece_error_rate (line 387) | def shot_error_rate_to_piece_error_rate(shot_error_rate: 'sinter.Fit', *... function shot_error_rate_to_piece_error_rate (line 389) | def shot_error_rate_to_piece_error_rate(shot_error_rate: Union[float, 's... function comma_separated_key_values (line 482) | def comma_separated_key_values(path: str) -> Dict[str, Any]: FILE: glue/sample/src/sinter/_probability_util_test.py function test_log_factorial (line 30) | def test_log_factorial(arg, result): function test_log_binomial (line 57) | def test_log_binomial( function test_binary_search (line 63) | def test_binary_search(): function test_least_squares_through_point (line 73) | def test_least_squares_through_point(): function test_binary_intercept (line 91) | def test_binary_intercept(): function test_fit_y_at_x (line 102) | def test_fit_y_at_x(): function test_fit_slope (line 112) | def test_fit_slope(): function test_fit_binomial_shrink_towards_half (line 122) | def test_fit_binomial_shrink_towards_half(): function test_fit_binomial_vs_log_binomial (line 166) | def test_fit_binomial_vs_log_binomial(n: int, c: int, factor: float): function test_comma_separated_key_values (line 193) | def test_comma_separated_key_values(): function test_shot_error_rate_to_piece_error_rate (line 206) | def test_shot_error_rate_to_piece_error_rate(): function test_shot_error_rate_to_piece_error_rate_unions (line 241) | def test_shot_error_rate_to_piece_error_rate_unions(): function test_fit_repr (line 279) | def test_fit_repr(): FILE: glue/zx/stimzx/_external_stabilizer.py class ExternalStabilizer (line 6) | class ExternalStabilizer: method __init__ (line 9) | def __init__(self, *, input: stim.PauliString, output: stim.PauliString): method from_dual (line 14) | def from_dual(dual: stim.PauliString, num_inputs: int) -> 'ExternalSta... method canonicals_from_duals (line 28) | def canonicals_from_duals(duals: List[stim.PauliString], num_inputs: i... method __mul__ (line 55) | def __mul__(self, other: 'ExternalStabilizer') -> 'ExternalStabilizer': method __str__ (line 58) | def __str__(self) -> str: method __eq__ (line 61) | def __eq__(self, other: Any) -> bool: method __ne__ (line 66) | def __ne__(self, other: Any) -> bool: method __repr__ (line 69) | def __repr__(self): function _eliminate_stabilizers (line 73) | def _eliminate_stabilizers(stabilizers: List[stim.PauliString], eliminat... FILE: glue/zx/stimzx/_external_stabilizer_test.py function test_repr (line 5) | def test_repr(): FILE: glue/zx/stimzx/_text_diagram_parsing.py function text_diagram_to_networkx_graph (line 9) | def text_diagram_to_networkx_graph(text_diagram: str, *, value_func: Cal... function _text_to_char_map (line 63) | def _text_to_char_map(text: str) -> Dict[complex, str]: function _find_all_edges (line 97) | def _find_all_edges(char_map: Dict[complex, str], terminal_map: Dict[com... function _find_end_of_edge (line 115) | def _find_end_of_edge(xy: complex, dxy: complex, char_map: Dict[complex,... function _find_nodes (line 144) | def _find_nodes(char_map: Dict[complex, str], value_func: Callable[[str]... FILE: glue/zx/stimzx/_text_diagram_parsing_test.py function test_text_to_char_map (line 6) | def test_text_to_char_map(): function test_find_nodes (line 24) | def test_find_nodes(): function test_find_end_of_edge (line 85) | def test_find_end_of_edge(): function test_find_all_edges (line 101) | def test_find_all_edges(): function test_from_text_diagram (line 115) | def test_from_text_diagram(): FILE: glue/zx/stimzx/_zx_graph_solver.py class ZxType (line 9) | class ZxType: method __init__ (line 12) | def __init__(self, kind: str, quarter_turns: int = 0): method __eq__ (line 16) | def __eq__(self, other): method __ne__ (line 21) | def __ne__(self, other): method __hash__ (line 24) | def __hash__(self): method __repr__ (line 27) | def __repr__(self): function text_diagram_to_zx_graph (line 46) | def text_diagram_to_zx_graph(text_diagram: str) -> nx.MultiGraph: function _reduced_zx_graph (line 95) | def _reduced_zx_graph(graph: Union[nx.Graph, nx.MultiGraph]) -> nx.Graph: function zx_graph_to_external_stabilizers (line 110) | def zx_graph_to_external_stabilizers(graph: Union[nx.Graph, nx.MultiGrap... function _pseudo_postselect (line 189) | def _pseudo_postselect(sim: stim.TableauSimulator, target: int): FILE: glue/zx/stimzx/_zx_graph_solver_test.py function test_disconnected (line 8) | def test_disconnected(): function test_cnot (line 33) | def test_cnot(): function test_cz (line 47) | def test_cz(): function test_s (line 57) | def test_s(): function test_s_dag (line 63) | def test_s_dag(): function test_sqrt_x (line 69) | def test_sqrt_x(): function test_sqrt_x_sqrt_x (line 75) | def test_sqrt_x_sqrt_x(): function test_sqrt_z_sqrt_z (line 81) | def test_sqrt_z_sqrt_z(): function test_sqrt_x_dag (line 87) | def test_sqrt_x_dag(): function test_x (line 93) | def test_x(): function test_z (line 99) | def test_z(): function test_id (line 105) | def test_id(): function test_s_state_distill (line 111) | def test_s_state_distill(): function external_stabilizers_of_circuit (line 125) | def external_stabilizers_of_circuit(circuit: stim.Circuit) -> List[Exter... function test_sign (line 140) | def test_sign(): FILE: setup.py function _get_extensions (line 100) | def _get_extensions(): FILE: src/main.cc function main (line 17) | int main(int argc, const char **argv) { FILE: src/stim.test.cc function TEST (line 21) | TEST(stim, include1) { function TEST (line 27) | TEST(stim, include3) { FILE: src/stim/circuit/circuit.cc type READ_CONDITION (line 27) | enum class READ_CONDITION { function fuse_data (line 37) | void fuse_data(SpanRef &dst, SpanRef... function Circuit (line 72) | Circuit &Circuit::operator=(const Circuit &circuit) { function Circuit (line 90) | Circuit &Circuit::operator=(Circuit &&circuit) noexcept { function is_name_char (line 145) | inline bool is_name_char(int c) { function Gate (line 150) | inline const Gate &read_gate_name(int &c, SOURCE read_char) { function read_uint63_t (line 167) | uint64_t read_uint63_t(int &c, SOURCE read_char) { function read_arbitrary_targets_into (line 184) | inline void read_arbitrary_targets_into(int &c, SOURCE read_char, Circui... function read_result_targets64_into (line 194) | inline void read_result_targets64_into(int &c, SOURCE read_char, Circuit... function circuit_read_single_operation (line 203) | void circuit_read_single_operation(Circuit &circuit, char lead_char, SOU... function circuit_read_operations (line 254) | void circuit_read_operations(Circuit &circuit, SOURCE read_char, READ_CO... function Circuit (line 535) | Circuit Circuit::operator+(const Circuit &other) const { function Circuit (line 540) | Circuit Circuit::operator*(uint64_t repetitions) const { function mono_extend (line 574) | SpanRef mono_extend(MonotonicBuffer &cur, SpanRef o... function Circuit (line 592) | Circuit &Circuit::operator+=(const Circuit &other) { function Circuit (line 619) | Circuit &Circuit::operator*=(uint64_t repetitions) { function Circuit (line 634) | Circuit Circuit::from_file(FILE *file) { function CircuitStats (line 719) | CircuitStats Circuit::compute_stats() const { function Circuit (line 727) | Circuit Circuit::py_get_slice(int64_t start, int64_t step, int64_t slice... function Circuit (line 775) | const Circuit Circuit::aliased_noiseless_circuit() const { function Circuit (line 809) | Circuit Circuit::without_tags() const { function Circuit (line 822) | Circuit Circuit::without_noise() const { function flattened_helper (line 865) | void flattened_helper( function Circuit (line 895) | Circuit Circuit::flattened() const { function Circuit (line 903) | Circuit Circuit::inverse(bool allow_weak_inverse) const { function get_final_qubit_coords_helper (line 991) | void get_final_qubit_coords_helper( function get_detector_coordinates_helper (line 1068) | void get_detector_coordinates_helper( FILE: src/stim/circuit/circuit.h function namespace (line 36) | namespace stim { function is_double_char (line 340) | inline bool is_double_char(int c) { FILE: src/stim/circuit/circuit.perf.cc function BENCHMARK (line 21) | BENCHMARK(circuit_parse) { function BENCHMARK (line 35) | BENCHMARK(circuit_parse_sparse) { FILE: src/stim/circuit/circuit.pybind.cc function circuit_repr (line 44) | std::string circuit_repr(const Circuit &self) { function circuit_shortest_graphlike_error (line 55) | std::vector circuit_shortest_graphlike_error( function py_find_undetectable_logical_error (line 63) | std::vector py_find_undetectable_logical_error( function py_shortest_error_sat_problem (line 78) | std::string py_shortest_error_sat_problem(const Circuit &self, std::stri... function py_likeliest_error_sat_problem (line 83) | std::string py_likeliest_error_sat_problem(const Circuit &self, int quan... function circuit_get_item (line 88) | pybind11::object circuit_get_item(const Circuit &self, const pybind11::o... function circuit_pop (line 110) | pybind11::object circuit_pop(Circuit &self, pybind11::ssize_t index) { function circuit_insert (line 124) | void circuit_insert(Circuit &self, pybind11::ssize_t &index, pybind11::o... function handle_to_gate_targets (line 153) | void handle_to_gate_targets(const pybind11::handle &obj, std::vector obj_to_abs_detector_id_set( FILE: src/stim/circuit/circuit.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/circuit/circuit.test.cc function TEST (line 23) | TEST(circuit, from_text) { function TEST (line 172) | TEST(circuit, parse_mpp) { function TEST (line 210) | TEST(circuit, parse_spp) { function TEST (line 232) | TEST(circuit, parse_spp_dag) { function TEST (line 254) | TEST(circuit, parse_tag) { function TEST (line 317) | TEST(circuit, parse_sweep_bits) { function TEST (line 332) | TEST(circuit, append_circuit) { function TEST (line 352) | TEST(circuit, append_op_fuse) { function TEST (line 387) | TEST(circuit, str) { function TEST (line 415) | TEST(circuit, append_op_validation) { function TEST (line 446) | TEST(circuit, repeat_validation) { function TEST (line 456) | TEST(circuit, tick_validation) { function TEST (line 461) | TEST(circuit, detector_validation) { function TEST (line 466) | TEST(circuit, x_error_validation) { function TEST (line 476) | TEST(circuit, pauli_err_1_validation) { function TEST (line 489) | TEST(circuit, pauli_err_2_validation) { function TEST (line 498) | TEST(circuit, qubit_coords) { function TEST (line 503) | TEST(circuit, classical_controls) { function TEST (line 525) | TEST(circuit, for_each_operation) { function TEST (line 557) | TEST(circuit, for_each_operation_reverse) { function TEST (line 589) | TEST(circuit, count_qubits) { function TEST (line 629) | TEST(circuit, count_sweep_bits) { function TEST (line 686) | TEST(circuit, count_detectors_num_observables) { function TEST (line 755) | TEST(circuit, max_lookback) { function TEST (line 797) | TEST(circuit, count_measurements) { function TEST (line 900) | TEST(circuit, preserves_repetition_blocks) { function TEST (line 921) | TEST(circuit, multiplication_repeats) { function TEST (line 948) | TEST(circuit, self_addition) { function TEST (line 981) | TEST(circuit, addition_shares_blocks) { function TEST (line 1009) | TEST(circuit, big_rep_count) { function TEST (line 1025) | TEST(circuit, zero_repetitions_not_allowed) { function TEST (line 1036) | TEST(circuit, negative_float_coordinates) { function TEST (line 1052) | TEST(circuit, py_get_slice) { function TEST (line 1121) | TEST(circuit, append_repeat_block) { function TEST (line 1162) | TEST(circuit, aliased_noiseless_circuit) { function TEST (line 1193) | TEST(circuit, noiseless_heralded_erase) { function TEST (line 1213) | TEST(circuit, validate_nan_probability) { function TEST (line 1218) | TEST(circuit, validate_mpad) { function TEST (line 1225) | TEST(circuit, get_final_qubit_coords) { function TEST (line 1261) | TEST(circuit, get_final_qubit_coords_huge_repetition_count_efficiency) { function TEST (line 1304) | TEST(circuit, count_ticks) { function TEST (line 1349) | TEST(circuit, coords_of_detector) { function TEST (line 1395) | TEST(circuit, final_coord_shift) { function TEST (line 1410) | TEST(circuit, concat_fuse) { function TEST (line 1418) | TEST(circuit, concat_self_fuse) { function TEST (line 1425) | TEST(circuit, assignment_copies_operations) { function TEST (line 1435) | TEST(circuit, flattened) { function TEST (line 1443) | TEST(circuit, approx_equals) { function TEST (line 1516) | TEST(circuit, equality) { function TEST (line 1551) | TEST(circuit, parse_windows_newlines) { function TEST (line 1555) | TEST(circuit, inverse) { function Circuit (line 1706) | Circuit stim::generate_test_circuit_with_all_operations() { function TEST (line 1841) | TEST(circuit, generate_test_circuit_with_all_operations) { function TEST (line 1850) | TEST(circuit, insert_circuit) { function TEST (line 1914) | TEST(circuit, insert_instruction) { function TEST (line 1989) | TEST(circuit, without_tags) { FILE: src/stim/circuit/circuit.test.h function namespace (line 22) | namespace stim { FILE: src/stim/circuit/circuit2.pybind.cc function py_dem_filter_to_dem_target_set (line 36) | static std::set py_dem_filter_to_dem_target_set( FILE: src/stim/circuit/circuit_instruction.cc function Circuit (line 31) | Circuit &CircuitInstruction::repeat_block_body(Circuit &host) const { function CircuitStats (line 38) | CircuitStats CircuitInstruction::compute_stats(const Circuit *host) const { function Circuit (line 101) | const Circuit &CircuitInstruction::repeat_block_body(const Circuit &host... FILE: src/stim/circuit/circuit_instruction.h function namespace (line 25) | namespace stim { function else (line 129) | else if (flags & stim::GateFlags::GATE_IS_SINGLE_QUBIT_GATE) { function else (line 131) | else if (flags & stim::GateFlags::GATE_TARGETS_PAIRS) { function else (line 138) | else if (flags & stim::GateFlags::GATE_ONLY_TARGETS_MEASUREMENT_RECORD) { function else (line 141) | else if (gate_type == GateType::MPAD || gate_type == GateType::QUBIT_COO... FILE: src/stim/circuit/circuit_instruction.pybind.cc function PyCircuitInstruction (line 32) | PyCircuitInstruction PyCircuitInstruction::from_str(std::string_view tex... function PyCircuitInstruction (line 41) | PyCircuitInstruction PyCircuitInstruction::from_instruction(CircuitInstr... function CircuitInstruction (line 89) | CircuitInstruction PyCircuitInstruction::as_operation_ref() const { FILE: src/stim/circuit/circuit_instruction.pybind.h function namespace (line 24) | namespace stim_pybind { FILE: src/stim/circuit/circuit_instruction.test.cc function TEST (line 10) | TEST(circuit_instruction, for_combined_targets) { function TEST (line 74) | TEST(circuit_instruction, for_combined_targets_works_on_all) { FILE: src/stim/circuit/circuit_instruction_pybind_test.py function test_init_and_equality (line 19) | def test_init_and_equality(): function test_repr (line 38) | def test_repr(value): function test_str (line 43) | def test_str(): function test_hashable (line 47) | def test_hashable(): function test_num_measurements (line 55) | def test_num_measurements(): function test_target_groups (line 62) | def test_target_groups(): function test_eager_validate (line 81) | def test_eager_validate(): function test_init_from_str (line 86) | def test_init_from_str(): FILE: src/stim/circuit/circuit_pybind_test.py function test_circuit_init_num_measurements_num_qubits (line 24) | def test_circuit_init_num_measurements_num_qubits(): function test_circuit_append_operation (line 45) | def test_circuit_append_operation(): function test_circuit_iadd (line 87) | def test_circuit_iadd(): function test_circuit_add (line 114) | def test_circuit_add(): function test_circuit_mul (line 134) | def test_circuit_mul(): function test_circuit_repr (line 169) | def test_circuit_repr(): function test_circuit_eq (line 182) | def test_circuit_eq(): function test_circuit_clear (line 207) | def test_circuit_clear(): function test_circuit_compile_sampler (line 216) | def test_circuit_compile_sampler(): function test_circuit_compile_detector_sampler (line 244) | def test_circuit_compile_detector_sampler(): function test_circuit_flattened_operations (line 263) | def test_circuit_flattened_operations(): function test_copy (line 283) | def test_copy(): function test_hash (line 290) | def test_hash(): function test_circuit_generation (line 297) | def test_circuit_generation(): function test_circuit_generation_errors (line 307) | def test_circuit_generation_errors(): function test_num_detectors (line 350) | def test_num_detectors(): function test_num_observables (line 369) | def test_num_observables(): function test_indexing_operations (line 386) | def test_indexing_operations(): function test_slicing (line 423) | def test_slicing(): function test_reappend_gate_targets (line 452) | def test_reappend_gate_targets(): function test_append_instructions_and_blocks (line 463) | def test_append_instructions_and_blocks(): function test_circuit_measurement_sampling_seeded (line 522) | def test_circuit_measurement_sampling_seeded(): function test_circuit_detector_sampling_seeded (line 547) | def test_circuit_detector_sampling_seeded(): function test_approx_equals (line 573) | def test_approx_equals(): function test_append_extended_cases (line 585) | def test_append_extended_cases(): function test_pickle (line 599) | def test_pickle(): function test_backwards_compatibility_vs_safety_append_vs_append_operation (line 613) | def test_backwards_compatibility_vs_safety_append_vs_append_operation(): function test_anti_commuting_mpp_error_message (line 626) | def test_anti_commuting_mpp_error_message(): function test_blocked_remnant_edge_error (line 634) | def test_blocked_remnant_edge_error(): function test_shortest_graphlike_error (line 664) | def test_shortest_graphlike_error(): function test_shortest_graphlike_error_empty (line 712) | def test_shortest_graphlike_error_empty(): function test_shortest_graphlike_error_msgs (line 717) | def test_shortest_graphlike_error_msgs(): function test_search_for_undetectable_logical_errors_empty (line 767) | def test_search_for_undetectable_logical_errors_empty(): function test_search_for_undetectable_logical_errors_msgs (line 776) | def test_search_for_undetectable_logical_errors_msgs(): function test_shortest_error_sat_problem_unrecognized_format (line 831) | def test_shortest_error_sat_problem_unrecognized_format(): function test_shortest_error_sat_problem (line 844) | def test_shortest_error_sat_problem(): function test_likeliest_error_sat_problem (line 857) | def test_likeliest_error_sat_problem(): function test_shortest_graphlike_error_ignore (line 870) | def test_shortest_graphlike_error_ignore(): function test_coords (line 885) | def test_coords(): function test_explain_errors (line 899) | def test_explain_errors(): function test_without_noise (line 964) | def test_without_noise(): function test_flattened (line 982) | def test_flattened(): function test_complex_slice_does_not_seg_fault (line 1012) | def test_complex_slice_does_not_seg_fault(): function test_circuit_from_file (line 1017) | def test_circuit_from_file(): function test_circuit_to_file (line 1043) | def test_circuit_to_file(): function test_diagram (line 1070) | def test_diagram(): function test_circuit_inverse (line 1145) | def test_circuit_inverse(): function test_circuit_slice_reverse (line 1155) | def test_circuit_slice_reverse(): function test_with_inlined_feedback_bad_end_eats_into_loop (line 1162) | def test_with_inlined_feedback_bad_end_eats_into_loop(): function test_with_inlined_feedback (line 1326) | def test_with_inlined_feedback(): function test_detslice_ops_diagram_no_ticks_does_not_hang (line 1474) | def test_detslice_ops_diagram_no_ticks_does_not_hang(): function test_num_ticks (line 1478) | def test_num_ticks(): function test_reference_sample (line 1499) | def test_reference_sample(): function test_max_mix_depolarization_is_allowed_in_dem_conversion_without_args (line 1527) | def test_max_mix_depolarization_is_allowed_in_dem_conversion_without_arg... function test_shortest_graphlike_error_many_obs (line 1573) | def test_shortest_graphlike_error_many_obs(): function test_detslice_filter_coords_flexibility (line 1588) | def test_detslice_filter_coords_flexibility(): function test_has_flow_ry (line 1614) | def test_has_flow_ry(): function test_has_flow_cxs (line 1626) | def test_has_flow_cxs(): function test_has_flow_cxm (line 1643) | def test_has_flow_cxm(): function test_has_flow_lattice_surgery (line 1658) | def test_has_flow_lattice_surgery(): function test_has_flow_lattice_surgery_without_feedback (line 1682) | def test_has_flow_lattice_surgery_without_feedback(): function test_has_flow_shorthands (line 1714) | def test_has_flow_shorthands(): function test_decomposed (line 1738) | def test_decomposed(): function test_detecting_regions (line 1768) | def test_detecting_regions(): function test_detecting_region_filters (line 1785) | def test_detecting_region_filters(): function test_detecting_regions_mzz (line 1795) | def test_detecting_regions_mzz(): function test_insert (line 1811) | def test_insert(): function test_pop (line 1876) | def test_pop(): function test_circuit_create_with_odd_cx (line 1894) | def test_circuit_create_with_odd_cx(): function test_to_tableau (line 1899) | def test_to_tableau(): function test_circuit_tags (line 1910) | def test_circuit_tags(): function test_circuit_add_tags (line 1928) | def test_circuit_add_tags(): function test_circuit_eq_tags (line 1939) | def test_circuit_eq_tags(): function test_circuit_get_item_tags (line 1966) | def test_circuit_get_item_tags(): function test_tags_iadd (line 1995) | def test_tags_iadd(): function test_tags_imul (line 2014) | def test_tags_imul(): function test_tags_mul (line 2028) | def test_tags_mul(): function test_tags_append (line 2041) | def test_tags_append(): function test_tags_append_from_stim_program_text (line 2058) | def test_tags_append_from_stim_program_text(): function test_tag_approx_equals (line 2070) | def test_tag_approx_equals(): function test_tag_clear (line 2075) | def test_tag_clear(): function test_tag_compile_samplers (line 2081) | def test_tag_compile_samplers(): function test_tag_detector_error_model (line 2095) | def test_tag_detector_error_model(): function test_tag_copy (line 2109) | def test_tag_copy(): function test_tag_count_determined_measurements (line 2122) | def test_tag_count_determined_measurements(): function test_tag_decomposed (line 2131) | def test_tag_decomposed(): function test_tag_detecting_regions (line 2159) | def test_tag_detecting_regions(): function test_tag_diagram (line 2169) | def test_tag_diagram(): function test_tag_flattened (line 2181) | def test_tag_flattened(): function test_tag_from_file (line 2194) | def test_tag_from_file(): function test_tag_insert (line 2213) | def test_tag_insert(): function test_tag_fuse (line 2226) | def test_tag_fuse(): function test_tag_inverse (line 2239) | def test_tag_inverse(): function test_tag_time_reversed_for_flows (line 2257) | def test_tag_time_reversed_for_flows(): function test_tag_with_inlined_feedback (line 2274) | def test_tag_with_inlined_feedback(): function test_tag_without_noise (line 2291) | def test_tag_without_noise(): function test_append_tag (line 2304) | def test_append_tag(): function test_append_pauli_string (line 2318) | def test_append_pauli_string(): function test_without_tags (line 2349) | def test_without_tags(): function test_reference_detector_and_observable_signs (line 2358) | def test_reference_detector_and_observable_signs(): function test_without_noise_removes_id_errors (line 2393) | def test_without_noise_removes_id_errors(): function test_append_circuit_to_circuit (line 2405) | def test_append_circuit_to_circuit(): FILE: src/stim/circuit/circuit_repeat_block.pybind.cc function Circuit (line 32) | Circuit CircuitRepeatBlock::body_copy() { FILE: src/stim/circuit/circuit_repeat_block.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/circuit/circuit_repeat_block_test.py function test_init_and_equality (line 19) | def test_init_and_equality(): function test_repr (line 39) | def test_repr(value): function test_name (line 44) | def test_name(): FILE: src/stim/circuit/gate_decomposition.cc type ConjugateBySelfInverse (line 25) | struct ConjugateBySelfInverse { method ConjugateBySelfInverse (line 28) | ConjugateBySelfInverse( function decompose_spp_or_spp_dag_operation_helper (line 163) | static void decompose_spp_or_spp_dag_operation_helper( FILE: src/stim/circuit/gate_decomposition.h function namespace (line 27) | namespace stim { FILE: src/stim/circuit/gate_decomposition.test.cc function TEST (line 24) | TEST(gate_decomposition, decompose_mpp_operation) { function TEST (line 98) | TEST(gate_decomposition, decompose_mpp_to_mpad) { function TEST (line 125) | TEST(gate_decomposition, decompose_pair_instruction_into_disjoint_segmen... function TEST (line 163) | TEST(gate_decomposition, decompose_spp_or_spp_dag_operation_simple) { function TEST (line 173) | TEST(gate_decomposition, decompose_spp_or_spp_dag_operation_inverted) { function TEST (line 184) | TEST(gate_decomposition, decompose_spp_or_spp_dag_operation_inverted2) { function TEST (line 194) | TEST(gate_decomposition, decompose_spp_or_spp_dag_operation_inverted3) { function TEST (line 205) | TEST(gate_decomposition, decompose_spp_or_spp_dag_operation_double_inver... function TEST (line 215) | TEST(gate_decomposition, decompose_spp_or_spp_dag_operation_triple_inver... function TEST (line 226) | TEST(gate_decomposition, decompose_spp_or_spp_dag_operation_complex) { function TEST (line 243) | TEST(gate_decomposition, decompose_spp_or_spp_dag_operation_multiple) { function TEST (line 261) | TEST(gate_decomposition, decompose_spp_or_spp_dag_operation_empty) { function TEST (line 270) | TEST(gate_decomposition, decompose_spp_or_spp_dag_operation_bad) { function TEST (line 288) | TEST(gate_decomposition, for_each_disjoint_target_segment_in_instruction... function TEST (line 314) | TEST(gate_decomposition, for_each_combined_targets_group) { FILE: src/stim/circuit/gate_target.cc function GateTarget (line 19) | GateTarget GateTarget::pauli_xz(uint32_t qubit, bool x, bool z, bool inv... function GateTarget (line 26) | GateTarget GateTarget::from_target_str(std::string_view text) { function GateTarget (line 38) | GateTarget GateTarget::x(uint32_t qubit, bool inverted) { function GateTarget (line 44) | GateTarget GateTarget::y(uint32_t qubit, bool inverted) { function GateTarget (line 50) | GateTarget GateTarget::z(uint32_t qubit, bool inverted) { function GateTarget (line 56) | GateTarget GateTarget::qubit(uint32_t qubit, bool inverted) { function GateTarget (line 62) | GateTarget GateTarget::rec(int32_t lookback) { function GateTarget (line 68) | GateTarget GateTarget::sweep_bit(uint32_t index) { function GateTarget (line 71) | GateTarget GateTarget::combiner() { function GateTarget (line 240) | GateTarget GateTarget::operator!() const { FILE: src/stim/circuit/gate_target.h type GateTarget (line 35) | struct GateTarget { FILE: src/stim/circuit/gate_target.pybind.cc function GateTarget (line 23) | GateTarget handle_to_gate_target(const pybind11::handle &obj) { function GateTarget (line 41) | GateTarget obj_to_gate_target(const pybind11::object &obj) { FILE: src/stim/circuit/gate_target.pybind.h function namespace (line 24) | namespace stim_pybind { FILE: src/stim/circuit/gate_target.test.cc function TEST (line 21) | TEST(gate_target, xyz) { function TEST (line 105) | TEST(gate_target, qubit) { function TEST (line 136) | TEST(gate_target, record) { function TEST (line 156) | TEST(gate_target, sweep) { function TEST (line 171) | TEST(gate_target, combiner) { function TEST (line 186) | TEST(gate_target, equality) { function TEST (line 196) | TEST(gate_target, inverse) { function TEST (line 211) | TEST(gate_target, pauli) { function TEST (line 226) | TEST(gate_target, from_target_str) { function TEST (line 231) | TEST(gate_target, target_str_round_trip) { function TEST (line 250) | TEST(gate_target, is_pauli_target) { function TEST (line 264) | TEST(gate_target, is_classical_bit_target) { FILE: src/stim/circuit/gate_target_pybind_test.py function test_init_and_equality (line 19) | def test_init_and_equality(): function test_properties (line 29) | def test_properties(): function test_repr (line 118) | def test_repr(value): function test_hashable (line 123) | def test_hashable(): function test_pauli_type (line 131) | def test_pauli_type(): FILE: src/stim/cmd/command_analyze_errors.cc function SubCommandHelp (line 74) | SubCommandHelp stim::command_analyze_errors_help() { FILE: src/stim/cmd/command_analyze_errors.h function namespace (line 22) | namespace stim { FILE: src/stim/cmd/command_analyze_errors.test.cc function TEST (line 21) | TEST(command_analyze_errors, detector_hypergraph_deprecated) { function TEST (line 31) | TEST(command_analyze_errors, analyze_errors) { function TEST (line 55) | TEST(command_analyze_errors, analyze_errors_fold_loops) { function TEST (line 73) | TEST(command_analyze_errors, analyze_errors_allow_gauge_detectors) { function TEST (line 129) | TEST(command_analyze_errors, analyze_errors_all_approximate_disjoint_err... FILE: src/stim/cmd/command_convert.cc type DataDetails (line 29) | struct DataDetails { function process_num_flags (line 39) | void process_num_flags(int argc, const char **argv, DataDetails *details... function process_dem (line 49) | static void process_dem(const char *dem_path_c_str, DataDetails *details... function process_circuit (line 68) | static void process_circuit(const char *circuit_path_c_str, const char *... function SubCommandHelp (line 247) | SubCommandHelp stim::command_convert_help() { FILE: src/stim/cmd/command_convert.h function namespace (line 22) | namespace stim { FILE: src/stim/cmd/command_convert.test.cc function TEST (line 22) | TEST(command_convert, convert_measurements_with_circuit_to_dets) { function TEST (line 53) | TEST(command_convert, convert_detections_observables_with_circuit_to_det... function TEST (line 102) | TEST(command_convert, convert_detections_observables_with_circuit_to_det... function TEST (line 157) | TEST(command_convert, convert_detections_observables_with_circuit_no_det... function TEST (line 200) | TEST(command_convert, convert_detections_observables_with_dem) { function TEST (line 231) | TEST(command_convert, convert_measurements_no_circuit_or_dem) { function TEST (line 258) | TEST(command_convert, convert_detections_observables_no_circuit_or_dem) { function TEST (line 285) | TEST(command_convert, convert_bits_per_shot_no_dets) { function TEST (line 308) | TEST(command_convert, convert_multiple_bitword_sized_records) { function TEST (line 315) | TEST(command_convert, convert_circuit_fail_without_types) { function TEST (line 334) | TEST(command_convert, convert_fail_without_any_information) { function TEST (line 340) | TEST(command_convert, convert_fail_with_bits_per_shot_to_dets) { function TEST (line 346) | TEST(command_convert, convert_invalid_types) { FILE: src/stim/cmd/command_detect.cc function SubCommandHelp (line 81) | SubCommandHelp stim::command_detect_help() { FILE: src/stim/cmd/command_detect.h function namespace (line 22) | namespace stim { FILE: src/stim/cmd/command_detect.test.cc function TEST (line 21) | TEST(command_detect, detect_basic) { function TEST (line 185) | TEST(command_detect, detection_event_simulator_counts_measurements_corre... function TEST (line 198) | TEST(command_detect, seeded_detecting) { FILE: src/stim/cmd/command_diagram.cc type DiagramTypes (line 34) | enum class DiagramTypes { function _read_circuit (line 50) | stim::Circuit _read_circuit(RaiiFile &in, int argc, const char **argv) { function _read_dem (line 59) | stim::DetectorErrorModel _read_dem(RaiiFile &in, int argc, const char **... function _read_coord_filter (line 90) | std::vector _read_coord_filter(int argc, const char **argv) { function DiagramTypes (line 103) | DiagramTypes _read_diagram_type(int argc, const char **argv) { function _read_tick (line 140) | bool _read_tick(int argc, const char **argv, uint64_t *tick, uint64_t *t... function SubCommandHelp (line 255) | SubCommandHelp stim::command_diagram_help() { FILE: src/stim/cmd/command_diagram.h function namespace (line 22) | namespace stim { FILE: src/stim/cmd/command_diagram.pybind.cc function escape_html_for_srcdoc (line 49) | std::string escape_html_for_srcdoc(std::string_view src) { function diagram_as_html (line 77) | pybind11::object diagram_as_html(const DiagramHelper &self) { function DiagramHelper (line 161) | DiagramHelper stim_pybind::dem_diagram(const DetectorErrorModel &dem, st... function CoordFilter (line 186) | CoordFilter item_to_filter_single(const pybind11::handle &obj) { function item_to_filter_multi (line 219) | std::vector item_to_filter_multi(const pybind11::object &ob... function DiagramHelper (line 237) | DiagramHelper stim_pybind::circuit_diagram( FILE: src/stim/cmd/command_diagram.pybind.h function DiagramType (line 25) | enum class DiagramType { FILE: src/stim/cmd/command_diagram.test.cc function TEST (line 22) | TEST(command_diagram, run_captured_stim_main) { function TEST (line 41) | TEST(command_diagram, run_captured_stim_main_detector_slice) { function TEST (line 100) | TEST(command_diagram, run_captured_stim_main_timeline_ticking) { function TEST (line 137) | TEST(command_diagram, run_captured_stim_main_works_various_arguments) { function TEST (line 175) | TEST(command_diagram, warn_about_noiseless_match_graphs) { FILE: src/stim/cmd/command_explain_errors.cc function SubCommandHelp (line 47) | SubCommandHelp stim::command_explain_errors_help() { FILE: src/stim/cmd/command_explain_errors.h function namespace (line 22) | namespace stim { FILE: src/stim/cmd/command_explain_errors.test.cc function TEST (line 22) | TEST(command_explain_errors, explain_errors) { FILE: src/stim/cmd/command_gen.cc function SubCommandHelp (line 65) | SubCommandHelp stim::command_gen_help() { FILE: src/stim/cmd/command_gen.h function namespace (line 22) | namespace stim { FILE: src/stim/cmd/command_gen.test.cc function TEST (line 57) | TEST(command_gen, execute) { FILE: src/stim/cmd/command_help.cc function make_sub_command_help (line 94) | std::vector make_sub_command_help() { function to_upper_case (line 117) | std::string to_upper_case(std::string_view val) { type Acc (line 126) | struct Acc { method flush (line 131) | void flush() { method change_indent (line 144) | void change_indent(int t) { method Acc (line 154) | Acc &operator<<(const T &other) { function print_fixed_width_float (line 160) | void print_fixed_width_float(Acc &out, float f, char u) { function print_example (line 175) | void print_example(Acc &out, std::string_view name, const Gate &gate) { function print_decomposition (line 247) | void print_decomposition(Acc &out, const Gate &gate) { function print_mbqc_decomposition (line 269) | void print_mbqc_decomposition(Acc &out, const Gate &gate) { function print_stabilizer_generators (line 292) | void print_stabilizer_generators(Acc &out, const Gate &gate) { function print_bloch_vector (line 319) | void print_bloch_vector(Acc &out, const Gate &gate) { function print_unitary_matrix (line 372) | void print_unitary_matrix(Acc &out, const Gate &gate) { function generate_per_gate_help_markdown (line 425) | std::string generate_per_gate_help_markdown(const Gate &alt_gate, int in... function generate_subcommand_markdown (line 460) | std::string generate_subcommand_markdown(const SubCommandHelp &data, int... function generate_per_format_markdown (line 475) | std::string generate_per_format_markdown(const FileFormatData &format_da... function generate_format_help_markdown (line 499) | std::map generate_format_help_markdown() { function generate_command_help_topics (line 554) | std::map generate_command_help_topics() { function generate_gate_help_markdown (line 607) | std::map generate_gate_help_markdown() { FILE: src/stim/cmd/command_help.h function namespace (line 27) | namespace stim { FILE: src/stim/cmd/command_m2d.cc function SubCommandHelp (line 85) | SubCommandHelp stim::command_m2d_help() { FILE: src/stim/cmd/command_m2d.h function namespace (line 22) | namespace stim { FILE: src/stim/cmd/command_m2d.test.cc function TEST (line 22) | TEST(command_m2d, m2d) { function TEST (line 64) | TEST(command_m2d, m2d_without_feedback) { function TEST (line 122) | TEST(command_m2d, m2d_obs_size_misalign_1_obs) { function TEST (line 140) | TEST(command_m2d, m2d_obs_size_misalign_11_obs) { function TEST (line 158) | TEST(command_m2d, unphysical_observable_annotations) { FILE: src/stim/cmd/command_repl.cc function SubCommandHelp (line 31) | SubCommandHelp stim::command_repl_help() { FILE: src/stim/cmd/command_repl.h function namespace (line 22) | namespace stim { FILE: src/stim/cmd/command_sample.cc function SubCommandHelp (line 81) | SubCommandHelp stim::command_sample_help() { FILE: src/stim/cmd/command_sample.h function namespace (line 22) | namespace stim { FILE: src/stim/cmd/command_sample.test.cc function line_freq_with_lifetime_matching_arg (line 24) | std::unordered_map line_freq_with_lifetime_mat... function deviation (line 37) | std::string deviation(std::string_view sample_content, const std::unorde... function TEST (line 73) | TEST(command_sample, sample_flag) { function TEST (line 140) | TEST(command_sample, intentional_failures) { function TEST (line 160) | TEST(command_sample, basic_distributions) { function TEST (line 194) | TEST(command_sample, sample_x_error) { function TEST (line 216) | TEST(command_sample, sample_z_error) { function TEST (line 238) | TEST(command_sample, sample_y_error) { function TEST (line 260) | TEST(command_sample, sample_depolarize1_error) { function TEST (line 293) | TEST(command_sample, sample_depolarize2_error) { function TEST (line 317) | TEST(command_sample, sample_measure_reset) { function TEST (line 338) | TEST(command_sample, skip_reference_sample_flag) { function TEST (line 388) | TEST(command_sample, seeded_sampling) { FILE: src/stim/cmd/command_sample_dem.cc function SubCommandHelp (line 93) | SubCommandHelp stim::command_sample_dem_help() { FILE: src/stim/cmd/command_sample_dem.h function namespace (line 22) | namespace stim { FILE: src/stim/cmd/command_sample_dem.test.cc function TEST (line 22) | TEST(main, sample_dem) { FILE: src/stim/dem/dem_instruction.cc function DemTarget (line 14) | DemTarget DemTarget::observable_id(uint64_t id) { function DemTarget (line 20) | DemTarget DemTarget::relative_detector_id(uint64_t id) { function DemTarget (line 78) | DemTarget DemTarget::from_text(std::string_view text) { function DetectorErrorModel (line 266) | const DetectorErrorModel &DemInstruction::repeat_block_body(const Detect... function DetectorErrorModel (line 273) | DetectorErrorModel &DemInstruction::repeat_block_body(DetectorErrorModel... FILE: src/stim/dem/dem_instruction.h type class (line 16) | enum class type DemTarget (line 24) | struct DemTarget { type DetectorErrorModel (line 47) | struct DetectorErrorModel type DemInstruction (line 48) | struct DemInstruction { FILE: src/stim/dem/dem_instruction.pybind.cc function DemInstruction (line 22) | DemInstruction ExposedDemInstruction::as_dem_instruction() const { function ExposedDemInstruction (line 26) | ExposedDemInstruction ExposedDemInstruction::from_dem_instruction(stim::... function ExposedDemInstruction (line 34) | ExposedDemInstruction ExposedDemInstruction::from_str(std::string_view t... FILE: src/stim/dem/dem_instruction.pybind.h function namespace (line 8) | namespace stim_pybind { FILE: src/stim/dem/dem_instruction.test.cc function TEST (line 9) | TEST(dem_instruction, from_str) { function TEST (line 35) | TEST(dem_instruction, for_separated_targets) { FILE: src/stim/dem/dem_instruction_pybind_test.py function test_args_copy (line 5) | def test_args_copy(): function test_targets_copy (line 12) | def test_targets_copy(): function test_type (line 20) | def test_type(): function test_equality (line 28) | def test_equality(): function test_validation (line 38) | def test_validation(): function test_str (line 56) | def test_str(): function test_repr (line 63) | def test_repr(): function test_hashable (line 70) | def test_hashable(): function test_target_groups (line 78) | def test_target_groups(): function test_init_from_str (line 83) | def test_init_from_str(): function test_tag (line 104) | def test_tag(): FILE: src/stim/dem/detector_error_model.cc function DetectorErrorModel (line 167) | DetectorErrorModel &DetectorErrorModel::operator=(const DetectorErrorMod... function DetectorErrorModel (line 185) | DetectorErrorModel &DetectorErrorModel::operator=(DetectorErrorModel &&o... type DEM_READ_CONDITION (line 196) | enum class DEM_READ_CONDITION { function is_name_char (line 202) | inline bool is_name_char(int c) { function DemInstructionType (line 207) | inline DemInstructionType read_instruction_name(int &c, SOURCE read_char) { function read_uint60_t (line 235) | uint64_t read_uint60_t(int &c, SOURCE read_char) { function read_arbitrary_dem_targets_into (line 252) | inline void read_arbitrary_dem_targets_into(int &c, SOURCE read_char, De... function dem_read_instruction (line 276) | void dem_read_instruction(DetectorErrorModel &model, char lead_char, SOU... function model_read_operations (line 327) | void model_read_operations(DetectorErrorModel &model, SOURCE read_char, ... function DetectorErrorModel (line 382) | DetectorErrorModel DetectorErrorModel::from_file(FILE *file) { function DetectorErrorModel (line 398) | DetectorErrorModel DetectorErrorModel::rounded(uint8_t digits) const { function flattened_helper (line 435) | void flattened_helper( function DetectorErrorModel (line 492) | DetectorErrorModel DetectorErrorModel::flattened() const { function DetectorErrorModel (line 588) | DetectorErrorModel DetectorErrorModel::py_get_slice(int64_t start, int64... function DetectorErrorModel (line 605) | DetectorErrorModel DetectorErrorModel::operator*(size_t repetitions) con... function DetectorErrorModel (line 611) | DetectorErrorModel &DetectorErrorModel::operator*=(size_t repetitions) { function DetectorErrorModel (line 624) | DetectorErrorModel DetectorErrorModel::operator+(const DetectorErrorMode... function DetectorErrorModel (line 630) | DetectorErrorModel &DetectorErrorModel::operator+=(const DetectorErrorMo... function get_detector_coordinates_helper (line 666) | bool get_detector_coordinates_helper( function DetectorErrorModel (line 784) | DetectorErrorModel DetectorErrorModel::without_tags() const { FILE: src/stim/dem/detector_error_model.h function namespace (line 13) | namespace stim { FILE: src/stim/dem/detector_error_model.pybind.cc function python_arg_to_instruction_arguments (line 42) | std::vector python_arg_to_instruction_arguments(const pybind11::... function DemInstructionType (line 57) | static DemInstructionType non_block_instruction_name_to_enum(std::string... FILE: src/stim/dem/detector_error_model.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/dem/detector_error_model.test.cc function TEST (line 25) | TEST(detector_error_model, init_equality) { function TEST (line 48) | TEST(detector_error_model, append_shift_detectors_instruction) { function TEST (line 64) | TEST(detector_error_model, append_detector_instruction) { function TEST (line 84) | TEST(detector_error_model, append_logical_observable_instruction) { function TEST (line 104) | TEST(detector_error_model, append_error_instruction) { function TEST (line 150) | TEST(detector_error_model, append_block) { function TEST (line 177) | TEST(detector_error_model, round_trip_str) { function TEST (line 193) | TEST(detector_error_model, parse) { function TEST (line 252) | TEST(detector_error_model, parse_tag) { function TEST (line 263) | TEST(detector_error_model, movement) { function TEST (line 293) | TEST(dem_target, general) { function TEST (line 324) | TEST(dem_instruction, general) { function TEST (line 361) | TEST(detector_error_model, total_detector_shift) { function TEST (line 377) | TEST(detector_error_model, count_detectors) { function TEST (line 395) | TEST(detector_error_model, count_observables) { function TEST (line 412) | TEST(detector_error_model, from_file) { function TEST (line 441) | TEST(detector_error_model, py_get_slice) { function TEST (line 503) | TEST(detector_error_model, mul) { function TEST (line 524) | TEST(detector_error_model, imul) { function TEST (line 549) | TEST(detector_error_model, add) { function TEST (line 585) | TEST(detector_error_model, iadd) { function TEST (line 628) | TEST(detector_error_model, iter_flatten_error_instructions) { function TEST (line 657) | TEST(detector_error_model, get_detector_coordinates_nested_loops) { function TEST (line 695) | TEST(detector_error_model, get_detector_coordinates_trivial) { function TEST (line 737) | TEST(detector_error_model, final_detector_and_coord_shift) { function TEST (line 754) | TEST(detector_error_model, rounded) { function TEST (line 801) | TEST(detector_error_model, surface_code_coords_dont_infinite_loop) { function TEST (line 821) | TEST(detector_error_model, flattened) { function TEST (line 892) | TEST(detector_error_model, parse_windows_newlines) { FILE: src/stim/dem/detector_error_model_pybind_test.py function test_init_get (line 22) | def test_init_get(): function test_equality (line 58) | def test_equality(): function test_repr (line 99) | def test_repr(): function test_approx_equals (line 106) | def test_approx_equals(): function test_append (line 118) | def test_append(): function test_append_bad (line 151) | def test_append_bad(): function test_pickle (line 178) | def test_pickle(): function test_count_errors (line 191) | def test_count_errors(): function test_shortest_graphlike_error_trivial (line 211) | def test_shortest_graphlike_error_trivial(): function test_shortest_graphlike_error_line (line 236) | def test_shortest_graphlike_error_line(): function test_shortest_graphlike_error_ignore (line 259) | def test_shortest_graphlike_error_ignore(): function test_shortest_graphlike_error_rep_code (line 268) | def test_shortest_graphlike_error_rep_code(): function test_shortest_graphlike_error_msgs (line 277) | def test_shortest_graphlike_error_msgs(): function test_coords (line 312) | def test_coords(): function test_dem_from_file (line 386) | def test_dem_from_file(): function test_dem_to_file (line 412) | def test_dem_to_file(): function test_flattened (line 439) | def test_flattened(): function test_rounded (line 452) | def test_rounded(): function test_diagram (line 489) | def test_diagram(): function test_shortest_graphlike_error_remnant (line 505) | def test_shortest_graphlike_error_remnant(): function test_init_parse (line 541) | def test_init_parse(): function test_without_tags (line 545) | def test_without_tags(): function test_append_dem_to_dem (line 554) | def test_append_dem_to_dem(): FILE: src/stim/dem/detector_error_model_repeat_block.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/dem/detector_error_model_repeat_block_pybind_test.py function test_init_vs_properties (line 18) | def test_init_vs_properties(): function test_equality (line 25) | def test_equality(): function test_repr (line 35) | def test_repr(): function test_type (line 40) | def test_type(): FILE: src/stim/dem/detector_error_model_target.pybind.cc function ExposedDemTarget (line 313) | ExposedDemTarget ExposedDemTarget::observable_id(uint32_t id) { function ExposedDemTarget (line 316) | ExposedDemTarget ExposedDemTarget::relative_detector_id(uint64_t id) { function ExposedDemTarget (line 319) | ExposedDemTarget ExposedDemTarget::separator() { FILE: src/stim/dem/detector_error_model_target.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/dem/detector_error_model_target_pybind_test.py function test_equality (line 19) | def test_equality(): function test_str (line 31) | def test_str(): function test_properties (line 37) | def test_properties(): function test_repr (line 57) | def test_repr(): function test_static_constructors (line 66) | def test_static_constructors(): function test_hashable (line 72) | def test_hashable(): function test_init (line 80) | def test_init(): FILE: src/stim/diagram/ascii_diagram.cc type AsciiLayout (line 11) | struct AsciiLayout { function AsciiLayout (line 52) | AsciiLayout compute_sizing(const AsciiDiagram &diagram) { function AsciiDiagramPos (line 81) | AsciiDiagramPos AsciiDiagramPos::transposed() const { function AsciiDiagramEntry (line 84) | AsciiDiagramEntry AsciiDiagramEntry::transposed() const { function AsciiDiagram (line 88) | AsciiDiagram AsciiDiagram::transposed() const { function strip_padding_from_lines_and_write_to (line 100) | void strip_padding_from_lines_and_write_to(SpanRef out_line... FILE: src/stim/diagram/ascii_diagram.h function namespace (line 26) | namespace stim_draw_internal { FILE: src/stim/diagram/ascii_diagram.test.cc function TEST (line 21) | TEST(ascii_diagram, basic) { FILE: src/stim/diagram/base64.cc function u6_to_base64_char (line 5) | char u6_to_base64_char(uint8_t v) { FILE: src/stim/diagram/base64.h function namespace (line 23) | namespace stim_draw_internal { FILE: src/stim/diagram/base64.test.cc function TEST (line 7) | TEST(base64, write_base64) { FILE: src/stim/diagram/basic_3d_diagram.cc function GltfScene (line 8) | GltfScene Basic3dDiagram::to_gltf_scene() const { FILE: src/stim/diagram/basic_3d_diagram.h function namespace (line 24) | namespace stim_draw_internal { FILE: src/stim/diagram/circuit_timeline_helper.cc function GateTarget (line 91) | GateTarget CircuitTimelineHelper::rec_to_qubit(const GateTarget &target) { function GateTarget (line 95) | GateTarget CircuitTimelineHelper::pick_pseudo_target_representing_measur... FILE: src/stim/diagram/circuit_timeline_helper.h function namespace (line 26) | namespace stim_draw_internal { FILE: src/stim/diagram/coord.h function namespace (line 10) | namespace stim_draw_internal { function dot (line 61) | float dot(const Coord &other) const { function operator (line 75) | bool operator<(Coord other) const { function operator (line 84) | bool operator==(Coord other) const { FILE: src/stim/diagram/coord.test.cc function TEST (line 9) | TEST(coord, arithmetic) { function TEST (line 32) | TEST(coord, min_max) { FILE: src/stim/diagram/crumble.h function namespace (line 8) | namespace stim_draw_internal { FILE: src/stim/diagram/crumble_data.h function namespace (line 6) | namespace stim_draw_internal { FILE: src/stim/diagram/detector_slice/detector_slice_set.cc function write_key_val (line 17) | inline void write_key_val(std::ostream &out, const char *key, const T &v... type DetectorSliceSetComputer (line 21) | struct DetectorSliceSetComputer { function CoordFilter (line 226) | CoordFilter CoordFilter::parse_from(std::string_view data) { function DetectorSliceSet (line 248) | DetectorSliceSet DetectorSliceSet::from_circuit_ticks( function flattened_2d (line 364) | Coord<2> flattened_2d(SpanRef c) { function pick_characteristic_distance (line 383) | float pick_characteristic_distance(const std::set &used, const... function FlattenedCoords (line 412) | FlattenedCoords FlattenedCoords::from(const DetectorSliceSet &set, float... function offset_angle_from_to (line 490) | float offset_angle_from_to(Coord<2> origin, Coord<2> dst) { function _mirror_score (line 505) | float _mirror_score(SpanRef> coords, size_t i, size_t j) { function _pick_center_using_mirror_symmetry (line 548) | bool _pick_center_using_mirror_symmetry(SpanRef> coords, ... function _draw_observable (line 632) | void _draw_observable( function _start_many_body_svg_path (line 718) | void _start_many_body_svg_path( function _start_two_body_svg_path (line 757) | void _start_two_body_svg_path( function _start_one_body_svg_path (line 788) | void _start_one_body_svg_path( function _start_slice_shape_command (line 801) | void _start_slice_shape_command( FILE: src/stim/diagram/detector_slice/detector_slice_set.h function namespace (line 27) | namespace stim_draw_internal { type DetectorSliceSet (line 38) | struct DetectorSliceSet { type FlattenedCoords (line 79) | struct FlattenedCoords { FILE: src/stim/diagram/detector_slice/detector_slice_set.test.cc function TEST (line 30) | TEST(detector_slice_set, from_circuit) { function TEST (line 68) | TEST(detector_slice_set, big_loop_seeking) { function TEST (line 141) | TEST(detector_slice_set_text_diagram, repetition_code) { function TEST (line 197) | TEST(detector_slice_set_text_diagram, surface_code) { function TEST (line 228) | TEST(detector_slice_set_svg_diagram, surface_code) { function TEST (line 238) | TEST(detector_slice_set_svg_diagram, long_range_detector) { function TEST (line 262) | TEST(detector_slice_set, pick_polygon_center) { function TEST (line 279) | TEST(detector_slice_set_svg_diagram, is_colinear) { function TEST (line 294) | TEST(detector_slice_set_svg_diagram, colinear_polygon) { function TEST (line 318) | TEST(detector_slice_set_svg_diagram, observable) { function TEST (line 352) | TEST(detector_slice_set_svg_diagram, svg_ids) { function TEST (line 373) | TEST(coord_filter, parse_from) { function TEST (line 397) | TEST(inv_space_fill_transform, inv_space_fill_transform) { function TEST (line 402) | TEST(detector_slice_set, from_circuit_with_errors) { function TEST (line 429) | TEST(circuit_diagram_timeline_text, anticommuting_detector_circuit) { FILE: src/stim/diagram/diagram_util.h function namespace (line 24) | namespace stim_draw_internal { FILE: src/stim/diagram/gate_data_3d.cc function texture_coords_for_showing_on_spacelike_faces_of_cube (line 10) | std::shared_ptr> texture_coords_for_showing_on_spacelike_f... function cube_gate (line 47) | std::shared_ptr cube_gate( function make_cube_triangle_list (line 64) | std::shared_ptr> make_cube_triangle_list(bool actually_jus... function make_circle_loop (line 113) | std::shared_ptr> make_circle_loop(size_t n, float r, bool ... function make_x_control_mesh (line 129) | std::pair> make_x_control_me... function make_xswap_control_mesh (line 180) | std::pair> make_xswap_contro... function make_zswap_control_mesh (line 232) | std::pair> make_zswap_contro... function make_y_control_mesh (line 277) | std::pair> make_y_control_me... function make_z_control_mesh (line 319) | std::pair> make_z_control_me... function make_detector_mesh (line 345) | std::pair> make_detector_mes... FILE: src/stim/diagram/gate_data_3d.h function namespace (line 6) | namespace stim_draw_internal { FILE: src/stim/diagram/gate_data_3d_texture_data.h function namespace (line 6) | namespace stim_draw_internal { FILE: src/stim/diagram/gate_data_svg.h function namespace (line 24) | namespace stim_draw_internal { FILE: src/stim/diagram/gltf.cc function JsonObj (line 21) | JsonObj GltfScene::_to_json_local() const { function JsonObj (line 31) | JsonObj GltfScene::to_json() { function JsonObj (line 79) | JsonObj GltfSampler::to_json() const { function JsonObj (line 98) | JsonObj GltfImage::to_json() const { function JsonObj (line 118) | JsonObj GltfTexture::to_json() const { function JsonObj (line 140) | JsonObj GltfMaterial::to_json() const { function JsonObj (line 176) | JsonObj GltfPrimitive::to_json() const { function JsonObj (line 211) | JsonObj GltfMesh::to_json() const { function JsonObj (line 234) | JsonObj GltfNode::to_json() const { FILE: src/stim/diagram/gltf.h function namespace (line 12) | namespace stim_draw_internal { type std (line 35) | typedef std::function flattened_3d(SpanRef c) { function pick_coordinates (line 30) | std::vector> pick_coordinates(const DetectorErrorModel &dem) { function Basic3dDiagram (line 74) | Basic3dDiagram stim_draw_internal::dem_match_graph_to_basic_3d_diagram(c... FILE: src/stim/diagram/graph/match_graph_3d_drawer.h function namespace (line 10) | namespace stim_draw_internal { FILE: src/stim/diagram/graph/match_graph_3d_drawer.test.cc function expect_graph_diagram_is_identical_to_saved_file (line 30) | void expect_graph_diagram_is_identical_to_saved_file(const DetectorError... function TEST (line 38) | TEST(match_graph_drawer_3d, repetition_code) { function TEST (line 46) | TEST(match_graph_drawer_3d, surface_code) { function TEST (line 54) | TEST(match_graph_drawer_3d, missing_coordinates) { function TEST (line 83) | TEST(match_graph_drawer_3d, works_on_empty) { FILE: src/stim/diagram/graph/match_graph_svg_drawer.cc function project (line 8) | Coord<2> project(Coord<3> coord) { function write_key_val (line 13) | inline void write_key_val(std::ostream &out, const char *key, const T &v... FILE: src/stim/diagram/graph/match_graph_svg_drawer.h function namespace (line 26) | namespace stim_draw_internal { FILE: src/stim/diagram/graph/match_graph_svg_drawer.test.cc function expect_graph_svg_diagram_is_identical_to_saved_file (line 31) | void expect_graph_svg_diagram_is_identical_to_saved_file(const DetectorE... function TEST (line 38) | TEST(match_graph_drawer_svg, repetition_code) { function TEST (line 46) | TEST(match_graph_drawer_svg, surface_code) { function TEST (line 54) | TEST(match_graph_drawer_svg, missing_coordinates) { FILE: src/stim/diagram/json_obj.cc type JsonType (line 8) | enum JsonType : uint8_t { function indented_new_line (line 82) | void indented_new_line(std::ostream &out, int64_t indent) { FILE: src/stim/diagram/json_obj.h function namespace (line 24) | namespace stim_draw_internal { FILE: src/stim/diagram/json_obj.test.cc function TEST (line 22) | TEST(json_obj, str) { FILE: src/stim/diagram/lattice_map.h function namespace (line 24) | namespace stim_draw_internal { FILE: src/stim/diagram/timeline/timeline_3d_drawer.cc function trans (line 12) | Coord<3> trans(size_t m, Coord<2> xy) { function add_used_qubits (line 332) | void add_used_qubits(const Circuit &circuit, std::set &out) { function Basic3dDiagram (line 380) | Basic3dDiagram DiagramTimeline3DDrawer::circuit_to_basic_3d_diagram(cons... FILE: src/stim/diagram/timeline/timeline_3d_drawer.h function namespace (line 25) | namespace stim_draw_internal { FILE: src/stim/diagram/timeline/timeline_3d_drawer.test.cc function expect_diagram_is_identical_to_saved_file (line 30) | void expect_diagram_is_identical_to_saved_file(const Circuit &circuit, s... function TEST (line 57) | TEST(circuit_diagram_timeline_3d, single_qubit_gates) { function TEST (line 83) | TEST(circuit_diagram_timeline_3d, two_qubits_gates) { function TEST (line 113) | TEST(circuit_diagram_timeline_3d, noise_gates) { function TEST (line 138) | TEST(circuit_diagram_timeline_3d, collapsing) { function TEST (line 157) | TEST(circuit_diagram_timeline_3d, measurement_looping) { function TEST (line 173) | TEST(circuit_diagram_timeline_3d, repeat) { function TEST (line 186) | TEST(circuit_diagram_timeline_3d, classical_feedback) { function TEST (line 195) | TEST(circuit_diagram_timeline_3d, lattice_surgery_cnot) { function TEST (line 208) | TEST(circuit_diagram_timeline_3d, tick) { function TEST (line 229) | TEST(circuit_diagram_timeline_3d, detector_pseudo_targets) { function TEST (line 245) | TEST(circuit_diagram_timeline_3d, repetition_code) { function TEST (line 251) | TEST(circuit_diagram_timeline_3d, surface_code) { function TEST (line 257) | TEST(circuit_diagram_timeline_3d, test_circuit_all_ops) { FILE: src/stim/diagram/timeline/timeline_ascii_drawer.cc function AsciiDiagram (line 507) | AsciiDiagram DiagramTimelineAsciiDrawer::make_diagram(const Circuit &cir... FILE: src/stim/diagram/timeline/timeline_ascii_drawer.h function namespace (line 27) | namespace stim_draw_internal { FILE: src/stim/diagram/timeline/timeline_ascii_drawer.test.cc function TEST (line 13) | TEST(circuit_diagram_timeline_text, single_qubit_gates) { function TEST (line 46) | TEST(circuit_diagram_timeline_text, two_qubits_gates) { function TEST (line 88) | TEST(circuit_diagram_timeline_text, noise_gates) { function TEST (line 147) | TEST(circuit_diagram_timeline_text, collapsing) { function TEST (line 174) | TEST(circuit_diagram_timeline_text, unphysical_observable_include) { function TEST (line 204) | TEST(circuit_diagram_timeline_text, measurement_looping) { function TEST (line 232) | TEST(circuit_diagram_timeline_text, repeat) { function TEST (line 255) | TEST(circuit_diagram_timeline_text, classical_feedback) { function TEST (line 270) | TEST(circuit_diagram_timeline_text, lattice_surgery_cnot) { function TEST (line 304) | TEST(circuit_diagram_timeline_text, tick) { function TEST (line 331) | TEST(circuit_diagram_timeline_text, shifted_coords) { function TEST (line 363) | TEST(circuit_diagram_timeline_text, detector_pseudo_targets) { function TEST (line 393) | TEST(circuit_diagram_timeline_text, surface_code) { function TEST (line 451) | TEST(circuit_diagram_timeline_text, repetition_code) { function TEST (line 493) | TEST(circuit_diagram_timeline_text, repetition_code_transposed) { function TEST (line 530) | TEST(circuit_diagram_timeline_text, test_circuit_all_ops) { FILE: src/stim/diagram/timeline/timeline_svg_drawer.cc function write_key_val (line 23) | inline void write_key_val(std::ostream &out, const char *key, const T &v... function compute_minmax_q (line 451) | std::pair compute_minmax_q(SpanRef tar... FILE: src/stim/diagram/timeline/timeline_svg_drawer.h function DiagramTimelineSvgDrawerMode (line 32) | enum class DiagramTimelineSvgDrawerMode { FILE: src/stim/diagram/timeline/timeline_svg_drawer.test.cc function expect_svg_diagram_is_identical_to_saved_file (line 30) | void expect_svg_diagram_is_identical_to_saved_file(const Circuit &circui... function TEST (line 38) | TEST(circuit_diagram_timeline_svg, single_qubit_gates) { function TEST (line 64) | TEST(circuit_diagram_timeline_svg, two_qubits_gates) { function TEST (line 94) | TEST(circuit_diagram_timeline_svg, noise_gates) { function TEST (line 119) | TEST(circuit_diagram_timeline_svg, collapsing) { function TEST (line 138) | TEST(circuit_diagram_timeline_svg, measurement_looping) { function TEST (line 154) | TEST(circuit_diagram_timeline_svg, repeat) { function TEST (line 167) | TEST(circuit_diagram_timeline_svg, classical_feedback) { function TEST (line 176) | TEST(circuit_diagram_timeline_svg, lattice_surgery_cnot) { function TEST (line 189) | TEST(circuit_diagram_timeline_svg, tick) { function TEST (line 215) | TEST(circuit_diagram_timeline_svg, shifted_coords) { function TEST (line 233) | TEST(circuit_diagram_timeline_svg, detector_pseudo_targets) { function TEST (line 249) | TEST(circuit_diagram_timeline_svg, repetition_code) { function TEST (line 255) | TEST(circuit_diagram_timeline_svg, surface_code) { function TEST (line 261) | TEST(circuit_diagram_time_detector_slice_svg, surface_code_partial) { function TEST (line 272) | TEST(circuit_diagram_time_detector_slice_svg, surface_code_full) { function TEST (line 283) | TEST(circuit_diagram_time_slice_svg, surface_code) { function TEST (line 293) | TEST(circuit_diagram_timeline_svg, chained_loops) { function TEST (line 324) | TEST(diagram_timeline_svg_drawer, make_diagram_write_to) { function TEST (line 339) | TEST(diagram_timeline_svg_drawer, test_circuit_all_ops_time_slice) { function TEST (line 348) | TEST(diagram_timeline_svg_drawer, test_circuit_all_ops_time_line) { function TEST (line 357) | TEST(diagram_timeline_svg_drawer, test_circuit_all_ops_detslice) { function TEST (line 366) | TEST(diagram_timeline_svg_drawer, anticommuting_detector_circuit) { function TEST (line 385) | TEST(diagram_timeline_svg_drawer, bezier_curves) { FILE: src/stim/gates/gates.cc function GateType (line 48) | GateType Gate::hadamard_conjugated(bool ignoring_sign) const { function Gate (line 324) | const Gate &Gate::inverse() const { FILE: src/stim/gates/gates.h function namespace (line 30) | namespace stim { FILE: src/stim/gates/gates.perf.cc function BENCHMARK (line 23) | BENCHMARK(gate_data_hash_all_gate_names) { FILE: src/stim/gates/gates.pybind.cc function gate_num_parens_argument_range (line 25) | pybind11::object gate_num_parens_argument_range(const GateTypeWrapper &s... function gate_aliases (line 36) | std::vector gate_aliases(const GateTypeWrapper &self_i... function gate_tableau (line 47) | pybind11::object gate_tableau(const GateTypeWrapper &self_id) { function gate_unitary_matrix (line 54) | pybind11::object gate_unitary_matrix(const GateTypeWrapper &self_id) { FILE: src/stim/gates/gates.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/gates/gates.test.cc function TEST (line 30) | TEST(gate_data, lookup) { function TEST (line 44) | TEST(gate_data, zero_flag_means_not_a_gate) { function TEST (line 56) | TEST(gate_data, one_step_to_canonical_gate) { function TEST (line 65) | TEST(gate_data, hash_matches_storage_location) { function circuit_output_eq_val (line 79) | static std::pair>, std::vector... function is_decomposition_correct (line 90) | bool is_decomposition_correct(const Gate &gate) { function canonicalize_global_phase (line 190) | std::array, 4> canonicalize_global_phase(std::array<... function expect_unitaries_close_up_global_phase (line 202) | void expect_unitaries_close_up_global_phase( function reconstruct_unitary_from_euler_angles (line 220) | std::array, 4> reconstruct_unitary_from_euler_angles... function reconstruct_unitary_from_data (line 232) | std::array, 4> reconstruct_unitary_from_data(Gate g) { function reconstruct_unitary_from_axis_angle (line 241) | std::array, 4> reconstruct_unitary_from_axis_angle(c... function reconstruct_unitary_from_euler_angles_via_vector_sim_for_axis_reference (line 257) | std::array, 4> reconstruct_unitary_from_euler_angles... function TEST (line 281) | TEST(gate_data, to_euler_angles) { function TEST (line 291) | TEST(gate_data, to_axis_angle) { function TEST (line 301) | TEST(gate_data, to_euler_angles_axis_reference) { function TEST (line 311) | TEST(gate_data, is_symmetric_vs_flow_generators_of_two_qubit_gates) { function TEST (line 328) | TEST(gate_data, hadamard_conjugated_vs_flow_generators_of_two_qubit_gate... FILE: src/stim/gates/gates_test.py function test_gate_data_eq (line 5) | def test_gate_data_eq(): function test_gate_data_str (line 12) | def test_gate_data_str(): function test_num_parens_arguments_range (line 54) | def test_num_parens_arguments_range(): function test_is_reset (line 59) | def test_is_reset(): function test_is_two_qubit_gate (line 65) | def test_is_two_qubit_gate(): function test_is_single_qubit_gate (line 70) | def test_is_single_qubit_gate(): function test_is_noisy_gate (line 75) | def test_is_noisy_gate(): function test_produces_measurements (line 80) | def test_produces_measurements(): function test_takes_pauli_targets (line 85) | def test_takes_pauli_targets(): function test_aliases (line 90) | def test_aliases(): function test_tableau (line 95) | def test_tableau(): function test_name (line 99) | def test_name(): function test_gate_data_repr (line 103) | def test_gate_data_repr(): function test_takes_measurement_record_targets (line 108) | def test_takes_measurement_record_targets(): function test_gate_data_inverse (line 113) | def test_gate_data_inverse(): function test_gate_data_flows (line 136) | def test_gate_data_flows(): function test_gate_is_symmetric (line 143) | def test_gate_is_symmetric(): function test_gate_hadamard_conjugated (line 153) | def test_gate_hadamard_conjugated(): FILE: src/stim/gen/circuit_gen_params.cc function append_anti_basis_error (line 7) | void append_anti_basis_error(Circuit &circuit, const std::vector data, SampleFormat format) { function read_records_as_bytes (line 126) | size_t read_records_as_bytes(FILE *in, SpanRef buf, SampleForma... FILE: src/stim/io/measure_record_writer.h function namespace (line 26) | namespace stim { FILE: src/stim/io/measure_record_writer.test.cc function TEST (line 26) | TEST(MeasureRecordWriter, Format01) { function TEST (line 38) | TEST(MeasureRecordWriter, FormatB8) { function TEST (line 54) | TEST(MeasureRecordWriter, FormatHits) { function TEST (line 66) | TEST(MeasureRecordWriter, FormatDets) { function TEST (line 81) | TEST(MeasureRecordWriter, FormatDets_EmptyRecords) { function TEST (line 90) | TEST(MeasureRecordWriter, FormatDets_MultipleRecords) { function TEST (line 119) | TEST(MeasureRecordWriter, FormatR8) { function TEST (line 144) | TEST(MeasureRecordWriter, FormatR8_LongGap) { function TEST (line 390) | TEST(MeasureRecordWriter, write_bits_01_a) { function TEST (line 399) | TEST(MeasureRecordWriter, write_bits_01_b) { function TEST (line 408) | TEST(MeasureRecordWriter, write_bits_b8_a) { function TEST (line 417) | TEST(MeasureRecordWriter, write_bits_b8_b) { function TEST (line 426) | TEST(MeasureRecordWriter, write_bits_r8_a) { function TEST (line 435) | TEST(MeasureRecordWriter, write_bits_r8_b) { FILE: src/stim/io/raii_file.h function namespace (line 21) | namespace stim { FILE: src/stim/io/read_write.pybind.cc function path_to_string (line 28) | std::string path_to_string(const pybind11::object &path_obj) { function buffer_slice_to_numpy (line 42) | pybind11::object buffer_slice_to_numpy( function read_shot_data_file (line 97) | pybind11::object read_shot_data_file( function write_shot_data_file (line 146) | void write_shot_data_file( FILE: src/stim/io/read_write.pybind.h function namespace (line 23) | namespace stim_pybind { FILE: src/stim/io/read_write_pytest.py function test_read_shot_data_file_01 (line 24) | def test_read_shot_data_file_01(): function test_read_shot_data_file_dets (line 75) | def test_read_shot_data_file_dets(): function test_write_shot_data_file_01 (line 168) | def test_write_shot_data_file_01(): function test_read_data_file_partial_b8 (line 231) | def test_read_data_file_partial_b8(): function test_read_data_file_big_b8 (line 245) | def test_read_data_file_big_b8(): function test_read_01_shots (line 258) | def test_read_01_shots(): function test_read_write_shots_fuzzing (line 279) | def test_read_write_shots_fuzzing(data_format: str, bit_packed: bool, pa... function test_read_write_shots_fuzzing_vs_python_references (line 315) | def test_read_write_shots_fuzzing_vs_python_references(data_format: str,... FILE: src/stim/io/sparse_shot.h function namespace (line 25) | namespace stim { FILE: src/stim/io/sparse_shot.test.cc function obs_mask (line 23) | static simd_bits<64> obs_mask(uint64_t v) { function TEST (line 29) | TEST(sparse_shot, equality) { function TEST (line 41) | TEST(sparse_shot, str) { function TEST (line 47) | TEST(spares_shot, obs_mask_as_u64) { FILE: src/stim/io/stim_data_formats.h function SampleFormat (line 9) | enum class SampleFormat { FILE: src/stim/main.perf.cc function si2 (line 29) | std::string si2(double val) { function find_benchmarks (line 82) | void find_benchmarks(std::string_view filter, std::vector tile32(uint32_t pattern) { function operator (line 90) | inline operator bool() const { // NOLINT(hicpp-explicit-conversions) function operator (line 97) | inline operator uint64_t() const { // NOLINT(hicpp-explicit-conversions) function bitword (line 141) | inline bitword<128> andnot(const bitword<128> &other) const { function bitword (line 154) | inline bitword<128> shifted(int offset) const { FILE: src/stim/mem/bitword_256_avx.h function namespace (line 29) | namespace stim { function bitword (line 70) | inline static bitword<256> tile32(uint32_t pattern) { function operator (line 87) | inline operator bool() const { // NOLINT(hicpp-explicit-conversions) function operator (line 94) | inline operator uint64_t() const { // NOLINT(hicpp-explicit-conversions) function bitword (line 138) | inline bitword<256> andnot(const bitword<256> &other) const { function bitword (line 151) | inline bitword<256> shifted(int offset) const { FILE: src/stim/mem/bitword_64.h function namespace (line 28) | namespace stim { FILE: src/stim/mem/fixed_cap_vector.test.cc function TEST (line 7) | TEST(FixedCapVector, basic_usage) { function TEST (line 53) | TEST(FixedCapVector, push_pop) { function TEST (line 84) | TEST(FixedCapVector, ordering) { function TEST (line 107) | TEST(FixedCapVector, str) { FILE: src/stim/mem/monotonic_buffer.h function namespace (line 27) | namespace stim { FILE: src/stim/mem/monotonic_buffer.test.cc function TEST (line 21) | TEST(pointer_range, equality) { function TEST (line 42) | TEST(monotonic_buffer, append_tail) { function TEST (line 55) | TEST(monotonic_buffer, ensure_available) { FILE: src/stim/mem/simd_bit_table.h function namespace (line 22) | namespace stim { FILE: src/stim/mem/simd_bit_table.perf.cc function BENCHMARK (line 21) | BENCHMARK(simd_bit_table_inplace_square_transpose_diam10K) { function BENCHMARK (line 31) | BENCHMARK(simd_bit_table_out_of_place_transpose_diam10K) { FILE: src/stim/mem/simd_bit_table.test.cc function TEST (line 281) | TEST(simd_bit_table, lg) { function is_table_overlap_identical (line 318) | bool is_table_overlap_identical(const simd_bit_table &a, const simd_b... function is_table_zero_outside (line 330) | bool is_table_zero_outside(const simd_bit_table &a, size_t num_major_... FILE: src/stim/mem/simd_bits.h function namespace (line 26) | namespace stim { FILE: src/stim/mem/simd_bits.perf.cc function BENCHMARK (line 23) | BENCHMARK(simd_bits_randomize_10K) { function BENCHMARK (line 34) | BENCHMARK(simd_bits_xor_10K) { function BENCHMARK (line 45) | BENCHMARK(simd_bits_not_zero_100K) { FILE: src/stim/mem/simd_bits.test.cc function set_bits_from_u64_vector (line 168) | void set_bits_from_u64_vector(simd_bits &bits, std::vector ... function set_random_words_to_all_set (line 293) | void set_random_words_to_all_set( FILE: src/stim/mem/simd_bits_range_ref.h function namespace (line 28) | namespace stim { FILE: src/stim/mem/simd_util.cc function inplace_transpose_64x64_pass (line 18) | void inplace_transpose_64x64_pass(uint64_t *data, size_t stride) { FILE: src/stim/mem/simd_util.h function namespace (line 23) | namespace stim { FILE: src/stim/mem/simd_util.test.cc function reference_transpose_of (line 29) | simd_bits reference_transpose_of(size_t bit_width, const simd_bits... function determine_permutation_bit_else_0xFF (line 41) | uint8_t determine_permutation_bit_else_0xFF(const std::function &other) const { function other (line 128) | bool operator==(const SpanRef::type> &othe... function operator (line 131) | bool operator!=(const SpanRef &other) const { function other (line 134) | bool operator!=(const SpanRef::type> &othe... FILE: src/stim/mem/sparse_xor_vec.h function namespace (line 30) | namespace stim { FILE: src/stim/mem/sparse_xor_vec.perf.cc function BENCHMARK (line 21) | BENCHMARK(SparseXorTable_SmallRowXor_1000) { function BENCHMARK (line 45) | BENCHMARK(SparseXorVec_XorItem) { FILE: src/stim/mem/sparse_xor_vec.test.cc function TEST (line 26) | TEST(sparse_xor_table, inplace_xor) { function TEST (line 40) | TEST(sparse_xor_table, grow) { function TEST (line 54) | TEST(sparse_xor_table, historical_failure_case) { function TEST (line 68) | TEST(sparse_xor_table, comparison) { function TEST (line 91) | TEST(sparse_xor_table, str) { function TEST (line 102) | TEST(sparse_xor_table, empty) { function TEST (line 111) | TEST(sparse_xor_vec, is_subset_of_sorted) { function TEST (line 159) | TEST(sparse_xor_vec, is_superset_of) { function TEST (line 165) | TEST(sparse_xor_vec, contains) { function TEST (line 175) | TEST(sparse_xor_vec, inplace_xor_sort) { FILE: src/stim/perf.perf.h function goal_nanos (line 27) | struct BenchmarkResult { type RegisteredBenchmark (line 58) | struct RegisteredBenchmark { function add_benchmark (line 66) | inline void add_benchmark(RegisteredBenchmark benchmark) { FILE: src/stim/py/base.pybind.cc function SampleFormat (line 72) | SampleFormat stim_pybind::format_to_enum(std::string_view format) { FILE: src/stim/py/base.pybind.h function namespace (line 29) | namespace stim_pybind { FILE: src/stim/py/compiled_detector_sampler.pybind.cc function CompiledDetectorSampler (line 151) | CompiledDetectorSampler stim_pybind::py_init_compiled_detector_sampler( FILE: src/stim/py/compiled_detector_sampler.pybind.h function namespace (line 26) | namespace stim_pybind { FILE: src/stim/py/compiled_detector_sampler_pybind_test.py function test_compiled_detector_sampler_trivial (line 23) | def test_compiled_detector_sampler_trivial(): function test_compiled_detector_sampler_sample (line 37) | def test_compiled_detector_sampler_sample(): function test_write_obs_file (line 162) | def test_write_obs_file(): function test_detector_sampler_actually_fills_array (line 204) | def test_detector_sampler_actually_fills_array(): function test_manual_output_buffer (line 215) | def test_manual_output_buffer(): FILE: src/stim/py/compiled_measurement_sampler.pybind.cc function CompiledMeasurementSampler (line 63) | CompiledMeasurementSampler stim_pybind::py_init_compiled_sampler( FILE: src/stim/py/compiled_measurement_sampler.pybind.h function namespace (line 25) | namespace stim_pybind { FILE: src/stim/py/compiled_measurement_sampler_pybind_test.py function test_compiled_measurement_sampler_sample (line 21) | def test_compiled_measurement_sampler_sample(): function test_measurements_vs_resets (line 55) | def test_measurements_vs_resets(): function test_sample_write (line 85) | def test_sample_write(): function test_skip_reference_sample (line 101) | def test_skip_reference_sample(): function test_reference_sample_init (line 123) | def test_reference_sample_init(): function test_repr (line 166) | def test_repr(): function test_circuit_sampler_actually_fills_array (line 184) | def test_circuit_sampler_actually_fills_array(): FILE: src/stim/py/march.pybind.cc function cpuid (line 11) | void cpuid(int info[4], int infoType) { function cpuid (line 20) | void cpuid(int info[4], int infoType) { function detect_march (line 25) | std::string detect_march() { function PYBIND11_MODULE (line 57) | PYBIND11_MODULE(_detect_machine_architecture, m) { FILE: src/stim/py/numpy.pybind.cc function transposed_simd_bit_table_to_numpy_uint8 (line 20) | static pybind11::object transposed_simd_bit_table_to_numpy_uint8( function transposed_simd_bit_table_to_numpy_bool8 (line 65) | static pybind11::object transposed_simd_bit_table_to_numpy_bool8( function simd_bit_table_to_numpy_uint8 (line 104) | static pybind11::object simd_bit_table_to_numpy_uint8( function simd_bit_table_to_numpy_bool8 (line 155) | static pybind11::object simd_bit_table_to_numpy_bool8( function bit_packed_numpy_uint8_array_to_transposed_simd_table (line 246) | simd_bit_table bit_packed_numpy_uint8_array_to_transp... function bit_packed_numpy_bool8_array_to_transposed_simd_table (line 281) | simd_bit_table bit_packed_numpy_bool8_array_to_transp... function bits_to_numpy_bool8 (line 322) | pybind11::object bits_to_numpy_bool8(simd_bits_range_ref target_combined_paulis(const pybind11::object &p... function GateTarget (line 151) | GateTarget target_pauli(uint32_t qubit_index, const pybind11::object &pa... function GateTarget (line 190) | GateTarget target_sweep_bit(uint32_t qubit) { function stim_main (line 194) | int stim_main(const std::vector &args) { function raw_format_data_solo (line 205) | pybind11::object raw_format_data_solo(const FileFormatData &data) { function raw_format_data (line 214) | pybind11::dict raw_format_data() { function top_level (line 222) | void top_level(pybind11::module &m) { function PYBIND11_MODULE (line 574) | PYBIND11_MODULE(STIM_PYBIND11_MODULE_NAME, m) { FILE: src/stim/py/stim_pybind_test.py function test_version (line 27) | def test_version(): function test_targets (line 31) | def test_targets(): function test_gate_data (line 61) | def test_gate_data(): function test_format_data (line 70) | def test_format_data(): function test_main_write_to_file (line 124) | def test_main_write_to_file(): function test_main_help (line 139) | def test_main_help(capsys): function test_main_redirects_stdout (line 146) | def test_main_redirects_stdout(capsys): function test_main_redirects_stderr (line 159) | def test_main_redirects_stderr(capsys): function test_target_methods_accept_gate_targets (line 172) | def test_target_methods_accept_gate_targets(): function test_target_pauli (line 210) | def test_target_pauli(): function test_target_combined_paulis (line 236) | def test_target_combined_paulis(): FILE: src/stim/search/graphlike/algo.cc function DetectorErrorModel (line 30) | DetectorErrorModel backtrack_path(const std::unordered_map obs_mask(uint64_t v) { function TEST (line 30) | TEST(search_graphlike, Edge) { FILE: src/stim/search/graphlike/graph.cc function Graph (line 98) | Graph Graph::from_dem(const DetectorErrorModel &model, bool ignore_ungra... FILE: src/stim/search/graphlike/graph.h function namespace (line 23) | namespace stim { FILE: src/stim/search/graphlike/graph.test.cc function obs_mask (line 22) | static simd_bits<64> obs_mask(uint64_t v) { function TEST (line 28) | TEST(search_graphlike, DemAdjGraph_equality) { function TEST (line 42) | TEST(search_graphlike, DemAdjGraph_add_outward_edge) { function TEST (line 106) | TEST(search_graphlike, DemAdjGraph_add_edges_from_targets_with_no_separa... function TEST (line 174) | TEST(search_graphlike, DemAdjGraph_str) { function TEST (line 195) | TEST(search_graphlike, DemAdjGraph_add_edges_from_separable_targets) { function TEST (line 221) | TEST(search_graphlike, DemAdjGraph_from_dem) { function TEST (line 251) | TEST(search_graphlike, add_edges_from_separable_targets_ignore) { FILE: src/stim/search/graphlike/node.h function namespace (line 24) | namespace stim { FILE: src/stim/search/graphlike/node.test.cc function obs_mask (line 22) | static simd_bits<64> obs_mask(uint64_t v) { function TEST (line 28) | TEST(search_graphlike, Node) { FILE: src/stim/search/graphlike/search_state.cc function SearchState (line 42) | SearchState SearchState::canonical() const { FILE: src/stim/search/graphlike/search_state.h function namespace (line 23) | namespace stim { FILE: src/stim/search/graphlike/search_state.test.cc function obs_mask (line 24) | static simd_bits<64> obs_mask(uint64_t v) { function TEST (line 30) | TEST(search_graphlike, DemAdjGraphSearchState_construct) { function TEST (line 42) | TEST(search_graphlike, DemAdjGraphSearchState_is_undetected) { function TEST (line 51) | TEST(search_graphlike, DemAdjGraphSearchState_canonical) { function TEST (line 78) | TEST(search_graphlike, DemAdjGraphSearchState_append_transition_as_error... function TEST (line 119) | TEST(search_graphlike, DemAdjGraphSearchState_canonical_equality) { function TEST (line 136) | TEST(search_graphlike, DemAdjGraphSearchState_canonical_ordering) { function TEST (line 148) | TEST(search_graphlike, DemAdjGraphSearchState_str) { function TEST (line 152) | TEST(search_graphlike, SearchStateHash_operator) { FILE: src/stim/search/hyper/algo.cc function DetectorErrorModel (line 30) | DetectorErrorModel backtrack_path(const std::map obs_mask(uint64_t v) { function TEST (line 28) | TEST(search_decay, Edge) { FILE: src/stim/search/hyper/graph.cc function Graph (line 50) | Graph Graph::from_dem(const DetectorErrorModel &model, size_t dont_explo... FILE: src/stim/search/hyper/graph.h function namespace (line 23) | namespace stim { FILE: src/stim/search/hyper/graph.test.cc function obs_mask (line 22) | static simd_bits<64> obs_mask(uint64_t v) { function TEST (line 28) | TEST(search_hyper_graph, equality) { function TEST (line 42) | TEST(search_hyper_graph, add_edge_from_dem_targets) { function TEST (line 69) | TEST(search_hyper_graph, str) { function TEST (line 90) | TEST(search_hyper_graph, from_dem) { FILE: src/stim/search/hyper/node.h function namespace (line 24) | namespace stim { FILE: src/stim/search/hyper/node.test.cc function obs_mask (line 22) | static simd_bits<64> obs_mask(uint64_t v) { function TEST (line 28) | TEST(search_decay, Node) { FILE: src/stim/search/hyper/search_state.h function namespace (line 24) | namespace stim { FILE: src/stim/search/hyper/search_state.test.cc function obs_mask (line 24) | static simd_bits<64> obs_mask(uint64_t v) { function TEST (line 30) | TEST(search_hyper_search_state, append_transition_as_error_instruction_t... function TEST (line 55) | TEST(search_hyper_search_state, equality) { function TEST (line 67) | TEST(search_hyper_search_state, ordering) { function TEST (line 80) | TEST(search_hyper_search_state, str) { FILE: src/stim/search/sat/wcnf.cc type BoolRef (line 27) | struct BoolRef { method BoolRef (line 30) | BoolRef operator~() const { method BoolRef (line 33) | static BoolRef False() { method BoolRef (line 36) | static BoolRef True() { type Clause (line 41) | struct Clause { method add_var (line 44) | void add_var(BoolRef x) { type MaxSATInstance (line 49) | struct MaxSATInstance { method BoolRef (line 53) | BoolRef new_bool() { method add_clause (line 56) | void add_clause(Clause &clause) { method BoolRef (line 65) | BoolRef Xor(BoolRef &x, BoolRef &y) { method quantized_weight (line 115) | size_t quantized_weight(bool weighted, size_t quantization, size_t top... method to_wdimacs (line 128) | std::string to_wdimacs(bool weighted, size_t quantization) { function sat_problem_as_wcnf_string (line 170) | std::string sat_problem_as_wcnf_string(const DetectorErrorModel &model, ... FILE: src/stim/search/sat/wcnf.h function namespace (line 6) | namespace stim { FILE: src/stim/search/sat/wcnf.test.cc function TEST (line 9) | TEST(shortest_error_sat_problem, no_error) { function TEST (line 14) | TEST(shortest_error_sat_problem, single_obs_no_dets) { function TEST (line 26) | TEST(shortest_error_sat_problem, single_dets_no_obs) { function TEST (line 33) | TEST(shortest_error_sat_problem, no_dets_no_obs) { function TEST (line 40) | TEST(shortest_error_sat_problem, no_errors) { function TEST (line 45) | TEST(shortest_error_sat_problem, single_detector_single_observable) { function TEST (line 112) | TEST(likeliest_error_sat_problem, no_error) { function TEST (line 117) | TEST(likeliest_error_sat_problem, single_detector_single_observable) { function TEST (line 161) | TEST(likeliest_error_sat_problem, single_detector_single_observable_larg... function TEST (line 206) | TEST(likeliest_error_sat_problem, single_detector_single_observable_half... FILE: src/stim/simulators/dem_sampler.h function namespace (line 26) | namespace stim { FILE: src/stim/simulators/dem_sampler.perf.cc function BENCHMARK (line 23) | BENCHMARK(DemSampler_surface_code_rotated_memory_z_distance11_100rounds_... FILE: src/stim/simulators/dem_sampler.pybind.cc function RaiiFile (line 24) | RaiiFile optional_py_path_to_raii_file(const pybind11::object &obj, cons... function dem_sampler_py_sample (line 41) | pybind11::object dem_sampler_py_sample( FILE: src/stim/simulators/dem_sampler.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/simulators/dem_sampler_pybind_test.py function test_dem_sampler_sample (line 9) | def test_dem_sampler_sample(bit_packed: bool): function test_dem_sampler_sampler_write (line 21) | def test_dem_sampler_sampler_write(): function test_dem_sampler_actually_fills_obs_array (line 76) | def test_dem_sampler_actually_fills_obs_array(): FILE: src/stim/simulators/error_analyzer.cc function comma_sep_workaround (line 394) | std::string comma_sep_workaround(const TIter &iterable) { function inplace_xor_tail (line 759) | inline void inplace_xor_tail(MonotonicBuffer &dst, const SparseXorVec... function DetectorErrorModel (line 958) | DetectorErrorModel unreversed(const DetectorErrorModel &rev, uint64_t &b... function DetectorErrorModel (line 1014) | DetectorErrorModel ErrorAnalyzer::circuit_to_detector_error_model( function ErrorEquivalenceClass (line 1055) | ErrorEquivalenceClass ErrorAnalyzer::add_xored_error( function ErrorEquivalenceClass (line 1062) | ErrorEquivalenceClass ErrorAnalyzer::mono_dedupe_store_tail(std::string_... function ErrorEquivalenceClass (line 1073) | ErrorEquivalenceClass ErrorAnalyzer::mono_dedupe_store(ErrorEquivalenceC... function ErrorEquivalenceClass (line 1084) | ErrorEquivalenceClass ErrorAnalyzer::add_error( function ErrorEquivalenceClass (line 1092) | ErrorEquivalenceClass ErrorAnalyzer::add_error_in_sorted_jagged_tail(dou... function obs_mask_of_targets (line 1401) | std::pair obs_mask_of_targets(SpanRef func) { function TEST (line 2363) | TEST(ErrorAnalyzer, context_clues_for_errors) { function TEST (line 2403) | TEST(ErrorAnalyzer, too_many_symptoms) { function TEST (line 2450) | TEST(ErrorAnalyzer, decompose_error_failures) { function TEST (line 2516) | TEST(ErrorAnalyzer, other_error_decomposition_fallback) { function TEST (line 2589) | TEST(ErrorAnalyzer, is_graph_like) { function TEST (line 2652) | TEST(ErrorAnalyzer, honeycomb_code_decomposes) { function TEST (line 2720) | TEST(ErrorAnalyzer, measure_pauli_product_4body) { function TEST (line 2756) | TEST(ErrorAnalyzer, ignores_sweep_controls) { function TEST (line 2776) | TEST(ErrorAnalyzer, mpp_ordering) { function TEST (line 2866) | TEST(ErrorAnalyzer, anticommuting_observable_error_message_help) { function TEST (line 2967) | TEST(ErrorAnalyzer, brute_force_decomp_simple) { function TEST (line 3010) | TEST(ErrorAnalyzer, brute_force_decomp_introducing_obs_pair) { function TEST (line 3062) | TEST(ErrorAnalyzer, brute_force_decomp_with_obs) { function TEST (line 3126) | TEST(ErrorAnalyzer, ignore_failures) { function TEST (line 3157) | TEST(ErrorAnalyzer, block_remnant_edge) { function TEST (line 3180) | TEST(ErrorAnalyzer, dont_fold_when_observable_dependencies_cross_iterati... function TEST (line 3196) | TEST(ErrorAnalyzer, else_correlated_error_block) { function TEST (line 3282) | TEST(ErrorAnalyzer, measurement_before_beginning) { function TEST (line 3298) | TEST(ErrorAnalyzer, mpad) { function TEST (line 3319) | TEST(ErrorAnalyzer, mxx) { function TEST (line 3359) | TEST(ErrorAnalyzer, myy) { function TEST (line 3399) | TEST(ErrorAnalyzer, mzz) { function TEST (line 3439) | TEST(ErrorAnalyzer, heralded_erase_conditional_division) { function TEST (line 3507) | TEST(ErrorAnalyzer, heralded_erase) { function TEST (line 3603) | TEST(ErrorAnalyzer, runs_on_general_circuit) { function TEST (line 3609) | TEST(ErrorAnalyzer, heralded_pauli_channel_1) { function TEST (line 3661) | TEST(ErrorAnalyzer, OBS_INCLUDE_PAULIS) { function TEST (line 3731) | TEST(ErrorAnalyzer, tagged_noise) { FILE: src/stim/simulators/error_matcher.h function namespace (line 23) | namespace stim { FILE: src/stim/simulators/error_matcher.test.cc function TEST (line 25) | TEST(ErrorMatcher, X_ERROR) { function TEST (line 83) | TEST(ErrorMatcher, CORRELATED_ERROR) { function TEST (line 109) | TEST(ErrorMatcher, MX_ERROR) { function TEST (line 137) | TEST(ErrorMatcher, MPP_ERROR) { function TEST (line 163) | TEST(ErrorMatcher, MXX_ERROR) { function TEST (line 189) | TEST(ErrorMatcher, ELSE_CORRELATED_ERROR) { function TEST (line 216) | TEST(ErrorMatcher, HERALDED_ERASE) { function TEST (line 283) | TEST(ErrorMatcher, repetition_code_data_depolarization) { function TEST (line 416) | TEST(ErrorMatcher, repetition_code_data_depolarization_single_results) { function TEST (line 501) | TEST(ErrorMatcher, surface_code_filter) { function TEST (line 534) | TEST(ErrorMatcher, runs_on_all_gates_circuit) { function TEST (line 553) | TEST(ErrorMatcher, heralded_error) { function TEST (line 610) | TEST(ErrorMatcher, PAULI_CHANNEL_2) { FILE: src/stim/simulators/force_streaming.cc type stim (line 5) | namespace stim { function should_use_streaming_because_bit_count_is_too_large_to_store (line 15) | bool should_use_streaming_because_bit_count_is_too_large_to_store(uint... FILE: src/stim/simulators/force_streaming.h function namespace (line 6) | namespace stim { FILE: src/stim/simulators/frame_simulator.h function FrameSimulatorMode (line 29) | enum class FrameSimulatorMode { FILE: src/stim/simulators/frame_simulator.perf.cc function BENCHMARK (line 23) | BENCHMARK(FrameSimulator_depolarize1_100Kqubits_1Ksamples_per1000) { function BENCHMARK (line 43) | BENCHMARK(FrameSimulator_depolarize2_100Kqubits_1Ksamples_per1000) { function BENCHMARK (line 64) | BENCHMARK(FrameSimulator_hadamard_100Kqubits_1Ksamples) { function BENCHMARK (line 84) | BENCHMARK(FrameSimulator_CX_100Kqubits_1Ksamples) { function BENCHMARK (line 104) | BENCHMARK(FrameSimulator_surface_code_rotated_memory_z_d11_r100_batch102... FILE: src/stim/simulators/frame_simulator.pybind.cc function py_index_to_optional_size_t (line 13) | std::optional py_index_to_optional_size_t( function generate_biased_samples_bit_packed_contiguous (line 36) | static void generate_biased_samples_bit_packed_contiguous( function generate_biased_samples_bit_packed_with_stride (line 65) | static void generate_biased_samples_bit_packed_with_stride( function generate_biased_samples_bool (line 81) | static void generate_biased_samples_bool( function generate_bernoulli_samples (line 96) | pybind11::object generate_bernoulli_samples( function pybind11_object_to_pauli_ixyz (line 158) | uint8_t pybind11_object_to_pauli_ixyz(const pybind11::object &obj) { function peek_pauli_flips (line 205) | pybind11::object peek_pauli_flips(const FrameSimulator &self, const p... function pick_output_numpy_array (line 220) | pybind11::object pick_output_numpy_array( function to_numpy (line 253) | pybind11::object to_numpy( function create_frame_simulator (line 311) | FrameSimulator create_frame_simulator( function sliced_table_to_numpy (line 332) | pybind11::object sliced_table_to_numpy( function get_measurement_flips (line 360) | pybind11::object get_measurement_flips( function get_detector_flips (line 378) | pybind11::object get_detector_flips( function get_obs_flips (line 396) | pybind11::object get_obs_flips( FILE: src/stim/simulators/frame_simulator.pybind.h function namespace (line 8) | namespace stim_pybind { FILE: src/stim/simulators/frame_simulator.test.cc function is_bulk_frame_operation_consistent_with_tableau (line 59) | bool is_bulk_frame_operation_consistent_with_tableau(const Gate &gate) { function is_output_possible_promising_no_bare_resets (line 107) | bool is_output_possible_promising_no_bare_resets(const Circuit &circuit,... function is_sim_frame_consistent_with_sim_tableau (line 147) | bool is_sim_frame_consistent_with_sim_tableau(const char *program_text) { FILE: src/stim/simulators/frame_simulator_pybind_test.py function test_get_measurement_flips (line 8) | def test_get_measurement_flips(): function test_stabilizer_randomization (line 29) | def test_stabilizer_randomization(): function test_get_detector_flips (line 64) | def test_get_detector_flips(): function test_get_observable_flips (line 93) | def test_get_observable_flips(): function test_peek_pauli_flips (line 123) | def test_peek_pauli_flips(): function test_set_pauli_flip (line 153) | def test_set_pauli_flip(): function test_broadcast_pauli_errors (line 219) | def test_broadcast_pauli_errors(): function test_repro_heralded_pauli_channel_1_bug (line 407) | def test_repro_heralded_pauli_channel_1_bug(): function test_to_numpy (line 418) | def test_to_numpy(): function test_generate_bernoulli_samples (line 556) | def test_generate_bernoulli_samples(): function test_get_measurement_flips_negative_index (line 617) | def test_get_measurement_flips_negative_index(): FILE: src/stim/simulators/frame_simulator_util.h function namespace (line 26) | namespace stim { FILE: src/stim/simulators/frame_simulator_util.test.cc function sample_test_detection_events (line 26) | simd_bit_table sample_test_detection_events(const Circuit &circuit, s... FILE: src/stim/simulators/graph_simulator.cc function GraphSimulator (line 231) | GraphSimulator GraphSimulator::random_state(size_t n, std::mt19937_64 &r... function Circuit (line 448) | Circuit GraphSimulator::to_circuit(bool to_hs_xyz) const { FILE: src/stim/simulators/graph_simulator.h function namespace (line 25) | namespace stim { FILE: src/stim/simulators/graph_simulator.test.cc function expect_graph_circuit_is_equivalent (line 11) | void expect_graph_circuit_is_equivalent(const Circuit &circuit) { function expect_graph_sim_effect_matches_tableau_sim (line 30) | void expect_graph_sim_effect_matches_tableau_sim(const GraphSimulator &s... function TEST (line 51) | TEST(graph_simulator, converts_circuits) { function TEST (line 79) | TEST(graph_simulator, after2inside_basis_transform) { function TEST (line 110) | TEST(graph_simulator, to_hs_xyz) { function TEST (line 138) | TEST(graph_simulator, inside_do_sqrt_z) { function TEST (line 185) | TEST(graph_simulator, inside_do_sqrt_x_dag) { function TEST (line 232) | TEST(graph_simulator, do_complementation) { function TEST (line 253) | TEST(graph_simulator, all_unitary_gates_work) { function TEST (line 271) | TEST(graph_simulator, to_circuit_single_qubit_gates) { FILE: src/stim/simulators/matched_error.cc function print_pauli_product (line 25) | void print_pauli_product(std::ostream &out, const std::vector &vec1, const std::vector &vec... FILE: src/stim/simulators/matched_error.h function namespace (line 23) | namespace stim { FILE: src/stim/simulators/matched_error.pybind.cc function CircuitErrorLocationStackFrame_repr (line 28) | std::string CircuitErrorLocationStackFrame_repr(const CircuitErrorLocati... function DemTargetWithCoords_repr (line 38) | std::string DemTargetWithCoords_repr(const DemTargetWithCoords &self) { function CircuitTargetsInsideInstruction_hash (line 47) | pybind11::ssize_t CircuitTargetsInsideInstruction_hash(const CircuitTarg... function GateTargetWithCoords_repr (line 58) | std::string GateTargetWithCoords_repr(const GateTargetWithCoords &self) { function FlippedMeasurement_repr (line 67) | std::string FlippedMeasurement_repr(const FlippedMeasurement &self) { function CircuitTargetsInsideInstruction_repr (line 84) | std::string CircuitTargetsInsideInstruction_repr(const CircuitTargetsIns... function CircuitErrorLocation_repr (line 99) | std::string CircuitErrorLocation_repr(const CircuitErrorLocation &self) { function MatchedError_repr (line 123) | std::string MatchedError_repr(const ExplainedError &self) { FILE: src/stim/simulators/matched_error.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/simulators/matched_error.test.cc function TEST (line 21) | TEST(matched_error, FlippedMeasurement_basics) { function TEST (line 23) | TEST(matched_error, DemTargetWithCoords_basics) { function TEST (line 39) | TEST(matched_error, GateTargetWithCoords_basics) { function TEST (line 57) | TEST(matched_error, CircuitErrorLocationStackFrame_basics) { function TEST (line 77) | TEST(matched_error, CircuitTargetsInsideInstruction_basics) { function TEST (line 101) | TEST(matched_error, CircuitTargetsInsideInstruction_fill) { function TEST (line 115) | TEST(matched_error, CircuitErrorLocation_basics) { function TEST (line 169) | TEST(matched_error, MatchedError_basics) { function TEST (line 252) | TEST(matched_error, MatchedError_fill) { FILE: src/stim/simulators/matched_error_pybind_test.py function test_CircuitErrorLocationStackFrame (line 4) | def test_CircuitErrorLocationStackFrame(): function test_GateTargetWithCoords (line 27) | def test_GateTargetWithCoords(): function test_DemTargetWithCoords (line 46) | def test_DemTargetWithCoords(): function test_FlippedMeasurement (line 65) | def test_FlippedMeasurement(): function test_CircuitTargetsInsideInstruction (line 92) | def test_CircuitTargetsInsideInstruction(): function test_CircuitErrorLocation (line 128) | def test_CircuitErrorLocation(): function test_MatchedError (line 199) | def test_MatchedError(): FILE: src/stim/simulators/measurements_to_detection_events.h function namespace (line 32) | namespace stim { FILE: src/stim/simulators/measurements_to_detection_events.pybind.cc function CompiledMeasurementsToDetectionEventsConverter (line 154) | CompiledMeasurementsToDetectionEventsConverter stim_pybind::py_init_comp... FILE: src/stim/simulators/measurements_to_detection_events.pybind.h function namespace (line 25) | namespace stim_pybind { FILE: src/stim/simulators/measurements_to_detection_events_test.py function test_convert_file_without_sweep_bits (line 22) | def test_convert_file_without_sweep_bits(): function test_convert (line 88) | def test_convert(): function test_convert_bit_packed (line 124) | def test_convert_bit_packed(): function test_convert_bit_packed_swept (line 168) | def test_convert_bit_packed_swept(): function test_convert_bit_packed_separate_observables (line 209) | def test_convert_bit_packed_separate_observables(): function test_noiseless_conversion (line 252) | def test_noiseless_conversion(): function test_needs_append_or_separate (line 277) | def test_needs_append_or_separate(): function test_anticommuting_pieces_combining_into_deterministic_observable (line 291) | def test_anticommuting_pieces_combining_into_deterministic_observable(): function test_converter_pickle (line 303) | def test_converter_pickle(): FILE: src/stim/simulators/sparse_rev_frame_tracker.cc function _det_vec_is_equal_to_after_shift (line 886) | bool _det_vec_is_equal_to_after_shift( function _rec_to_det_is_equal_to_after_shift (line 902) | bool _rec_to_det_is_equal_to_after_shift( function _vec_to_det_is_equal_to_after_shift (line 923) | bool _vec_to_det_is_equal_to_after_shift( FILE: src/stim/simulators/sparse_rev_frame_tracker.h function namespace (line 26) | namespace stim { FILE: src/stim/simulators/sparse_rev_frame_tracker.test.cc function SparseUnsignedRevFrameTracker (line 26) | SparseUnsignedRevFrameTracker _tracker_from_pauli_string(const char *tex... function qubit_targets (line 136) | static std::vector qubit_targets(const std::vector... function TEST (line 513) | TEST(SparseUnsignedRevFrameTracker, undo_circuit_feedback) { function TEST (line 526) | TEST(SparseUnsignedRevFrameTracker, equal_shifted) { function TEST (line 568) | TEST(SparseUnsignedRevFrameTracker, undo_circuit_loop_big_period) { function TEST (line 683) | TEST(SparseUnsignedRevFrameTracker, runs_on_general_circuit) { function TEST (line 691) | TEST(SparseUnsignedRevFrameTracker, tracks_anticommutation) { function TEST (line 719) | TEST(SparseUnsignedRevFrameTracker, MZZ) { function TEST (line 737) | TEST(SparseUnsignedRevFrameTracker, fail_anticommute) { function TEST (line 749) | TEST(SparseUnsignedRevFrameTracker, OBS_INCLUDE_PAULIS) { FILE: src/stim/simulators/tableau_simulator.h function target_p (line 294) | double target_p{} function CircuitInstruction (line 296) | CircuitInstruction data{GateType::E, {&target_p}, {&target_t[0], &target... FILE: src/stim/simulators/tableau_simulator.perf.cc function BENCHMARK (line 22) | BENCHMARK(TableauSimulator_CX_10Kqubits) { FILE: src/stim/simulators/tableau_simulator.pybind.cc function do_obj (line 17) | void do_obj(TableauSimulator &self, const pybind11::object &obj) { function create_tableau_simulator (line 39) | TableauSimulator create_tableau_simulator(const pybind11::object &see... function arg_to_qubit_or_qubits (line 44) | std::vector arg_to_qubit_or_qubits(TableauSimulator &self... function PyCircuitInstruction (line 70) | PyCircuitInstruction build_single_qubit_gate_instruction_ensure_size( function PyCircuitInstruction (line 100) | PyCircuitInstruction build_two_qubit_gate_instruction_ensure_size( FILE: src/stim/simulators/tableau_simulator.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/simulators/tableau_simulator.test.cc function qubit_targets (line 26) | static std::vector qubit_targets(const std::vector... type OpDat (line 33) | struct OpDat { method OpDat (line 35) | OpDat(uint32_t u) : targets(qubit_targets({u})) { method OpDat (line 37) | OpDat(std::vector u) : targets(qubit_targets(u)) { function vec_sim_corroborates_measurement_process (line 471) | bool vec_sim_corroborates_measurement_process( function scramble_stabilizers (line 923) | void scramble_stabilizers(TableauSimulator &s) { function expect_same_final_state (line 2193) | void expect_same_final_state(const Tableau &start, const Circuit &c1,... FILE: src/stim/simulators/tableau_simulator_pybind_test.py function test_basic (line 19) | def test_basic(): function test_access_tableau (line 35) | def test_access_tableau(): function test_gates_present (line 90) | def test_gates_present(name: str): function test_do (line 105) | def test_do(): function test_peek_bloch (line 113) | def test_peek_bloch(): function test_copy (line 127) | def test_copy(): function test_paulis (line 135) | def test_paulis(): function test_measure_kickback (line 156) | def test_measure_kickback(): function test_post_select_using_measure_kickback (line 186) | def test_post_select_using_measure_kickback(): function test_measure_kickback_random_branches (line 203) | def test_measure_kickback_random_branches(): function test_set_num_qubits (line 233) | def test_set_num_qubits(): function test_canonical_stabilizers (line 251) | def test_canonical_stabilizers(): function test_classical_control_cnot (line 271) | def test_classical_control_cnot(): function test_collision (line 287) | def test_collision(): function is_parallel_state_vector (line 296) | def is_parallel_state_vector(actual, expected) -> bool: function test_is_parallel_state_vector (line 307) | def test_is_parallel_state_vector(): function test_to_state_vector (line 319) | def test_to_state_vector(): function test_peek_observable_expectation (line 365) | def test_peek_observable_expectation(): function test_postselect (line 393) | def test_postselect(): function test_peek_pauli (line 415) | def test_peek_pauli(): function test_do_circuit (line 437) | def test_do_circuit(): function test_do_pauli_string (line 445) | def test_do_pauli_string(): function test_do_tableau (line 454) | def test_do_tableau(): function test_c_xyz_zyx (line 471) | def test_c_xyz_zyx(): function test_gate_aliases (line 480) | def test_gate_aliases(): function test_num_qubits (line 509) | def test_num_qubits(): function test_set_state_from_state_vector (line 516) | def test_set_state_from_state_vector(): function test_set_state_from_stabilizers (line 523) | def test_set_state_from_stabilizers(): function test_seed (line 531) | def test_seed(): function test_copy_without_fresh_entropy (line 552) | def test_copy_without_fresh_entropy(): function test_copy_with_fresh_entropy (line 562) | def test_copy_with_fresh_entropy(): function test_copy_with_explicit_seed (line 574) | def test_copy_with_explicit_seed(): function test_copy_with_explicit_copy_rng_and_seed (line 593) | def test_copy_with_explicit_copy_rng_and_seed(): function test_do_circuit_instruction (line 599) | def test_do_circuit_instruction(): function test_measure_observable (line 625) | def test_measure_observable(): function test_x_error (line 645) | def test_x_error(): function test_z_error (line 654) | def test_z_error(): function test_y_error (line 664) | def test_y_error(): function test_depolarize1_error (line 674) | def test_depolarize1_error(): function test_depolarize2_error (line 685) | def test_depolarize2_error(): function test_bad_inverse_padding_issue_is_fixed (line 702) | def test_bad_inverse_padding_issue_is_fixed(): function test_postselect_observable (line 711) | def test_postselect_observable(): FILE: src/stim/simulators/vector_simulator.cc function mat_vec_mul (line 30) | inline std::vector> mat_vec_mul( FILE: src/stim/simulators/vector_simulator.h function namespace (line 29) | namespace stim { FILE: src/stim/simulators/vector_simulator.test.cc function complex_distance (line 25) | static float complex_distance(std::complex a, std::complex... function TEST (line 32) | TEST(vector_sim, qubit_order) { function TEST (line 42) | TEST(vector_sim, h_squared) { function TEST (line 50) | TEST(vector_sim, sqrt_x_squared) { function TEST (line 58) | TEST(vector_sim, state_channel_duality_cnot) { function TEST (line 73) | TEST(vector_sim, state_channel_duality_y) { function TEST (line 138) | TEST(vector_sim, approximate_equals) { function TEST (line 277) | TEST(vector_sim, smooth_stabilizer_state) { function TEST (line 290) | TEST(vector_sim, do_unitary_circuit) { FILE: src/stim/stabilizers/clifford_string.h function namespace (line 24) | namespace stim { function CliffordString (line 178) | static CliffordString random(size_t num_qubits, std::mt19937_64 &rng) { function CliffordWord (line 231) | inline CliffordWord> word_at(size_t k) const { function set_word_at (line 242) | inline void set_word_at(size_t k, CliffordWord> new_value) co... function GateType (line 252) | GateType gate_at(size_t q) const { function set_gate_at (line 257) | void set_gate_at(size_t q, GateType gate_type) { function inplace_then (line 278) | void inplace_then(CircuitInstruction inst) { function CliffordString (line 313) | static CliffordString from_circuit(const Circuit &circuit) { function Circuit (line 321) | Circuit to_circuit() const { function ensure_num_qubits (line 333) | void ensure_num_qubits(size_t min_num_qubits) { function ipow (line 357) | void ipow(int64_t power) const { FILE: src/stim/stabilizers/clifford_string.perf.cc function BENCHMARK (line 7) | BENCHMARK(CliffordString_multiplication_10K) { FILE: src/stim/stabilizers/clifford_string.pybind.cc function trim (line 45) | static std::string_view trim(std::string_view text) { FILE: src/stim/stabilizers/clifford_string.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/stabilizers/clifford_string.test.cc function single_qubit_clifford_rotations (line 11) | std::vector single_qubit_clifford_rotations() { FILE: src/stim/stabilizers/clifford_string_pybind_test.py function test_trivial (line 20) | def test_trivial(): function test_simple (line 28) | def test_simple(): function test_multiplication (line 51) | def test_multiplication(): function test_random (line 63) | def test_random(): function test_set_item (line 70) | def test_set_item(): function all_cliffords_string_from_gate_data (line 98) | def all_cliffords_string_from_gate_data(): function test_x_outputs (line 108) | def test_x_outputs(): function test_y_outputs (line 121) | def test_y_outputs(): function test_z_outputs (line 134) | def test_z_outputs(): function test_all_cliffords_string (line 147) | def test_all_cliffords_string(): FILE: src/stim/stabilizers/flex_pauli_string.cc function FlexPauliString (line 28) | FlexPauliString FlexPauliString::operator+(const FlexPauliString &rhs) c... function FlexPauliString (line 34) | FlexPauliString &FlexPauliString::operator+=(const FlexPauliString &rhs) { function FlexPauliString (line 50) | FlexPauliString FlexPauliString::operator*(std::complex scale) co... function FlexPauliString (line 56) | FlexPauliString FlexPauliString::operator/(const std::complex &sc... function FlexPauliString (line 62) | FlexPauliString FlexPauliString::operator*(size_t power) const { function FlexPauliString (line 68) | FlexPauliString &FlexPauliString::operator*=(size_t power) { function FlexPauliString (line 91) | FlexPauliString &FlexPauliString::operator/=(const std::complex &... function FlexPauliString (line 104) | FlexPauliString &FlexPauliString::operator*=(std::complex scale) { function FlexPauliString (line 135) | FlexPauliString FlexPauliString::operator*(const FlexPauliString &rhs) c... function FlexPauliString (line 141) | FlexPauliString &FlexPauliString::operator*=(const FlexPauliString &rhs) { function parse_size_of_pauli_string_shorthand_if_sparse (line 180) | static size_t parse_size_of_pauli_string_shorthand_if_sparse(std::string... function parse_sparse_pauli_string (line 221) | static void parse_sparse_pauli_string(std::string_view text, FlexPauliSt... function FlexPauliString (line 282) | FlexPauliString FlexPauliString::from_text(std::string_view text) { FILE: src/stim/stabilizers/flex_pauli_string.h function namespace (line 23) | namespace stim { FILE: src/stim/stabilizers/flex_pauli_string.test.cc function TEST (line 7) | TEST(flex_pauli_string, mul) { function TEST (line 13) | TEST(flex_pauli_string, from_text) { FILE: src/stim/stabilizers/flow.h function namespace (line 22) | namespace stim { FILE: src/stim/stabilizers/flow.pybind.cc function py_init_flow (line 70) | static Flow py_init_flow( FILE: src/stim/stabilizers/flow.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/stabilizers/flow_pybind_test.py function test_basics (line 19) | def test_basics(): function test_equality (line 75) | def test_equality(): function test_repr (line 104) | def test_repr(value): function test_obs_flows (line 109) | def test_obs_flows(): function test_obs_include_pauli_terms_sensitivity (line 130) | def test_obs_include_pauli_terms_sensitivity(): function test_flow_canonicalization (line 181) | def test_flow_canonicalization(): function test_flow_multiplication (line 186) | def test_flow_multiplication(): FILE: src/stim/stabilizers/pauli_string.h function namespace (line 26) | namespace stim { FILE: src/stim/stabilizers/pauli_string.perf.cc function BENCHMARK (line 21) | BENCHMARK(PauliString_multiplication_1M) { function BENCHMARK (line 32) | BENCHMARK(PauliString_multiplication_100K) { function BENCHMARK (line 43) | BENCHMARK(PauliString_multiplication_10K) { FILE: src/stim/stabilizers/pauli_string.pybind.cc function flex_pauli_string_to_unitary_matrix (line 27) | pybind11::object flex_pauli_string_to_unitary_matrix(const stim::FlexPau... function FlexPauliString (line 88) | FlexPauliString &flex_pauli_string_obj_imul(FlexPauliString &lhs, const ... function FlexPauliString (line 108) | FlexPauliString flex_pauli_string_obj_mul(const FlexPauliString &lhs, co... function numpy_to_size (line 114) | size_t numpy_to_size(const pybind11::object &numpy_array, size_t expecte... function numpy_pair_to_size (line 152) | size_t numpy_pair_to_size( function FlexPauliString (line 166) | FlexPauliString flex_pauli_string_from_unitary_matrix( function convert_pauli_to_int (line 326) | static uint8_t convert_pauli_to_int(const pybind11::handle &h) { function FlexPauliString (line 355) | static FlexPauliString pauli_string_from_dict(const pybind11::dict &dict) { FILE: src/stim/stabilizers/pauli_string.pybind.h function namespace (line 23) | namespace stim_pybind { FILE: src/stim/stabilizers/pauli_string.test.cc function TEST (line 330) | TEST(PauliString, pauli_xz_to_xyz) { function TEST (line 337) | TEST(PauliString, pauli_xyz_to_xz) { FILE: src/stim/stabilizers/pauli_string_iter.h function namespace (line 24) | namespace stim { function iter_next (line 65) | inline bool iter_next(const std::function &on_iter) { FILE: src/stim/stabilizers/pauli_string_iter.perf.cc function BENCHMARK (line 21) | BENCHMARK(pauli_iter_xz_2_to_5_of_5) { function BENCHMARK (line 39) | BENCHMARK(pauli_iter_xyz_1_of_1000) { FILE: src/stim/stabilizers/pauli_string_iter.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/stabilizers/pauli_string_iter.test.cc function loop_state (line 23) | std::vector loop_state(const NestedLooper &looper) { function loop_drain (line 31) | std::vector> loop_drain(NestedLooper &looper) { function TEST (line 41) | TEST(pauli_string_iter, NestedLooper_simple) { function TEST (line 64) | TEST(pauli_string_iter, NestedLooper_shifted) { function TEST (line 83) | TEST(pauli_string_iter, NestedLooper_append_combination_loops) { function TEST (line 112) | TEST(pauli_string_iter, NestedLooper_inplace_edit) { function record_pauli_string (line 136) | std::vector record_pauli_string(PauliStringIterator iter) { FILE: src/stim/stabilizers/pauli_string_pybind_test.py function test_identity (line 20) | def test_identity(): function test_from_str (line 27) | def test_from_str(): function test_equality (line 73) | def test_equality(): function test_random (line 99) | def test_random(): function test_str (line 111) | def test_str(): function test_repr (line 119) | def test_repr(): function test_to_tableau (line 134) | def test_to_tableau(): function test_commutes (line 151) | def test_commutes(): function test_product (line 169) | def test_product(): function test_inplace_product (line 205) | def test_inplace_product(): function test_imaginary_phase (line 252) | def test_imaginary_phase(): function test_get_set_sign (line 264) | def test_get_set_sign(): function test_get_set_item (line 285) | def test_get_set_item(): function test_get_slice (line 306) | def test_get_slice(): function test_copy (line 320) | def test_copy(): function test_hash (line 332) | def test_hash(): function test_add (line 339) | def test_add(): function test_mul_different_sizes (line 367) | def test_mul_different_sizes(): function test_div (line 382) | def test_div(): function test_mul_repeat (line 404) | def test_mul_repeat(): function test_init_list (line 446) | def test_init_list(): function test_init_copy (line 458) | def test_init_copy(): function test_commutes_different_lengths (line 470) | def test_commutes_different_lengths(): function test_pickle (line 485) | def test_pickle(): function test_to_numpy (line 497) | def test_to_numpy(): function test_from_numpy (line 513) | def test_from_numpy(): function test_from_numpy_bad_bit_packed_len (line 533) | def test_from_numpy_bad_bit_packed_len(): function test_from_numpy_bad_bool_len (line 567) | def test_from_numpy_bad_bool_len(): function test_to_from_numpy_round_trip (line 590) | def test_to_from_numpy_round_trip(n: int): function test_to_unitary_matrix (line 600) | def test_to_unitary_matrix(): function test_from_unitary_matrix (line 674) | def test_from_unitary_matrix(): function test_from_unitary_matrix_detect_bad_matrix (line 769) | def test_from_unitary_matrix_detect_bad_matrix(): function test_fuzz_to_from_unitary_matrix (line 819) | def test_fuzz_to_from_unitary_matrix(n: int, endian: str): function test_before_after (line 830) | def test_before_after(): function test_iter_small (line 841) | def test_iter_small(): function test_iter_reusable (line 876) | def test_iter_reusable(): function test_backwards_compatibility_init (line 884) | def test_backwards_compatibility_init(): function test_pauli_indices (line 904) | def test_pauli_indices(): function test_before_reset (line 933) | def test_before_reset(): function test_constructor_from_dict (line 959) | def test_constructor_from_dict(): function test_constructor_from_dict_errors (line 985) | def test_constructor_from_dict_errors(): FILE: src/stim/stabilizers/pauli_string_ref.h function namespace (line 26) | namespace stim { FILE: src/stim/stabilizers/pauli_string_ref.test.cc function check_pauli_string_do_instruction_agrees_with_tableau_sim (line 27) | void check_pauli_string_do_instruction_agrees_with_tableau_sim(Gate gate... FILE: src/stim/stabilizers/tableau.h function namespace (line 29) | namespace stim { FILE: src/stim/stabilizers/tableau.perf.cc function BENCHMARK (line 21) | BENCHMARK(tableau_random_10) { function BENCHMARK (line 30) | BENCHMARK(tableau_random_100) { function BENCHMARK (line 39) | BENCHMARK(tableau_random_256) { function BENCHMARK (line 48) | BENCHMARK(tableau_random_1000) { function BENCHMARK (line 57) | BENCHMARK(tableau_cnot_10Kqubits) { FILE: src/stim/stabilizers/tableau.pybind.cc function check_tableau_signs_shape (line 31) | void check_tableau_signs_shape(const pybind11::object &numpy_array, size... function check_tableau_shape (line 65) | void check_tableau_shape(const pybind11::object &numpy_array, size_t n, ... function determine_tableau_shape (line 101) | size_t determine_tableau_shape(const pybind11::object &numpy_array, cons... FILE: src/stim/stabilizers/tableau.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/stabilizers/tableau.test.cc function complex_distance (line 29) | static float complex_distance(std::complex a, std::complex... function tableau_agrees_with_unitary (line 54) | bool tableau_agrees_with_unitary( function are_tableau_mutations_equivalent (line 348) | bool are_tableau_mutations_equivalent( function are_tableau_prepends_equivalent (line 386) | bool are_tableau_prepends_equivalent(std::string_view name, const std::f... function are_tableau_prepends_equivalent (line 398) | bool are_tableau_prepends_equivalent( FILE: src/stim/stabilizers/tableau_iter.h function namespace (line 24) | namespace stim { FILE: src/stim/stabilizers/tableau_iter.perf.cc function BENCHMARK (line 21) | BENCHMARK(tableau_iter_unsigned_3q) { function BENCHMARK (line 36) | BENCHMARK(tableau_iter_all_3q) { FILE: src/stim/stabilizers/tableau_iter.pybind.h function namespace (line 22) | namespace stim_pybind { FILE: src/stim/stabilizers/tableau_pybind_test.py function test_init_equality (line 22) | def test_init_equality(): function test_from_named_gate (line 41) | def test_from_named_gate(): function test_from_state_vector_fuzz (line 61) | def test_from_state_vector_fuzz(): function test_identity (line 69) | def test_identity(): function test_pauli_output (line 83) | def test_pauli_output(): function test_random (line 108) | def test_random(): function test_str (line 114) | def test_str(): function test_append (line 123) | def test_append(): function test_prepend (line 144) | def test_prepend(): function test_from_conjugated_generators (line 165) | def test_from_conjugated_generators(): function test_repr (line 314) | def test_repr(): function test_call (line 328) | def test_call(): function test_pow (line 344) | def test_pow(): function test_aliasing (line 354) | def test_aliasing(): function test_composition (line 368) | def test_composition(): function test_copy (line 387) | def test_copy(): function test_hash (line 394) | def test_hash(): function test_add (line 401) | def test_add(): function test_xyz_output_pauli (line 466) | def test_xyz_output_pauli(): function test_inverse_xyz_output_pauli (line 538) | def test_inverse_xyz_output_pauli(): function test_inverse_xyz_output (line 610) | def test_inverse_xyz_output(): function test_inverse (line 649) | def test_inverse(): function test_pickle (line 689) | def test_pickle(): function test_unitary (line 696) | def test_unitary(): function test_to_pauli_string (line 706) | def test_to_pauli_string(): function test_iter_0q (line 716) | def test_iter_0q(): function test_iter_1q (line 721) | def test_iter_1q(): function test_iter_2q (line 728) | def test_iter_2q(): function test_iter_3q (line 735) | def test_iter_3q(): function test_from_unitary_matrix (line 742) | def test_from_unitary_matrix(): function test_to_circuit_vs_from_circuit (line 757) | def test_to_circuit_vs_from_circuit(): function test_to_numpy (line 767) | def test_to_numpy(): function test_from_numpy (line 840) | def test_from_numpy(): function test_to_from_numpy_fuzz (line 887) | def test_to_from_numpy_fuzz(n: int): function test_signs (line 897) | def test_signs(): function test_to_stabilizers (line 942) | def test_to_stabilizers(): function test_to_circuit_graph_state_preserves_stabilizers (line 963) | def test_to_circuit_graph_state_preserves_stabilizers(): function test_to_circuit_mpp_preserves_stabilizers (line 972) | def test_to_circuit_mpp_preserves_stabilizers(): function test_to_circuit_mpp_unsigned_preserves_stabilizers (line 981) | def test_to_circuit_mpp_unsigned_preserves_stabilizers(): function test_from_stabilizers_error_messages (line 994) | def test_from_stabilizers_error_messages(): FILE: src/stim/stabilizers/tableau_transposed_raii.h function namespace (line 28) | namespace stim { FILE: src/stim/util_bot/arg_parse.cc function write_indented (line 35) | void write_indented(std::string_view s, std::ostream &out, size_t indent) { function FILE (line 323) | FILE *stim::find_open_file_argument( function ostream_else_cout (line 359) | ostream_else_cout stim::find_output_stream_argument( function parse_exact_double_from_null_terminated (line 397) | static double parse_exact_double_from_null_terminated(const char *c, siz... function try_parse_exact_uint64_t_from_string (line 422) | static bool try_parse_exact_uint64_t_from_string(std::string_view text, ... FILE: src/stim/util_bot/arg_parse.h type SubCommandHelpFlag (line 29) | struct SubCommandHelpFlag { type SubCommandHelp (line 37) | struct SubCommandHelp { type ostream_else_cout (line 235) | struct ostream_else_cout { FILE: src/stim/util_bot/arg_parse.test.cc function TEST (line 26) | TEST(arg_parse, check_for_unknown_arguments_recognize_arguments) { function TEST (line 37) | TEST(arg_parse, check_for_unknown_arguments_bad_arguments) { function TEST (line 52) | TEST(arg_parse, check_for_unknown_arguments_terminator) { function TEST (line 60) | TEST(arg_parse, find_argument) { function TEST (line 83) | TEST(arg_parse, require_find_argument) { function TEST (line 105) | TEST(arg_parse, find_bool_argument) { function catch_msg_helper (line 128) | std::string catch_msg_helper(std::function func, std::string... function TEST (line 143) | TEST(arg_parse, find_int_argument) { function TEST (line 193) | TEST(arg_parse, find_float_argument) { function TEST (line 228) | TEST(arg_parse, find_enum_argument) { function TEST (line 257) | TEST(arg_parse, find_open_file_argument) { function TEST (line 298) | TEST(arg_parse, split_view) { function TEST (line 308) | TEST(arg_parse, parse_exact_double_from_string) { function TEST (line 329) | TEST(arg_parse, parse_exact_uint64_t_from_string) { function TEST (line 353) | TEST(arg_parse, parse_int64) { FILE: src/stim/util_bot/error_decomp.h function namespace (line 6) | namespace stim { FILE: src/stim/util_bot/error_decomp.perf.cc function BENCHMARK (line 10) | BENCHMARK(disjoint_to_independent_xyz_errors_approx_exact) { function BENCHMARK (line 26) | BENCHMARK(disjoint_to_independent_xyz_errors_approx_p10) { function BENCHMARK (line 42) | BENCHMARK(disjoint_to_independent_xyz_errors_approx_p100) { function BENCHMARK (line 58) | BENCHMARK(independent_to_disjoint_xyz_errors) { FILE: src/stim/util_bot/error_decomp.test.cc function TEST (line 9) | TEST(conversions, independent_to_disjoint_xyz_errors) { function TEST (line 40) | TEST(conversions, disjoint_to_independent_xyz_errors_approx) { function TEST (line 107) | TEST(conversions, fuzz_depolarize1_consistency) { function TEST (line 129) | TEST(conversions, fuzz_depolarize2_consistency) { function TEST (line 140) | TEST(conversions, independent_vs_disjoint_xyz_errors_round_trip_fuzz) { FILE: src/stim/util_bot/probability_util.h function namespace (line 26) | namespace stim { function for_samples (line 56) | static void for_samples(double p, const SpanRef &vals, std::mt1... FILE: src/stim/util_bot/probability_util.perf.cc function BENCHMARK (line 22) | BENCHMARK(biased_random_1024_0point1percent) { function BENCHMARK (line 34) | BENCHMARK(biased_random_1024_0point01percent) { function BENCHMARK (line 46) | BENCHMARK(biased_random_1024_1percent) { function BENCHMARK (line 58) | BENCHMARK(biased_random_1024_40percent) { function BENCHMARK (line 70) | BENCHMARK(biased_random_1024_50percent) { function BENCHMARK (line 82) | BENCHMARK(biased_random_1024_90percent) { function BENCHMARK (line 94) | BENCHMARK(biased_random_1024_99percent) { FILE: src/stim/util_bot/probability_util.test.cc function TEST (line 25) | TEST(probability_util, sample_hit_indices_corner_cases) { function TEST (line 31) | TEST(probability_util, sample_hit_indices) { FILE: src/stim/util_bot/str_util.h function namespace (line 24) | namespace stim { FILE: src/stim/util_bot/str_util.test.cc function TEST (line 23) | TEST(str_util, comma_sep) { FILE: src/stim/util_bot/test_util.test.cc function resolve_test_file (line 13) | std::string resolve_test_file(std::string_view name) { function expect_string_is_identical_to_saved_file (line 37) | void expect_string_is_identical_to_saved_file(std::string_view actual, s... function INDEPENDENT_TEST_RNG (line 64) | std::mt19937_64 INDEPENDENT_TEST_RNG() { function rewind_read_close (line 73) | std::string rewind_read_close(FILE *f) { function init_path (line 86) | static void init_path(RaiiTempNamedFile &self) { FILE: src/stim/util_bot/test_util.test.h type RaiiTempNamedFile (line 31) | struct RaiiTempNamedFile { FILE: src/stim/util_bot/twiddle.h function namespace (line 25) | namespace stim { FILE: src/stim/util_bot/twiddle.test.cc function TEST (line 23) | TEST(twiddle, is_power_of_2) { function TEST (line 36) | TEST(twiddle, floor_lg2) { function TEST (line 48) | TEST(twiddle, first_set_bit) { FILE: src/stim/util_top/circuit_flow_generators.h function namespace (line 9) | namespace stim { FILE: src/stim/util_top/circuit_flow_generators_test.py function test_solve_flow_measurements (line 4) | def test_solve_flow_measurements(): function test_solve_flow_generators_measurements_multi_target (line 29) | def test_solve_flow_generators_measurements_multi_target(): function test_solve_flow_measurements_multi_target (line 82) | def test_solve_flow_measurements_multi_target(): function test_solve_flow_measurements_fewer_measurements_heuristic (line 108) | def test_solve_flow_measurements_fewer_measurements_heuristic(): FILE: src/stim/util_top/circuit_inverse_qec.cc function Circuit (line 327) | Circuit &&CircuitFlowReverser::build_and_move_final_inverted_circuit() { FILE: src/stim/util_top/circuit_inverse_qec.h function namespace (line 8) | namespace stim { FILE: src/stim/util_top/circuit_inverse_qec_test.py function test_inv_circuit (line 5) | def test_inv_circuit(): function test_inv_circuit_surface_code (line 70) | def test_inv_circuit_surface_code(): function test_more_flow_qubits_than_circuit_qubits (line 99) | def test_more_flow_qubits_than_circuit_qubits(): function test_measurement_ordering (line 116) | def test_measurement_ordering(): function test_measurement_ordering_2 (line 129) | def test_measurement_ordering_2(): function test_measurement_ordering_3 (line 142) | def test_measurement_ordering_3(): function test_feedback (line 157) | def test_feedback(): function test_obs_include_paulis (line 168) | def test_obs_include_paulis(): FILE: src/stim/util_top/circuit_inverse_unitary.cc function Circuit (line 5) | Circuit stim::circuit_inverse_unitary(const Circuit &unitary_circuit) { FILE: src/stim/util_top/circuit_inverse_unitary.h function namespace (line 6) | namespace stim { FILE: src/stim/util_top/circuit_inverse_unitary.test.cc function TEST (line 7) | TEST(conversions, circuit_inverse_unitary) { FILE: src/stim/util_top/circuit_to_dem.h function namespace (line 6) | namespace stim { FILE: src/stim/util_top/circuit_to_dem.test.cc function TEST (line 7) | TEST(circuit_to_dem, heralded_noise_basis) { FILE: src/stim/util_top/circuit_to_detecting_regions.h function namespace (line 8) | namespace stim { FILE: src/stim/util_top/circuit_to_detecting_regions.test.cc function TEST (line 7) | TEST(circuit_to_detecting_regions, simple) { FILE: src/stim/util_top/circuit_to_detecting_regions_test.py function test_detecting_regions_fails_on_anticommutations_at_start_of_circuit (line 5) | def test_detecting_regions_fails_on_anticommutations_at_start_of_circuit(): FILE: src/stim/util_top/circuit_vs_amplitudes.cc function biggest_index (line 10) | inline static size_t biggest_index(const std::vector... function compute_occupation (line 23) | inline static size_t compute_occupation(const std::vector targets) { method pick_merge_qubit (line 170) | size_t pick_merge_qubit(std::span targets) { method do_single_qubit_gate (line 184) | void do_single_qubit_gate(GateType g, GateTarget t) { method do_multi_phase_gate (line 206) | void do_multi_phase_gate(GateType g, std::span group) { method do_multi_measure_gate (line 214) | void do_multi_measure_gate(GateType g, std::span gro... method do_controlled_gate (line 242) | void do_controlled_gate(GateType g, GateTarget t1, GateTarget t2) { method do_swap_plus_gate (line 252) | void do_swap_plus_gate(GateType g, GateTarget t1, GateTarget t2) { method do_circuit (line 267) | void do_circuit(const Circuit &circuit) { FILE: src/stim/util_top/export_quirk_url.h function namespace (line 6) | namespace stim { FILE: src/stim/util_top/export_quirk_url.test.cc function TEST (line 9) | TEST(export_quirk, simple) { function TEST (line 91) | TEST(export_quirk, all_operations) { FILE: src/stim/util_top/export_quirk_url_pybind_test.py function test_to_quirk_url_simple (line 4) | def test_to_quirk_url_simple(): function test_to_quirk_url_complex (line 20) | def test_to_quirk_url_complex(): FILE: src/stim/util_top/has_flow.cc function Circuit (line 5) | Circuit stim::flow_test_block_for_circuit( FILE: src/stim/util_top/has_flow.h function namespace (line 26) | namespace stim { FILE: src/stim/util_top/mbqc_decomposition.h function namespace (line 6) | namespace stim { FILE: src/stim/util_top/mbqc_decomposition.test.cc function TEST (line 11) | TEST(mbqc_decomposition, all_gates) { FILE: src/stim/util_top/missing_detectors.cc function Circuit (line 7) | static Circuit missing_detectors_impl(const Circuit &circuit) { function Circuit (line 121) | Circuit stim::missing_detectors(const Circuit &circuit, bool unknown_inp... FILE: src/stim/util_top/missing_detectors.h function namespace (line 22) | namespace stim { FILE: src/stim/util_top/missing_detectors.test.cc function TEST (line 12) | TEST(missing_detectors, circuit) { function TEST (line 160) | TEST(missing_detectors, big_case_honeycomb_code) { function TEST (line 389) | TEST(missing_detectors, toric_code_global_stabilizer_product) { FILE: src/stim/util_top/reference_sample_tree.cc function ReferenceSampleTree (line 135) | ReferenceSampleTree ReferenceSampleTree::simplified() const { function ReferenceSampleTree (line 185) | ReferenceSampleTree ReferenceSampleTree::from_circuit_reference_sample(c... FILE: src/stim/util_top/reference_sample_tree.h function namespace (line 6) | namespace stim { FILE: src/stim/util_top/reference_sample_tree.perf.cc function BENCHMARK (line 9) | BENCHMARK(reference_sample_tree_surface_code_d31_r1000000000) { function BENCHMARK (line 23) | BENCHMARK(reference_sample_tree_nested_circuit) { FILE: src/stim/util_top/reference_sample_tree.test.cc function expect_tree_matches_normal_reference_sample_of (line 9) | void expect_tree_matches_normal_reference_sample_of(const ReferenceSampl... function TEST (line 23) | TEST(ReferenceSampleTree, equality) { function TEST (line 38) | TEST(ReferenceSampleTree, str) { function TEST (line 80) | TEST(ReferenceSampleTree, simplified) { function TEST (line 106) | TEST(ReferenceSampleTree, decompress_into) { function TEST (line 151) | TEST(ReferenceSampleTree, simple_circuit) { function TEST (line 162) | TEST(ReferenceSampleTree, simple_loop) { function TEST (line 175) | TEST(ReferenceSampleTree, period4_loop) { function TEST (line 196) | TEST(ReferenceSampleTree, feedback) { function TEST (line 210) | TEST(max_feedback_lookback_in_loop, simple) { function TEST (line 260) | TEST(ReferenceSampleTree, nested_loops) { function TEST (line 283) | TEST(ReferenceSampleTree, surface_code) { function TEST (line 290) | TEST(ReferenceSampleTree, surface_code_with_pauli) { function TEST (line 298) | TEST(ReferenceSampleTree, surface_code_with_pauli_vs_normal_reference_sa... function TEST (line 307) | TEST(ReferenceSampleTree, random_access_large_tree) { FILE: src/stim/util_top/simplified_circuit.cc type Simplifier (line 10) | struct Simplifier { method Simplifier (line 18) | Simplifier(size_t num_qubits, std::function targets, std::string_view tag) { method simplify_potentially_overlapping_1q_instruction (line 35) | void simplify_potentially_overlapping_1q_instruction(const CircuitInst... method simplify_potentially_overlapping_2q_instruction (line 56) | void simplify_potentially_overlapping_2q_instruction(const CircuitInst... method simplify_disjoint_1q_instruction (line 81) | void simplify_disjoint_1q_instruction(const CircuitInstruction &inst) { method simplify_disjoint_2q_instruction (line 278) | void simplify_disjoint_2q_instruction(const CircuitInstruction &inst) { method simplify_instruction (line 475) | void simplify_instruction(const CircuitInstruction &inst) { function Circuit (line 541) | Circuit stim::simplified_circuit(const Circuit &circuit) { FILE: src/stim/util_top/simplified_circuit.h function namespace (line 6) | namespace stim { FILE: src/stim/util_top/simplified_circuit.test.cc function circuit_output_eq_val (line 11) | static std::pair>, std::vector