Skip to main content
haiqu.state_compression(): fine_tuning Use the fine_tuning parameter in haiqu.state_compression() to optimize circuit compression for best performance on quantum hardware. For a 10-step Heisenberg evolution circuit, fine-tuning increases compression quality from 73% to 82% (12.3% improvement). Having a bug or an issue? Submit feedback haiqu.state_compression(): fine_tuning What does it do? This parameter optimizes the compressed circuit, improving performance on quantum hardware. How do I use it? Pass fine_tuning as a parameter to haiqu.state_compression() when creating a compression job, then retrieve results with job.result(). What are the options? disabled – no fine-tuning performed. low (default) – boosts performance on quantum hardware. Marginally increases computational demand of state_compression. heavy – achieves the best performance on quantum hardware. Greatly increases computational demand of state_compression. Which option do you recommend? Start with the default low setting. Use heavy when you can afford to wait for state_compression to run in order to achieve maximum performance on quantum hardware. Initialize the benchmark Import the necessary libraries, initialize the Haiqu SDK, and create an adder circuit to demonstrate state compression. The adder circuit adds two integers m and k.
Run benchmark scenarios Run experiments comparing original circuit, compressed circuit, and compressed circuit with mitigation on a noisy device:
Fine-tuning can greatly affect the state compression quality. Summary of results:
💡 Good to Know: By default State Compression automatically sets the approximation level from noise profile data of a targeted hardware. An advanced user is free to set its own approximation_level to change the quality of the result even further. Get in Touch Documentation portal docs.haiqu.ai Contact Support feedback.haiqu.ai Follow Us on LinkedIn latest news on LinkedIn Visit Our Website Learn more about Haiqu Inc. on haiqu.ai Business Inquiries Contact us at info@haiqu.ai