Skip to content

toumix/tally

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tally

Tally is a tool for the quantum-enhanced composition of generative art.

See Tally α, the notebook of our first experiment.

Composition as diagram

from tally import H, V, e

composition = V(e, e, e) | e & H(e, e & e)

composition.draw()

composition

composition.to_diagram().draw()

composition

Composition as circuit

from tally import functor, n_params

F = functor(n_params * [0])
F(composition.to_diagram()).draw()

composition