Skip to content

BSM circuit that can be used for quantum teleportation #213

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Luisenden
Copy link
Contributor

Introduces simple quantum circuit to execute a Bell state measurement (locally on a node). For example, in the textbook teleportation protocol Alice applies this circuit to retrieve classical correction results, which she then sends to Bob in order to teleport her state.

CHANGELOG:

  • added BellStateMeasurement circuit to QuantumSavory.CircuitZoo

  • The code is properly formatted and commented.

  • Substantial new functionality is documented within the docs.

  • All new functionality is tested.

  • All of the automated tests on github pass.

  • We recently started enforcing formatting checks. If formatting issues are reported in the new code you have written, please correct them. There will be plenty of old code that is flagged as we are slowly transitioning to enforced formatting. Please do not worry about or address older formatting issues -- keep your PR just focused on your planned contribution.

Copy link
Contributor

github-actions bot commented Apr 15, 2025

Benchmark Result

Judge result

Benchmark Report for /home/runner/work/QuantumSavory.jl/QuantumSavory.jl

Job Properties

  • Time of benchmarks:
  • Target: 15 Apr 2025 - 09:28
  • Baseline: 15 Apr 2025 - 09:30
  • Package commits:
  • Julia commits:
  • Target: 760b2e5
  • Baseline: 760b2e5
  • Julia command flags:
  • Target: None
  • Baseline: None
  • Environment variables:
  • Target: None
  • Baseline: None

Results

A ratio greater than 1.0 denotes a possible regression (marked with ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). Brackets display tolerances for the benchmark estimates. Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

ID time ratio memory ratio
["tagquery", "messagebuffer", "query"] 1.09 (5%) ❌ 1.00 (1%)
["tagquery", "messagebuffer", "querydelete"] 0.87 (5%) ✅ 1.00 (1%)
["tagquery", "register", "queryall"] 0.96 (5%) 0.95 (1%) ✅

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["register", "creation_and_initialization"]
  • ["tagquery", "messagebuffer"]
  • ["tagquery", "misc"]
  • ["tagquery", "register"]

Julia versioninfo

Target

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4335 s 0 s 328 s 4631 s 0 s
 #2 0 MHz 4713 s 0 s 298 s 4280 s 0 s
 #3 0 MHz 4027 s 0 s 288 s 4970 s 0 s
 #4 0 MHz 4509 s 0 s 304 s 4492 s 0 s
 Memory: 15.61526870727539 GB (13494.890625 MB free)
 Uptime: 938.19 sec
 Load Avg: 1.21 2.77 1.91
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Baseline

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4448 s 0 s 344 s 5622 s 0 s
 #2 0 MHz 4991 s 0 s 326 s 5097 s 0 s
 #3 0 MHz 4150 s 0 s 312 s 5944 s 0 s
 #4 0 MHz 5172 s 0 s 325 s 4930 s 0 s
 Memory: 15.61526870727539 GB (13563.15625 MB free)
 Uptime: 1050.51 sec
 Load Avg: 1.18 2.29 1.83
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Target result

Benchmark Report for /home/runner/work/QuantumSavory.jl/QuantumSavory.jl

Job Properties

  • Time of benchmark: 15 Apr 2025 - 09:28
  • Package commit: df5dc75
  • Julia commit: 760b2e5
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["register", "creation_and_initialization", "from_tests"] 204.511 μs (5%) 904.86 KiB (1%) 2530
["tagquery", "messagebuffer", "query"] 337.840 ns (5%) 64 bytes (1%) 2
["tagquery", "messagebuffer", "querydelete"] 661.000 ns (5%) 96 bytes (1%) 3
["tagquery", "misc", "from_tests"] 8.272 μs (5%) 14.34 KiB (1%) 180
["tagquery", "register", "query"] 3.539 s (5%) 2.205 s 536.10 MiB (1%) 5085649
["tagquery", "register", "queryall"] 4.086 s (5%) 2.288 s 1.67 GiB (1%) 4834148

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["register", "creation_and_initialization"]
  • ["tagquery", "messagebuffer"]
  • ["tagquery", "misc"]
  • ["tagquery", "register"]

