Message Boards Message Boards

SubcircuitLevel option doesn't work anymore

I use this option very frequently and suddenly it does not work. I badly need this option in order to have nice Diagram. The command what Murzin suggested to me

FilterRules[
 Options[Wolfram`QuantumFramework`PackageScope`CircuitDraw], 
 Except[Join[Options[Graphics], Options[Style], Options[Rectangle]]]]

shows this option on my PC but I get the following message if I apply it Here is the message

OptionValue::nodef: Unknown option SubcircuitLevel for Wolfram`QuantumFramework`PackageScope`CircuitDraw.

Please help me

POSTED BY: Andras Kruppa
2 Replies

Sorry the command

FilterRules[ Options[WolframQuantumFrameworkPackageScope`CircuitDraw], Except[Join[Options[Graphics], Options[Style], Options[Rectangle]]]]

does not show the option SubcircuitLevel

What option should I use instead of SubcircuitLevel

POSTED BY: Andras Kruppa

Use "Expand", the "SubcircuitLevel" was a bit confusing, and now you can also specify diagram options for each individual sub-circuit. Check some examples here: https://resources.wolframcloud.com/PacletRepository/resources/Wolfram/QuantumFramework/tutorial/CircuitDiagram.html

POSTED BY: Nikolay Murzin
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract