-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix type instabilities in compactified methods #265
Conversation
…in the uncompactified method) ``` function x_diag_circuit_noisy_measurement(csize) circuit = [] for i in 1:csize push!(circuit, PauliError(i, 0.1)) push!(circuit, sHadamard(i)) push!(circuit, sCNOT(i, csize+1)) push!(circuit, sMZ(csize+1,i)) push!(circuit, ClassicalXOR((1,(i%6+6)),i)) end return circuit end @benchmark pftrajectories(state,circuit) setup=(state=PauliFrame(1000, 1001, 1001); circuit=compactify_circuit(x_diag_circuit_noisy_measurement(1000))) evals=1 Before: BenchmarkTools.Trial: 10 samples with 1 evaluation. Range (min … max): 2.885 ms … 2.962 ms ┊ GC (min … max): 0.00% … 0.00% Time (median): 2.900 ms ┊ GC (median): 0.00% Time (mean ± σ): 2.912 ms ± 30.387 μs ┊ GC (mean ± σ): 0.00% ± 0.00% █▁ ▁ ▁ ▁ ▁ ▁ ▁ ▁ ██▁█▁▁▁█▁▁▁▁▁▁█▁▁▁▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█▁▁▁▁▁▁▁▁▁▁█▁▁█ ▁ 2.89 ms Histogram: frequency by time 2.96 ms < Memory estimate: 187.50 KiB, allocs estimate: 4000. After: BenchmarkTools.Trial: 749 samples with 1 evaluation. Range (min … max): 2.929 ms … 3.097 ms ┊ GC (min … max): 0.00% … 0.00% Time (median): 2.948 ms ┊ GC (median): 0.00% Time (mean ± σ): 2.951 ms ± 16.854 μs ┊ GC (mean ± σ): 0.00% ± 0.00% ▃█▆▂ ▂▂▃▄▅▆█████▅▅▄▄▃▃▄▃▃▃▂▂▁▁▁▂▁▂▂▁▁▁▁▁▁▁▁▁▁▁▂▁▁▁▁▁▁▁▁▁▁▁▁▂▁▂▂ ▃ 2.93 ms Histogram: frequency by time 3.06 ms < Memory estimate: 0 bytes, allocs estimate: 0. ```
Benchmark ResultJudge resultBenchmark Report for /home/runner/work/QuantumClifford.jl/QuantumClifford.jlJob Properties
ResultsA ratio greater than
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfoTarget
Baseline
Target resultBenchmark Report for /home/runner/work/QuantumClifford.jl/QuantumClifford.jlJob Properties
ResultsBelow is a table of this job's results, obtained by running the benchmarks.
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfo
Baseline resultBenchmark Report for /home/runner/work/QuantumClifford.jl/QuantumClifford.jlJob Properties
ResultsBelow is a table of this job's results, obtained by running the benchmarks.
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfo
Runtime information
Architecture: x86_64
|
If you want to submit an unfinished piece of work in order to get comments and discuss, please mark the pull request as a draft and ping the repository maintainer
Before considering your pull request ready for review and merging make sure that all of the below are completed: