True-Q™ provides methods to calibrate and optimize the performance of quantum devices. This includes diagnostic tools, which generate quantum circuits that measure noise properties of your device, and runtime solutions, which tailor and reduce noise profiles.
The simplest way to install True-Q™ is from the remote URL:
pip install --no-cache-dir "https://app.quantumbenchmark.com/download_trueq"
pip usually caches remote packages. The
--no-cache-dir flag is used to
disable this behavior and force
pip to download the latest version from the remote
URL. When prompted for
password, you can use the username and token
You can skip the username and password prompt by including them inside the
pip install --no-cache-dir "https://username:firstname.lastname@example.org/download_trueq"
password with your username and password. This command is
useful if you wish to automate
pip installation or when you encounter bugs that
prevent you from entering the password during the prompt, such as when using Git Bash on
Windows. You can use this trick for all
pip install commands found below.
To use True-Q™, you must have a 64-bit version of Python 3.7 or above, and you need to meet the following OS-specific requirements:
libstdc++ >= 9.3.0
Catalina (10.15)or newer
Microsoft Visual C++ 2015-2019 Redistributable (x64) >= 14.29.30037(link)
True-Q™ is capable of interfacing with other Python quantum computing packages, such as Cirq, pyQuil, and Qiskit, out of the box. This functionality is optional and becomes available automatically whenever any of these packages are installed on your machine.
You can install True-Q™ along with all supported quantum computing packages via:
pip install --no-cache-dir "trueq[interface] @ https://app.quantumbenchmark.com/download_trueq"
You can update True-Q™ using the following command:
pip install -U --no-cache-dir "https://app.quantumbenchmark.com/download_trueq"
You can install older versions of True-Q™ using the following command, replacing
x.y.z with your desired version:
pip install -U setuptools setuptools_scm wheel pip install --no-cache-dir "https://app.quantumbenchmark.com/download_trueq?version=x.y.z"
Ensure that you’ve uninstalled any existing True-Q™ installations before using this command.
If you wish to cite True-Q™ in your publication, you can visit this page to download a citation in a format of your choice.
You can view True-Q™ documentation and examples online at https://trueq.quantumbenchmark.com. You can also view them locally using the following Python command:
import trueq trueq.docs()
If you want to run True-Q™ tests, you will first need to install it in editable mode,
which requires downloading True-Q™ before calling
pip with the required testing
wget -O trueq.zip https://username:email@example.com/download_trueq unzip trueq.zip -d trueq && rm trueq.zip && cd trueq pip install -e .[interface,tests]
password with your username and password. To run the actual
tests, you can use the following command:
If you require assistance with True-Q™, please email firstname.lastname@example.org and include as much relevant information as possible (e.g., code snippets, error messages, True-Q™ version, Python version, and operating system).