M = 8, K = 4, Q = 4ΒΆ

M=8_K=4_Q=4_minh=4_ineq=0.txt is available here.

# minimum Hamming distance = 4
# activation inequality = 0
# active indices
a = [[0, 1, 2, 3], [0, 1, 4, 5], [2, 3, 6, 7], [4, 5, 6, 7]]
# activation tensor
A = [[[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]], [[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1], [0, 0, 0, 0], [0, 0, 0, 0]], [[0, 0, 0, 0], [0, 0, 0, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]], [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]]
# vector representation
[[1, 1, 1, 1, 0, 0, 0, 0],
 [1, 1, 0, 0, 1, 1, 0, 0],
 [0, 0, 1, 1, 0, 0, 1, 1],
 [0, 0, 0, 0, 1, 1, 1, 1]]