Skip to main content

cm_plot_state_city()

Project description

MODIFIED "PLOT_STATE_CITY()" FUNCTION Original function (from IBMQ and Qiskit) takes a given quantum circuit's complex-number state output and plots the real and imaginary amplitude values with two 3D bar graphs

Modified, "CM_PLOT_STATE_CITY()" can take a 2-tuple matrix with string values that correspond to colormap palette names

*This code is part of Qiskit. (C) Copyright IBM 2017, 2018. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license in the LICENSE.txt file in the root directory of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. Any modifications or derivative works of this code must retain this copyright notice, and modified files need to carry a notice indicating that they have been altered from the originals.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cm_psc-pkg-allongoldberg-0.0.3.tar.gz (1.3 kB view hashes)

Uploaded Source

Built Distribution

cm_psc_pkg_allongoldberg-0.0.3-py3-none-any.whl (1.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page