pygsti.report.fogidiagram

Defines the FOGIDiagram class and supporting functionality.

Module Contents

Classes

FOGIDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

FOGIGraphDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

FOGISvgGraphDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

FOGIVisNetworkGraphDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

FOGIDetailTable

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

FOGIMultiscaleGridDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

FOGIStackedBarDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

class pygsti.report.fogidiagram.FOGIDiagram(fogi_store, op_coefficients, model_dim, op_to_target_qubits=None, impact_mode='current')

Bases: object

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

This class encapsulates a way of visualizing a model’s FOGI quantities.

class pygsti.report.fogidiagram.FOGIGraphDiagram(fogi_stores, op_coefficients, model_dim, op_to_target_qubits=None, physics=True, numerical_labels=False, edge_threshold=1e-06, color_mode='separate', node_fontsize=20, edgenode_fontsize=14, edge_fontsize=12, impact_mode='current')

Bases: FOGIDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

This class encapsulates a way of visualizing a model’s FOGI quantities.

render(filename, initial_theta=0, custom_polar_positions=None, custom_polar_ranges=None)
class pygsti.report.fogidiagram.FOGISvgGraphDiagram(fogi_stores, op_coefficients, model_dim, op_to_target_qubits=None, physics=True, numerical_labels=False, edge_threshold=1e-06, color_mode='separate', node_fontsize=20, edgenode_fontsize=14, edge_fontsize=12, impact_mode='current')

Bases: FOGIGraphDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

This class encapsulates a way of visualizing a model’s FOGI quantities.

class pygsti.report.fogidiagram.FOGIVisNetworkGraphDiagram(fogi_stores, op_coefficients, model_dim, op_to_target_qubits=None, physics=True, numerical_labels=False, edge_threshold=1e-06, color_mode='separate', node_fontsize=20, edgenode_fontsize=14, edge_fontsize=12, impact_mode='current')

Bases: FOGIGraphDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

This class encapsulates a way of visualizing a model’s FOGI quantities.

class pygsti.report.fogidiagram.FOGIDetailTable(fogi_stores, op_coefficients, model_dim, op_to_target_qubits=None, mode='individual_terms', impact_mode='current')

Bases: FOGIDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

This class encapsulates a way of visualizing a model’s FOGI quantities.

render(filename)
class pygsti.report.fogidiagram.FOGIMultiscaleGridDiagram(fogi_stores, op_coefficients, model_dim, op_to_target_qubits=None, impact_mode='current')

Bases: FOGIDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

This class encapsulates a way of visualizing a model’s FOGI quantities.

render(detail_level=0, figsize=5, outfile=None, spacing=0.05, nudge=0.125, cell_fontsize=10, axes_fontsize=10, qty_key='bytarget')
class pygsti.report.fogidiagram.FOGIStackedBarDiagram(fogi_stores, op_coefficients, model_dim, op_to_target_qubits=None, impact_mode='current')

Bases: FOGIDiagram

A diagram of the first-order-gauge-invariant (FOGI) quantities of a model.

This class encapsulates a way of visualizing a model’s FOGI quantities.

render_svg(outfile=None, cell_fontsize=10, axes_fontsize=10, qty_key='bytarget')