CircuitSchema unpack_from_file(const std::string &filename)
Get the CircuitSchema object.
CircuitSchema unpack_from_buffer(const msgpack::sbuffer &buf)
Get the CircuitSchema object.
void print_schema_for_use_in_python(CircuitSchema &cir)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Serialized state of a circuit.
std::unordered_map< uint32_t, std::string > vars_of_interest
std::vector< std::vector< std::vector< bb::fr > > > lookup_tables
MSGPACK_FIELDS(modulus, public_inps, vars_of_interest, variables, selectors, wires, real_variable_index, lookup_tables, real_variable_tags, range_tags, rom_records, rom_states, ram_records, ram_states, circuit_finalized)
std::vector< uint32_t > real_variable_index
std::vector< uint32_t > public_inps
std::vector< bb::fr > variables
std::unordered_map< uint32_t, uint64_t > range_tags
std::vector< std::vector< std::vector< uint32_t > > > ram_records
std::vector< uint32_t > real_variable_tags
std::vector< std::vector< std::vector< bb::fr > > > selectors
std::vector< std::vector< std::vector< uint32_t > > > wires
std::vector< std::vector< std::array< uint32_t, 2 > > > rom_states
std::vector< std::vector< std::vector< uint32_t > > > rom_records
std::vector< std::vector< uint32_t > > ram_states