#!/usr/bin/env python import sys from the_semantic_db_code import * from the_semantic_db_functions import * from the_semantic_db_processor import * C = context_list("discrimination play") a = ket("a",3) b = superposition() c = superposition() + ket("c",9) d = ket("d",3) + ket("e",9) + ket("f",5) print("a:",a) print("disc:",discrimination(a)) print() print("b:",b) print("disc:",discrimination(b)) print() print("c:",c) print("disc:",discrimination(c)) print() print("d:",d) print("disc:",discrimination(d))