Julia versioninfo

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4335 s 0 s 328 s 4631 s 0 s
 #2 0 MHz 4713 s 0 s 298 s 4280 s 0 s
 #3 0 MHz 4027 s 0 s 288 s 4970 s 0 s
 #4 0 MHz 4509 s 0 s 304 s 4492 s 0 s
 Memory: 15.61526870727539 GB (13494.890625 MB free)
 Uptime: 938.19 sec
 Load Avg: 1.21 2.77 1.91
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Baseline result

Benchmark Report for /home/runner/work/QuantumSavory.jl/QuantumSavory.jl

Job Properties

  • Time of benchmark: 15 Apr 2025 - 09:30
  • Package commit: 95c0819
  • Julia commit: 760b2e5
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["register", "creation_and_initialization", "from_tests"] 203.840 μs (5%) 904.86 KiB (1%) 2530
["tagquery", "messagebuffer", "query"] 310.393 ns (5%) 64 bytes (1%) 2
["tagquery", "messagebuffer", "querydelete"] 761.000 ns (5%) 96 bytes (1%) 3
["tagquery", "misc", "from_tests"] 7.992 μs (5%) 14.34 KiB (1%) 180
["tagquery", "register", "query"] 3.633 s (5%) 2.291 s 536.10 MiB (1%) 5085649
["tagquery", "register", "queryall"] 4.249 s (5%) 2.418 s 1.75 GiB (1%) 5074148

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["register", "creation_and_initialization"]
  • ["tagquery", "messagebuffer"]
  • ["tagquery", "misc"]
  • ["tagquery", "register"]

Julia versioninfo

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4448 s 0 s 344 s 5622 s 0 s
 #2 0 MHz 4991 s 0 s 326 s 5097 s 0 s
 #3 0 MHz 4150 s 0 s 312 s 5944 s 0 s
 #4 0 MHz 5172 s 0 s 325 s 4930 s 0 s
 Memory: 15.61526870727539 GB (13563.15625 MB free)
 Uptime: 1050.51 sec
 Load Avg: 1.18 2.29 1.83
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Runtime information

Runtime Info
BLAS #threads 2
BLAS.vendor() lbt
Sys.CPU_THREADS 4

lscpu output:

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: AuthenticAMD
Model name: AMD EPYC 7763 64-Core Processor
CPU family: 25
Model: 1
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Stepping: 1
BogoMIPS: 4890.85
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves user_shstk clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm
Virtualization: AMD-V
Hypervisor vendor: Microsoft
Virtualization type: full
L1d cache: 64 KiB (2 instances)
L1i cache: 64 KiB (2 instances)
L2 cache: 1 MiB (2 instances)
L3 cache: 32 MiB (1 instance)
NUMA node(s): 1
NUMA node0 CPU(s): 0-3
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected

Cpu Property Value
Brand AMD EPYC 7763 64-Core Processor
Vendor :AMD
Architecture :Unknown
Model Family: 0xaf, Model: 0x01, Stepping: 0x01, Type: 0x00
Cores 16 physical cores, 16 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (32, 512, 32768) kbytes
64 byte cache line size
Address Size 48 bits virtual, 48 bits physical
SIMD 256 bit = 32 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC runs at constant rate (invariant from clock frequency)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft
Benchmark Result

Judge result

Benchmark Report for /home/runner/work/QuantumSavory.jl/QuantumSavory.jl

Job Properties

  • Time of benchmarks:
  • Target: 15 Apr 2025 - 16:44
  • Baseline: 15 Apr 2025 - 16:46
  • Package commits:
  • Julia commits:
  • Target: 760b2e5
  • Baseline: 760b2e5
  • Julia command flags:
  • Target: None
  • Baseline: None
  • Environment variables:
  • Target: None
  • Baseline: None

Results

A ratio greater than 1.0 denotes a possible regression (marked with ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). Brackets display tolerances for the benchmark estimates. Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

ID time ratio memory ratio
["tagquery", "register", "query"] 0.98 (5%) 1.01 (1%) ❌
["tagquery", "register", "queryall"] 0.82 (5%) ✅ 0.59 (1%) ✅

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["register", "creation_and_initialization"]
  • ["tagquery", "messagebuffer"]
  • ["tagquery", "misc"]
  • ["tagquery", "register"]

Julia versioninfo

Target

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4428 s 0 s 314 s 3132 s 0 s
 #2 0 MHz 4266 s 0 s 301 s 3264 s 0 s
 #3 0 MHz 4479 s 0 s 312 s 3029 s 0 s
 #4 0 MHz 4533 s 0 s 273 s 3028 s 0 s
 Memory: 15.61526870727539 GB (13543.0546875 MB free)
 Uptime: 792.42 sec
 Load Avg: 1.32 2.91 1.95
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Baseline

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4674 s 0 s 336 s 3958 s 0 s
 #2 0 MHz 4693 s 0 s 319 s 3914 s 0 s
 #3 0 MHz 4719 s 0 s 338 s 3858 s 0 s
 #4 0 MHz 4773 s 0 s 293 s 3863 s 0 s
 Memory: 15.61526870727539 GB (13519.96484375 MB free)
 Uptime: 902.13 sec
 Load Avg: 1.12 2.35 1.85
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Target result

Benchmark Report for /home/runner/work/QuantumSavory.jl/QuantumSavory.jl

Job Properties

  • Time of benchmark: 15 Apr 2025 - 16:44
  • Package commit: 3ae6ec0
  • Julia commit: 760b2e5
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["register", "creation_and_initialization", "from_tests"] 203.142 μs (5%) 904.86 KiB (1%) 2530
["tagquery", "messagebuffer", "query"] 344.738 ns (5%) 64 bytes (1%) 2
["tagquery", "messagebuffer", "querydelete"] 701.000 ns (5%) 96 bytes (1%) 3
["tagquery", "misc", "from_tests"] 8.195 μs (5%) 14.34 KiB (1%) 180
["tagquery", "register", "query"] 3.530 s (5%) 2.119 s 531.82 MiB (1%) 5045649
["tagquery", "register", "queryall"] 3.207 s (5%) 2.125 s 882.01 MiB (1%) 2554148

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["register", "creation_and_initialization"]
  • ["tagquery", "messagebuffer"]
  • ["tagquery", "misc"]
  • ["tagquery", "register"]

Julia versioninfo

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4428 s 0 s 314 s 3132 s 0 s
 #2 0 MHz 4266 s 0 s 301 s 3264 s 0 s
 #3 0 MHz 4479 s 0 s 312 s 3029 s 0 s
 #4 0 MHz 4533 s 0 s 273 s 3028 s 0 s
 Memory: 15.61526870727539 GB (13543.0546875 MB free)
 Uptime: 792.42 sec
 Load Avg: 1.32 2.91 1.95
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Baseline result

Benchmark Report for /home/runner/work/QuantumSavory.jl/QuantumSavory.jl

Job Properties

  • Time of benchmark: 15 Apr 2025 - 16:46
  • Package commit: 95c0819
  • Julia commit: 760b2e5
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["register", "creation_and_initialization", "from_tests"] 206.297 μs (5%) 904.86 KiB (1%) 2530
["tagquery", "messagebuffer", "query"] 356.230 ns (5%) 64 bytes (1%) 2
["tagquery", "messagebuffer", "querydelete"] 671.000 ns (5%) 96 bytes (1%) 3
["tagquery", "misc", "from_tests"] 7.898 μs (5%) 14.34 KiB (1%) 180
["tagquery", "register", "query"] 3.594 s (5%) 2.124 s 525.41 MiB (1%) 4985649
["tagquery", "register", "queryall"] 3.909 s (5%) 2.250 s 1.45 GiB (1%) 4234148

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["register", "creation_and_initialization"]
  • ["tagquery", "messagebuffer"]
  • ["tagquery", "misc"]
  • ["tagquery", "register"]

Julia versioninfo

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4674 s 0 s 336 s 3958 s 0 s
 #2 0 MHz 4693 s 0 s 319 s 3914 s 0 s
 #3 0 MHz 4719 s 0 s 338 s 3858 s 0 s
 #4 0 MHz 4773 s 0 s 293 s 3863 s 0 s
 Memory: 15.61526870727539 GB (13519.96484375 MB free)
 Uptime: 902.13 sec
 Load Avg: 1.12 2.35 1.85
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Runtime information

Runtime Info
BLAS #threads 2
BLAS.vendor() lbt
Sys.CPU_THREADS 4

lscpu output:

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: AuthenticAMD
Model name: AMD EPYC 7763 64-Core Processor
CPU family: 25
Model: 1
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Stepping: 1
BogoMIPS: 4890.85
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves user_shstk clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm
Virtualization: AMD-V
Hypervisor vendor: Microsoft
Virtualization type: full
L1d cache: 64 KiB (2 instances)
L1i cache: 64 KiB (2 instances)
L2 cache: 1 MiB (2 instances)
L3 cache: 32 MiB (1 instance)
NUMA node(s): 1
NUMA node0 CPU(s): 0-3
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected

Cpu Property Value
Brand AMD EPYC 7763 64-Core Processor
Vendor :AMD
Architecture :Unknown
Model Family: 0xaf, Model: 0x01, Stepping: 0x01, Type: 0x00
Cores 16 physical cores, 16 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (32, 512, 32768) kbytes
64 byte cache line size
Address Size 48 bits virtual, 48 bits physical
SIMD 256 bit = 32 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC runs at constant rate (invariant from clock frequency)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft
Benchmark Result

Judge result

Benchmark Report for /home/runner/work/QuantumSavory.jl/QuantumSavory.jl

Job Properties

  • Time of benchmarks:
  • Target: 17 Apr 2025 - 16:59
  • Baseline: 17 Apr 2025 - 17:01
  • Package commits:
  • Julia commits:
  • Target: 760b2e5
  • Baseline: 760b2e5
  • Julia command flags:
  • Target: None
  • Baseline: None
  • Environment variables:
  • Target: None
  • Baseline: None

Results

A ratio greater than 1.0 denotes a possible regression (marked with ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). Brackets display tolerances for the benchmark estimates. Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

ID time ratio memory ratio
["tagquery", "messagebuffer", "query"] 1.27 (5%) ❌ 1.00 (1%)
["tagquery", "register", "queryall"] 0.97 (5%) 0.88 (1%) ✅

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["quantumstates", "observable"]
  • ["register", "creation_and_initialization"]
  • ["tagquery", "messagebuffer"]
  • ["tagquery", "misc"]
  • ["tagquery", "register"]

Julia versioninfo

Target

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4500 s 0 s 308 s 3419 s 0 s
 #2 0 MHz 4610 s 0 s 318 s 3235 s 0 s
 #3 0 MHz 4405 s 0 s 306 s 3496 s 0 s
 #4 0 MHz 4244 s 0 s 283 s 3657 s 0 s
 Memory: 15.61526870727539 GB (13577.9453125 MB free)
 Uptime: 828.93 sec
 Load Avg: 1.22 2.79 1.9
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Baseline

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4802 s 0 s 321 s 4222 s 0 s
 #2 0 MHz 5013 s 0 s 334 s 3935 s 0 s
 #3 0 MHz 4537 s 0 s 324 s 4464 s 0 s
 #4 0 MHz 4579 s 0 s 311 s 4413 s 0 s
 Memory: 15.61526870727539 GB (13476.140625 MB free)
 Uptime: 940.94 sec
 Load Avg: 1.08 2.24 1.8
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Target result

Benchmark Report for /home/runner/work/QuantumSavory.jl/QuantumSavory.jl

Job Properties

  • Time of benchmark: 17 Apr 2025 - 16:59
  • Package commit: c3bff73
  • Julia commit: 760b2e5
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["quantumstates", "observable", "quantumoptics"] 711.000 ns (5%) 2.23 KiB (1%) 17
["register", "creation_and_initialization", "from_tests"] 185.236 μs (5%) 904.86 KiB (1%) 2530
["tagquery", "messagebuffer", "query"] 384.409 ns (5%) 64 bytes (1%) 2
["tagquery", "messagebuffer", "querydelete"] 731.000 ns (5%) 96 bytes (1%) 3
["tagquery", "misc", "from_tests"] 8.372 μs (5%) 14.34 KiB (1%) 180
["tagquery", "register", "query"] 3.402 s (5%) 2.029 s 531.82 MiB (1%) 5045649
["tagquery", "register", "queryall"] 3.839 s (5%) 2.209 s 1.46 GiB (1%) 4264148

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["quantumstates", "observable"]
  • ["register", "creation_and_initialization"]
  • ["tagquery", "messagebuffer"]
  • ["tagquery", "misc"]
  • ["tagquery", "register"]

Julia versioninfo

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4500 s 0 s 308 s 3419 s 0 s
 #2 0 MHz 4610 s 0 s 318 s 3235 s 0 s
 #3 0 MHz 4405 s 0 s 306 s 3496 s 0 s
 #4 0 MHz 4244 s 0 s 283 s 3657 s 0 s
 Memory: 15.61526870727539 GB (13577.9453125 MB free)
 Uptime: 828.93 sec
 Load Avg: 1.22 2.79 1.9
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Baseline result

Benchmark Report for /home/runner/work/QuantumSavory.jl/QuantumSavory.jl

Job Properties

  • Time of benchmark: 17 Apr 2025 - 17:01
  • Package commit: e728444
  • Julia commit: 760b2e5
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["quantumstates", "observable", "quantumoptics"] 691.000 ns (5%) 2.23 KiB (1%) 17
["register", "creation_and_initialization", "from_tests"] 192.119 μs (5%) 904.86 KiB (1%) 2530
["tagquery", "messagebuffer", "query"] 302.812 ns (5%) 64 bytes (1%) 2
["tagquery", "messagebuffer", "querydelete"] 751.000 ns (5%) 96 bytes (1%) 3
["tagquery", "misc", "from_tests"] 7.995 μs (5%) 14.34 KiB (1%) 180
["tagquery", "register", "query"] 3.408 s (5%) 2.091 s 536.10 MiB (1%) 5085649
["tagquery", "register", "queryall"] 3.968 s (5%) 2.203 s 1.65 GiB (1%) 4804148

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["quantumstates", "observable"]
  • ["register", "creation_and_initialization"]
  • ["tagquery", "messagebuffer"]
  • ["tagquery", "misc"]
  • ["tagquery", "register"]

Julia versioninfo

Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
 Official https://julialang.org/ release
Platform Info:
 OS: Linux (x86_64-linux-gnu)
 Ubuntu 24.04.2 LTS
 uname: Linux 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025 x86_64 x86_64
 CPU: AMD EPYC 7763 64-Core Processor: 
 speed user nice sys idle irq
 #1 0 MHz 4802 s 0 s 321 s 4222 s 0 s
 #2 0 MHz 5013 s 0 s 334 s 3935 s 0 s
 #3 0 MHz 4537 s 0 s 324 s 4464 s 0 s
 #4 0 MHz 4579 s 0 s 311 s 4413 s 0 s
 Memory: 15.61526870727539 GB (13476.140625 MB free)
 Uptime: 940.94 sec
 Load Avg: 1.08 2.24 1.8
 WORD_SIZE: 64
 LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Runtime information

Runtime Info
BLAS #threads 2
BLAS.vendor() lbt
Sys.CPU_THREADS 4

lscpu output:

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: AuthenticAMD
Model name: AMD EPYC 7763 64-Core Processor
CPU family: 25
Model: 1
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Stepping: 1
BogoMIPS: 4890.84
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves user_shstk clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm
Virtualization: AMD-V
Hypervisor vendor: Microsoft
Virtualization type: full
L1d cache: 64 KiB (2 instances)
L1i cache: 64 KiB (2 instances)
L2 cache: 1 MiB (2 instances)
L3 cache: 32 MiB (1 instance)
NUMA node(s): 1
NUMA node0 CPU(s): 0-3
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected

Cpu Property Value
Brand AMD EPYC 7763 64-Core Processor
Vendor :AMD
Architecture :Unknown
Model Family: 0xaf, Model: 0x01, Stepping: 0x01, Type: 0x00
Cores 16 physical cores, 16 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (32, 512, 32768) kbytes
64 byte cache line size
Address Size 48 bits virtual, 48 bits physical
SIMD 256 bit = 32 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC runs at constant rate (invariant from clock frequency)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant