sf.compilers.compiler_db

compiler_db = {'TD2': <class 'strawberryfields.compilers.tdm.TD2'>, 'TDM': <class 'strawberryfields.compilers.tdm.TDM'>, 'Xcov': <class 'strawberryfields.compilers.xcov.Xcov'>, 'Xstrict': <class 'strawberryfields.compilers.xstrict.Xstrict'>, 'Xunitary': <class 'strawberryfields.compilers.xunitary.Xunitary'>, 'borealis': <class 'strawberryfields.compilers.tdm.Borealis'>, 'bosonic': <class 'strawberryfields.compilers.bosonic.Bosonic'>, 'fock': <class 'strawberryfields.compilers.fock.Fock'>, 'gaussian': <class 'strawberryfields.compilers.gaussian.Gaussian'>, 'gaussian_merge': <class 'strawberryfields.compilers.gaussian_merge.GaussianMerge'>, 'gaussian_unitary': <class 'strawberryfields.compilers.gaussian_unitary.GaussianUnitary'>, 'gbs': <class 'strawberryfields.compilers.gbs.GBS'>, 'passive': <class 'strawberryfields.compilers.passive.Passive'>}

Map from compiler name to the corresponding class.

Type

dict[str, Compiler]