Physical implementation of quantum circuits

Work in progress.