pygsti.circuits.circuitparser.slowcircuitparser

Native python implementation of a text parser for reading GST input files.

Module Contents

Functions

_to_int_or_strip(x)

parse_circuit(code, create_subcircuits=True, integerize_sslbls=True)

parse_label(code, integerize_sslbls=True)

_get_next_lbls(s, start, end, create_subcircuits, integerize_sslbls, segment, interlayer_marker)

_get_next_simple_lbl(s, start, end, integerize_sslbls, segment)

_parse_exponent(s, i, end)

pygsti.circuits.circuitparser.slowcircuitparser._to_int_or_strip(x)
pygsti.circuits.circuitparser.slowcircuitparser.parse_circuit(code, create_subcircuits=True, integerize_sslbls=True)
pygsti.circuits.circuitparser.slowcircuitparser.parse_label(code, integerize_sslbls=True)
pygsti.circuits.circuitparser.slowcircuitparser._get_next_lbls(s, start, end, create_subcircuits, integerize_sslbls, segment, interlayer_marker)
pygsti.circuits.circuitparser.slowcircuitparser._get_next_simple_lbl(s, start, end, integerize_sslbls, segment)
pygsti.circuits.circuitparser.slowcircuitparser._parse_exponent(s, i, end)