Skip to content

PauliSum printing should properly display small floating points #5

Description

@david-pl

Currently, this

let mut state: PauliSum<config::indexmap::ByteFxHashF64<4>> =
    PauliSum::builder().n_qubits(1).build();

state += ("X", 1e-4);

println!("{}", state);

prints as

0.000 * X

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: bytecodeArea: bytecode design, compilation, and execution.area: circuitArea: quantum circuit related issues.area: stellarscopeArea: Stellarscope VM related issues.category: bugCategory: this is a bug or something isn't working as expected.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions