Ideal Circuit
GHZ circuit (
All frameworks use their default CPU statevector simulator. qudit (mps) offloads to Apple Silicon GPU via Metal.
Loading…
Notes:
qudit (cpu)uses index-aware tensor contraction — constant overhead is higher than dense Kronecker at small, but Hilbert-space scaling is better past . qudit (mps)transfers tensors to Metal GPU — overhead dominates at small, wins when statevector exceeds L3 cache (~ ). numpybuilds the full embedded unitary per gate (dense Kronecker); fast at small, exponential blow-up after . - PennyLane
lightning.qubitis JIT-compiled C++; typically fastest on CPU past 8 qubits among third-party frameworks. braketandqiskitinclude IR serialisation overhead in each run.