Expand description
Ticit is a pure-Rust implementation of SymFT with CPU and an experimental CUDA backend utilizing cutile-rs, plus a stim-like procedural TableauSimulator for Clifford + T circuits.
Parse a .ticit circuit, compile
a Sampler, then reuse it across any number of sampling calls. DISCARD
declarations and SamplerOptions::postselection_mask are combined during
compilation.
Re-exports§
pub use crate::tableau_simulator::BatchOutcome;pub use crate::tableau_simulator::Gate1Q;pub use crate::tableau_simulator::Instruction;pub use crate::tableau_simulator::MeasureResult;pub use crate::tableau_simulator::SimError;pub use crate::tableau_simulator::TableauSimulator;
Modules§
- tableau_
simulator - Stabilizer-frame Clifford and Pauli-rotation simulator.
Structs§
- Circuit
- A parsed, fully flattened
.ticitcircuit. - Measurement
Parity - A parity the noiseless circuit must produce over a set of measurement records.
- Pauli
String - A Pauli operator on
nqubitsqubits, with a two-bit phase exponent ofi. - Reference
Sample - Full noiseless detector and observable parity vectors for a circuit.
- Sample
Counts - Aggregate outcomes from a batch sampling call.
- Sample
Result - Row-major shot records, aggregate counts, and timing from one
Samplercall. - Sampler
- A circuit compiled and buffered for repeated batch sampling.
- Sampler
Info - Read-only metadata for a prepared
Sampler. - Sampler
Options - Configuration used when compiling a reusable
Sampler. - Sampling
Timing - Wall and phase timings reported by preparation and sampling.
Enums§
- Pauli
- A single-qubit Pauli operator.
- Pauli
Basis - A Pauli basis — the non-identity Paulis, as an axis to rotate onto or measure along.
- Ticit
Error - Failures exposed by the library.
Functions§
- neg
- Multiplies by -1.
- pauli_
identity - Constructs identity on
nqubitsqubits. - pauli_
string - Parses a dense Pauli string such as
"IXYZ";'_'is an alias for'I'and lowercase is accepted. String position is the qubit index. - pauli_x
- Constructs
Xon qubitqand identity elsewhere. - pauli_y
- Constructs
Yon qubitqand identity elsewhere. - pauli_z
- Constructs
Zon qubitqand identity elsewhere.
Type Aliases§
- Result
- Result type used by ticit’s parsing, preparation, and CPU sampling APIs.