Skip to content

Vutshi/GHZ-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GHZ-bench

This is a simple benchmark created while studying different ways of optimization for x86 and e2k architechtures. It features the main loop of a program evaluating noise properties of a quantum interferometer employing a cascade of GHZ states.

Results for various CPUs are shown here.

Build

Build make

Run ./ghz-bench

Alternatively, one can compile as follows

clang -Ofast -march=native ghz-bench.c -o ghz-bench.

In some cases, it might be beneficial to point out a target architechture explicetly, e.g., -march=icelake-server. It is known that gcc does not generate efficent binary with this code, so clang is recommended on x86.

About

This program was created by Vutshi and a friend.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published