import sys
sys.path.append('../')

import CreativeQiskit

stats = CreativeQiskit.bitstring_superposer(['0000','0101'],shots=1)

print("    Random string from superposition: ",list(stats.keys())[0])

stats = CreativeQiskit.bitstring_superposer(['0000','1111'])
print("    Strings and their fractions:       ",stats)

stats = CreativeQiskit.bitstring_superposer(['0000','1111'],bias=0.8)
print("    Strings and their fractions:       ",stats)

stats = CreativeQiskit.bitstring_superposer(['00','01','10','11'],bias=0.8)
print("    Strings and their fractions:   ",stats)

stats = CreativeQiskit.emoticon_superposer([';)','8)'])

print("    Emoticons and their fractions:       ",stats)

import sys
sys.path.append('../')
import CreativeQiskit


stats = CreativeQiskit.emoticon_superposer([';)','8)'],noisy=True)

stats = CreativeQiskit.emoticon_superposer([ [';)','8)'] , [':D','8|'] ])

print(stats)

CreativeQiskit.image_superposer(['butterfly','moth','heron'],[['moth','heron'],['moth','butterfly']])

import sys
sys.path.append('../')
import CreativeQiskit
CreativeQiskit.audio_superposer(['8bit_Dungeon_Level','Bit_Quest','8bit_Dungeon_Boss','Bit_Shift'],['8bit_Dungeon_Level','Bit_Quest'],noisy=True)

