Skip to main content

Documentation Status License GitHub Workflow Status PyPI version Python versions


QCircuitHEOM

Authors: Kiyoto Nakamura, Dennis Herb

QCircuitHEOM is a Python package for simulating quantum circuits in non-Markovian environments using free-pole hierarchical equations of motion (FP-HEOM) and tensor-train (TT) compression.

The package is designed for superconducting-qubit simulations and connects circuit-level Qiskit input with microscopic open-system dynamics.

Installation

Install QCircuitHEOM from PyPI with

pip install qcheom

Basic usage

A typical workflow is:

  1. Define a Qiskit quantum circuit.
  2. Specify system, bath, and numerical parameters.
  3. Run the QCircuitHEOM simulation.
from qiskit import QuantumCircuit
from qcheom import calcTimeEvo

qc = QuantumCircuit(1)
qc.h(0)

# expected runtime: 1 min
calcTimeEvo(
   fileName="result",
   qc=qc,
   numQ=1,
   freqQ=[5.0],          # GHz
   rhoIni=[[1,0],[0,0]],
   gateTime=[0.16],      # ns
   idlingTime=0.01,       # ns
   T=30,                 # mK
   T1=32,                # µs
   omegaC=20,
   exp=1/8,
   tol=1e-6,
   dtFB=0.1,             # ps
   depth=[1],
   bondDim=5,
   strideTime=0.01,       # ns
)
  1. Analyze the pulse sequence, reduced density matrix, and fidelity. For multiple qubits, also analyze concurrence and logarithmic negativity.
import os
from qcheom import *

directory = os.getcwd()
fileName = 'result'

# load kwargs from QPY file 
kwargs = getKwargs(directory, fileName)

# load result from CSV file
t_list, rdo_list = getResult(directory, fileName)

# Post-processing
plotQC(**kwargs)
plotPulseSeq(**kwargs)
plotFidelity(t_list, rdo_list, **kwargs)
plotConcurrence(t_list, rdo_list, **kwargs)
plotLogNeg(t_list, rdo_list, **kwargs)
plotRDO(t_list, rdo_list, **kwargs)

Graphical interface

QCircuitHEOM also provides a graphical user interface:

from qcheom import GUI

GUI().mainloop()

Documentation

Documentation Status

The documentation is available on Read the Docs: https://qcircuitheom.readthedocs.io/en/latest/

References

Recent papers from our group:

License

QCircuitHEOM is distributed under the GNU General Public License v3.0 (GPL-3.0). See LICENSE.txt for details.

Support

For questions or support, please contact Dennis Herb at dennis.herb@uni-ulm.de.

Metadata

Release files for qcheom 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qcheom 0.1.1
File Size Uploaded Provenance Actions
qcheom-0.1.1.tar.gz 991.9 kB Without provenance Details for qcheom-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qcheom 0.1.1
File Interpreter ABI Platform Actions
qcheom-0.1.1-py3-none-any.whl Python 3 none any Details for qcheom-0.1.1-py3-none-any.whl

Total release size: 2.0 MB

Release files / qcheom-0.1.1.tar.gz

Download URL qcheom-0.1.1.tar.gz
Size 991.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c49616dfae3a41736c45590245128396f169a1c61da140f8b549b35b5de803f9
BLAKE2b-256 checksum
How to use checksums
41af5fa82699adbdba4fdf5e92c5e3723b6b8e0c096a38872f3922d717fa3291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / qcheom-0.1.1-py3-none-any.whl

Download URL qcheom-0.1.1-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4ec606ee9f24e91a406c335b265a918a80f38a93895100a0acf655c56873ba89
BLAKE2b-256 checksum
How to use checksums
c731b70e86c365511faaafbdff22d4a416bbd1ff2da27a8dd88cb8a26eceb632
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for qcheom 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page