Skip to content

sinanspd/scalaQ-psi-collapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The test circuits are coded in the same file as the simulation code. Make sure you comment out all the tests you don't want to run, otherwise they will contribute results to the same pool. 

You can build your circuits with the following gates 

```
 X, H, CX, Swap, RZ, RX, CRX 
```

If you need partial measurement/early measurement, you need to build a FakeSampler (see the Simon circuit example). 

Run with

```
sbt run
```

The sampled outcome will be printed to STDOUT. You will also see RejectedExecutionException on STDOUT. This is normal. Once a result is sampled the pool is shutdown. `Chymyst`'s shutdown is immediate, not graceful. Thus any lingering computations are not cleaned up when the pool is shutdown and result in this exception. This doesn't impact our results. 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published